Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 111.7 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 205 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.3 MB / 255.2 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2208/0.2208, allocations: 46.92 MB / 358.2 MB, free: 10.4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 84.14 kB / 0.4926 GB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1213, allocations: 66.01 MB / 0.5571 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003081/0.1244, allocations: 1.732 MB / 0.5587 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1261, allocations: 1.038 MB / 0.5598 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.1262, allocations: 3.938 kB / 0.5598 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1264, allocations: 39.77 kB / 0.5598 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.1268, allocations: 95.61 kB / 0.5599 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.127, allocations: 83.66 kB / 0.56 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1272, allocations: 99.69 kB / 0.5601 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1273, allocations: 11.98 kB / 0.5601 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1274, allocations: 55.72 kB / 0.5601 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.409e-05/0.1275, allocations: 23.86 kB / 0.5602 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1275, allocations: 4 kB / 0.5602 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1276, allocations: 47.97 kB / 0.5602 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.1276, allocations: 19.92 kB / 0.5602 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.1277, allocations: 31.75 kB / 0.5603 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1279, allocations: 131.4 kB / 0.5604 GB, free: 1.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1279, allocations: 3.938 kB / 0.5604 GB, free: 1.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.128, allocations: 3.984 kB / 0.5604 GB, free: 1.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.128, allocations: 0 / 0.5604 GB, free: 1.953 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006295/0.1286, allocations: 418.7 kB / 0.5608 GB, free: 1.496 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1286, allocations: 8.031 kB / 0.5608 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.1287, allocations: 12.88 kB / 0.5608 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.129, allocations: 212.8 kB / 0.561 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.129, allocations: 12.38 kB / 0.561 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.1291, allocations: 384 / 0.561 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1293, allocations: 57.98 kB / 0.5611 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1293, allocations: 3.938 kB / 0.5611 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1293, allocations: 0 / 0.5611 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1293, allocations: 4 kB / 0.5611 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.1294, allocations: 15.98 kB / 0.5611 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.1298, allocations: 288.8 kB / 0.5614 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.13, allocations: 66.55 kB / 0.5614 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.1301, allocations: 16.86 kB / 0.5615 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1301, allocations: 0 / 0.5615 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.1302, allocations: 67.39 kB / 0.5615 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1302, allocations: 0 / 0.5615 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005923/0.1308, allocations: 181.3 kB / 0.5617 GB, free: 456 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.1309, allocations: 51.41 kB / 0.5617 GB, free: 392 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1311, allocations: 194.4 kB / 0.5619 GB, free: 188 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1311, allocations: 25.7 kB / 0.562 GB, free: 156 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.1312, allocations: 104.1 kB / 0.5621 GB, free: 48 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.1312, allocations: 27.78 kB / 0.5621 GB, free: 20 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.1313, allocations: 17.72 kB / 0.5621 GB, free: 16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1314, allocations: 334.8 kB / 0.5624 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-05/0.1315, allocations: 19.98 kB / 0.5624 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.1316, allocations: 37.64 kB / 0.5625 GB, free: 15.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1317, allocations: 61.78 kB / 0.5625 GB, free: 15.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1317, allocations: 0 / 0.5625 GB, free: 15.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002074/0.1319, allocations: 109.5 kB / 0.5626 GB, free: 15.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1319, allocations: 12.03 kB / 0.5626 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1319, allocations: 0 / 0.5626 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.132, allocations: 3.984 kB / 0.5626 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.1321, allocations: 16.55 kB / 0.5627 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1321, allocations: 4 kB / 0.5627 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.1321, allocations: 3.938 kB / 0.5627 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1321, allocations: 8 kB / 0.5627 GB, free: 15.37 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001244/0.1322, allocations: 129.8 kB / 0.5628 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.1323, allocations: 15.84 kB / 0.5628 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.1323, allocations: 21.41 kB / 0.5628 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1323, allocations: 0 / 0.5628 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1323, allocations: 0 / 0.5628 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1323, allocations: 0 / 0.5628 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.1328, allocations: 395.3 kB / 0.5632 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1328, allocations: 0 / 0.5632 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.1329, allocations: 8 kB / 0.5632 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1329, allocations: 0 / 0.5632 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1329, allocations: 11.97 kB / 0.5632 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1329, allocations: 7.922 kB / 0.5632 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1329, allocations: 0 / 0.5632 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.1332, allocations: 200.3 kB / 0.5634 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.1333, allocations: 89.02 kB / 0.5635 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.1333, allocations: 4 kB / 0.5635 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1334, allocations: 11.88 kB / 0.5635 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.1334, allocations: 11.98 kB / 0.5635 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1334, allocations: 4 kB / 0.5635 GB, free: 14.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.1336, allocations: 148.2 kB / 0.5637 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1336, allocations: 0 / 0.5637 GB, free: 14.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1339, allocations: 23.94 kB / 0.5637 GB, free: 14.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001737/0.1356, allocations: 461.9 kB / 0.5642 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.1358, allocations: 63.84 kB / 0.5642 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1358, allocations: 0 / 0.5642 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.059e-05/0.1359, allocations: 23.98 kB / 0.5642 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.1363, allocations: 26.42 kB / 0.5643 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.137, allocations: 276.4 kB / 0.5645 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.1374, allocations: 0.7002 MB / 0.5652 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.1375, allocations: 23.42 kB / 0.5652 GB, free: 12.75 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1375, allocations: 0 / 0.5652 GB, free: 12.75 MB / 430.1 MB Notification: Performance of Templates: time 0.004448/0.1419, allocations: 1.956 MB / 0.5671 GB, free: 10.79 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.662280880002072]