Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007985/0.0007985, allocations: 93.61 kB / 18.01 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008064/0.0008064, allocations: 180.8 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 242.9 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 44.25 MB / 338.3 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 8 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002234/0.1212, allocations: 1.417 MB / 474.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1233, allocations: 1.44 MB / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.1234, allocations: 0 / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1237, allocations: 27.91 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1239, allocations: 47.83 kB / 475.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1241, allocations: 95.77 kB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1243, allocations: 91.7 kB / 476 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.1244, allocations: 12.22 kB / 476 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.1245, allocations: 39.78 kB / 476.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1246, allocations: 39.78 kB / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1247, allocations: 0 / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1248, allocations: 55.97 kB / 476.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.1249, allocations: 15.94 kB / 476.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.1249, allocations: 61.48 kB / 476.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1251, allocations: 84.08 kB / 476.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1251, allocations: 8 kB / 476.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1251, allocations: 4 kB / 476.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1252, allocations: 0 / 476.4 MB, free: 9.898 MB / 350.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.00053/0.1257, allocations: 383.2 kB / 476.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1257, allocations: 12.03 kB / 476.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.1258, allocations: 12.75 kB / 476.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.126, allocations: 202.4 kB / 476.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.126, allocations: 384 / 476.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1261, allocations: 8.125 kB / 477 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1262, allocations: 79.33 kB / 477 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1262, allocations: 0 / 477 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1263, allocations: 0 / 477 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1263, allocations: 0 / 477 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.463e-05/0.1264, allocations: 27.91 kB / 477.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1267, allocations: 280.8 kB / 477.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.1269, allocations: 58.67 kB / 477.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.127, allocations: 24.84 kB / 477.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.127, allocations: 4 kB / 477.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.1272, allocations: 63.33 kB / 477.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1272, allocations: 0 / 477.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005208/0.1277, allocations: 181.5 kB / 477.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.1278, allocations: 81.09 kB / 477.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.128, allocations: 145.8 kB / 477.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.128, allocations: 33.7 kB / 477.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.128, allocations: 92.12 kB / 478 MB, free: 8.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1281, allocations: 23.66 kB / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.1281, allocations: 17.7 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1282, allocations: 326.8 kB / 478.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/0.1283, allocations: 19.98 kB / 478.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.1284, allocations: 42.56 kB / 478.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.1285, allocations: 61.64 kB / 478.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1285, allocations: 0 / 478.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.1287, allocations: 97.58 kB / 478.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1287, allocations: 7.938 kB / 478.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1287, allocations: 8.125 kB / 478.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1288, allocations: 7.984 kB / 478.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.1289, allocations: 12 kB / 478.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1289, allocations: 0 / 478.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.1289, allocations: 15.88 kB / 478.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1289, allocations: 0 / 478.6 MB, free: 7.367 MB / 350.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 9.558e-05/0.129, allocations: 124.5 kB / 478.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.1291, allocations: 7.906 kB / 478.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.1291, allocations: 16.72 kB / 478.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1291, allocations: 0 / 478.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1291, allocations: 4 kB / 478.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1291, allocations: 8.109 kB / 478.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.1296, allocations: 387.4 kB / 479.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1296, allocations: 3.938 kB / 479.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.1297, allocations: 11.94 kB / 479.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1297, allocations: 0 / 479.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1297, allocations: 11.95 kB / 479.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1297, allocations: 4 kB / 479.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1297, allocations: 80 / 479.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1299, allocations: 204.3 kB / 479.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.13, allocations: 85.02 kB / 479.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.13, allocations: 11.92 kB / 479.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.1301, allocations: 4 kB / 479.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1302, allocations: 4 kB / 479.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1302, allocations: 11.98 kB / 479.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.346e-05/0.1303, allocations: 121.8 kB / 479.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.1303, allocations: 0 / 479.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1305, allocations: 35.92 kB / 479.7 MB, free: 6.227 MB / 350.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.001143/0.1317, allocations: 499.6 kB / 480.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.1319, allocations: 63.91 kB / 480.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1319, allocations: 4.062 kB / 480.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.132, allocations: 31.97 kB / 480.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1323, allocations: 19.98 kB / 480.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.1327, allocations: 248 kB / 480.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1331, allocations: 0.6965 MB / 481.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.1332, allocations: 19.42 kB / 481.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1332, allocations: 0 / 481.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of Templates: time 0.003834/0.137, allocations: 2.04 MB / 483.3 MB, free: 2.766 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches