Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.001446/0.001446, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 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.001986/0.001986, allocations: 208.1 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.305/0.305, allocations: 44.27 MB / 331.1 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 63.91 kB / 468.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.125, allocations: 61.05 MB / 0.5174 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003743/0.1287, allocations: 1.75 MB / 0.5191 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1306, allocations: 0.8547 MB / 0.52 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1307, allocations: 4 kB / 0.52 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.1314, allocations: 307.3 kB / 0.5203 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.1319, allocations: 215.4 kB / 0.5205 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.1324, allocations: 139.7 kB / 0.5206 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.1328, allocations: 247.2 kB / 0.5208 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.288e-05/0.1329, allocations: 13.72 kB / 0.5209 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.1332, allocations: 127.6 kB / 0.521 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.1335, allocations: 211.4 kB / 0.5212 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.1336, allocations: 12 kB / 0.5212 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.1337, allocations: 44 kB / 0.5212 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.1339, allocations: 147.5 kB / 0.5214 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.134, allocations: 107.1 kB / 0.5215 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.1345, allocations: 374.2 kB / 0.5218 GB, free: 2.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1345, allocations: 0 / 0.5218 GB, free: 2.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1345, allocations: 0 / 0.5218 GB, free: 2.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1345, allocations: 0 / 0.5218 GB, free: 2.066 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001186/0.1357, allocations: 0.6708 MB / 0.5225 GB, free: 1.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1358, allocations: 8.031 kB / 0.5225 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1359, allocations: 60.55 kB / 0.5226 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000797/0.1367, allocations: 382.6 kB / 0.5229 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1367, allocations: 8.359 kB / 0.5229 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1367, allocations: 4.125 kB / 0.5229 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.137, allocations: 91.3 kB / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.137, allocations: 0 / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.137, allocations: 0 / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.137, allocations: 0 / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1371, allocations: 39.91 kB / 0.5231 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.1376, allocations: 306 kB / 0.5233 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.138, allocations: 109.2 kB / 0.5235 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1381, allocations: 41.69 kB / 0.5235 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1381, allocations: 0 / 0.5235 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.1383, allocations: 120.9 kB / 0.5236 GB, free: 108 kB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1383, allocations: 0 / 0.5236 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005904/0.1389, allocations: 205.4 kB / 0.5238 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.139, allocations: 81.11 kB / 0.5239 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.1403, allocations: 1.046 MB / 0.5249 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1403, allocations: 33.69 kB / 0.5249 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.1405, allocations: 228.1 kB / 0.5251 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.1406, allocations: 27.84 kB / 0.5252 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.1406, allocations: 21.72 kB / 0.5252 GB, free: 14.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.1409, allocations: 374.8 kB / 0.5256 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.141, allocations: 27.98 kB / 0.5256 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1411, allocations: 55.92 kB / 0.5256 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.1413, allocations: 103.3 kB / 0.5257 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1413, allocations: 0 / 0.5257 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003559/0.1416, allocations: 181 kB / 0.5259 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1416, allocations: 4 kB / 0.5259 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1416, allocations: 0 / 0.5259 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1417, allocations: 4 kB / 0.5259 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1418, allocations: 27.98 kB / 0.5259 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1418, allocations: 7.984 kB / 0.5259 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1419, allocations: 7.938 kB / 0.526 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.1419, allocations: 7.984 kB / 0.526 GB, free: 13.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002546/0.1422, allocations: 229.6 kB / 0.5262 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.1423, allocations: 55.55 kB / 0.5262 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.1427, allocations: 213.6 kB / 0.5264 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1427, allocations: 0 / 0.5264 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1427, allocations: 0 / 0.5264 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1427, allocations: 8.188 kB / 0.5264 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.143, allocations: 269.1 kB / 0.5267 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.143, allocations: 4 kB / 0.5267 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.1431, allocations: 15.92 kB / 0.5267 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1431, allocations: 0 / 0.5267 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1431, allocations: 8 kB / 0.5267 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1431, allocations: 0 / 0.5267 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1431, allocations: 0 / 0.5267 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.1435, allocations: 217.5 kB / 0.5269 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.1437, allocations: 63.59 kB / 0.527 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.1437, allocations: 12 kB / 0.527 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.1438, allocations: 7.984 kB / 0.527 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.1439, allocations: 11.98 kB / 0.527 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.1439, allocations: 4 kB / 0.527 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009297/0.1448, allocations: 0.776 MB / 0.5278 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1448, allocations: 0 / 0.5278 GB, free: 11.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1451, allocations: 44 kB / 0.5278 GB, free: 11.62 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001761/0.1469, allocations: 437.4 kB / 0.5282 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.1472, allocations: 91.89 kB / 0.5283 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1472, allocations: 0 / 0.5283 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1473, allocations: 43.91 kB / 0.5284 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.1478, allocations: 74.02 kB / 0.5284 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.1494, allocations: 0.9223 MB / 0.5293 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1497, allocations: 245.7 kB / 0.5296 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/0.1498, allocations: 31.38 kB / 0.5296 GB, free: 9.773 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1498, allocations: 0 / 0.5296 GB, free: 9.773 MB / 414.1 MB Notification: Performance of Templates: time 0.01047/0.1602, allocations: 5.248 MB / 0.5347 GB, free: 4.523 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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: 8.543982640840113]