Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 98.47 kB / 18.01 MB, free: 5.734 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.001342/0.001342, allocations: 176.9 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.395/1.395, allocations: 223.3 MB / 243 MB, free: 196 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.2013/0.2013, allocations: 44.25 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 15.98 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1201, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.001975/0.1221, allocations: 1.375 MB / 474.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1235, allocations: 0.8265 MB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.1236, allocations: 0 / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.1239, allocations: 55.86 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.1241, allocations: 55.69 kB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1244, allocations: 94.7 kB / 475.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.1246, allocations: 87.7 kB / 475.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.1246, allocations: 4 kB / 475.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.051e-05/0.1247, allocations: 43.83 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.1248, allocations: 39.73 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1248, allocations: 0 / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.1249, allocations: 23.98 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.125, allocations: 27.91 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.1251, allocations: 61.44 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.1252, allocations: 88.03 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1252, allocations: 4 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1253, allocations: 0 / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1253, allocations: 0 / 475.7 MB, free: 10.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005027/0.1258, allocations: 418.9 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1258, allocations: 8.031 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.1259, allocations: 12.84 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1261, allocations: 215.9 kB / 476.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1261, allocations: 384 / 476.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.1261, allocations: 8.125 kB / 476.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1263, allocations: 45.67 kB / 476.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.1263, allocations: 0 / 476.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1263, allocations: 0 / 476.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1263, allocations: 4 kB / 476.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.328e-05/0.1264, allocations: 19.88 kB / 476.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.1266, allocations: 197.7 kB / 476.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1268, allocations: 50.61 kB / 476.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.1268, allocations: 20.8 kB / 476.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1269, allocations: 4 kB / 476.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.127, allocations: 67.3 kB / 476.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.127, allocations: 4 kB / 476.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002618/0.1273, allocations: 101.5 kB / 476.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.1274, allocations: 55.41 kB / 476.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1276, allocations: 262.9 kB / 477.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1276, allocations: 25.7 kB / 477.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.1277, allocations: 112.1 kB / 477.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1277, allocations: 15.81 kB / 477.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1278, allocations: 13.72 kB / 477.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1279, allocations: 326.8 kB / 477.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.1279, allocations: 15.98 kB / 477.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.096e-05/0.128, allocations: 21.72 kB / 477.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.405e-05/0.1281, allocations: 53.64 kB / 477.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1281, allocations: 3.938 kB / 477.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001587/0.1283, allocations: 89.36 kB / 477.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1283, allocations: 8 kB / 477.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1283, allocations: 0 / 477.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1283, allocations: 0 / 477.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.1284, allocations: 8 kB / 477.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1284, allocations: 4 kB / 477.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.1285, allocations: 7.938 kB / 477.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.1285, allocations: 8.031 kB / 477.9 MB, free: 8.117 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 (7): * Single equations (assignments): 7 * 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.0001093/0.1286, allocations: 137.8 kB / 478 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1286, allocations: 15.8 kB / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.1287, allocations: 17 kB / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1287, allocations: 0 / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1287, allocations: 0 / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1287, allocations: 0 / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1289, allocations: 197.6 kB / 478.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1289, allocations: 4 kB / 478.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.1289, allocations: 7.938 kB / 478.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1289, allocations: 7.938 kB / 478.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1289, allocations: 3.984 kB / 478.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1289, allocations: 0 / 478.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1289, allocations: 0 / 478.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.1291, allocations: 117.2 kB / 478.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.1292, allocations: 81.02 kB / 478.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1292, allocations: 8.062 kB / 478.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.1293, allocations: 8 kB / 478.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.1293, allocations: 7.984 kB / 478.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1293, allocations: 0 / 478.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.1295, allocations: 196.2 kB / 478.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1295, allocations: 0 / 478.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.1297, allocations: 23.98 kB / 478.7 MB, free: 7.203 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009049/0.1306, allocations: 414.7 kB / 479.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.1308, allocations: 39.98 kB / 479.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1308, allocations: 4 kB / 479.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.1309, allocations: 12.12 kB / 479.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1312, allocations: 40.03 kB / 479.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.1316, allocations: 311.4 kB / 479.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1319, allocations: 0.716 MB / 480.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.132, allocations: 15.42 kB / 480.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.132, allocations: 0 / 480.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of Templates: time 0.003796/0.1358, allocations: 1.816 MB / 482 MB, free: 3.953 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches