Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 171.3 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9556/0.9556, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2204/0.2204, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.351e-05, allocations: 9.062 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.005342/0.005356, allocations: 1.693 MB / 378.2 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.00614, allocations: 0.5413 MB / 378.7 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.00619, allocations: 4 kB / 378.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.006679, allocations: 447.1 kB / 379.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.007054, allocations: 295.2 kB / 379.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.007288, allocations: 131.5 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003201/0.01049, allocations: 163.7 kB / 379.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.949e-05/0.01057, allocations: 11.94 kB / 379.8 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.0107, allocations: 127.8 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.01092, allocations: 239.6 kB / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.01093, allocations: 3.984 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-05/0.01101, allocations: 39.92 kB / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-05/0.01109, allocations: 75.72 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.01112, allocations: 39.69 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.01134, allocations: 199.2 kB / 380.5 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.01134, allocations: 0 / 380.5 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01134, allocations: 0 / 380.5 MB, free: 416 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.01134, allocations: 0 / 380.5 MB, free: 416 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005565/0.0119, allocations: 0.697 MB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.01193, allocations: 12.03 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.01198, allocations: 44.66 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.01216, allocations: 244.9 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.01217, allocations: 4.359 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.01219, allocations: 8.375 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.62e-05/0.01227, allocations: 58.88 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.01228, allocations: 192 / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.01229, allocations: 4.125 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.0123, allocations: 4 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.01232, allocations: 11.98 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.01262, allocations: 332.2 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.01274, allocations: 58.91 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.01276, allocations: 11.69 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.01278, allocations: 7.938 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.0128, allocations: 33.39 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.0128, allocations: 0 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002712/0.01307, allocations: 117.4 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.01309, allocations: 55.39 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/0.01648, allocations: 0.604 MB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.01649, allocations: 25.7 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.01662, allocations: 298.7 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.01664, allocations: 19.83 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.01667, allocations: 23.36 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.01681, allocations: 0.5547 MB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.01682, allocations: 7.984 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.01683, allocations: 4 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.01686, allocations: 27.81 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01686, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.621e-05/0.01694, allocations: 97.34 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.01695, allocations: 4 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.01695, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.01696, allocations: 4 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.794e-05/0.017, allocations: 11.98 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.017, allocations: 4 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.01702, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.01703, allocations: 4 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.0171, allocations: 160.5 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.01713, allocations: 51.61 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.01725, allocations: 89.23 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01725, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01725, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.01725, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.0175, allocations: 385.8 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.0175, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.01753, allocations: 15.98 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01753, allocations: 4 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.01754, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.01754, allocations: 3.938 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.01754, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.01764, allocations: 251.7 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.01766, allocations: 31.72 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.01767, allocations: 4.281 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.676e-05/0.01771, allocations: 7.984 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.01773, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.01773, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.01792, allocations: 390.7 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01792, allocations: 0 / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.01808, allocations: 23.94 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007079/0.01879, allocations: 389.7 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.134e-05/0.01885, allocations: 31.66 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01885, allocations: 0 / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.01887, allocations: 19.62 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.01908, allocations: 29.89 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.01959, allocations: 0.569 MB / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.495e-05/0.01965, allocations: 115.3 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.519e-05/0.01968, allocations: 7.984 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.01973, allocations: 82.2 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.01973, allocations: 0 / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.003308/0.02303, allocations: 1.494 MB / 388 MB, free: 8.734 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8710977686569095]