Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001363, allocations: 107.3 kB / 16.64 MB, free: 6.812 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.001361/0.001361, allocations: 190 kB / 17.56 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2334/0.2334, allocations: 43.52 MB / 314.3 MB, free: 0.6992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 68.17 kB / 382.9 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1165, allocations: 57.79 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003459/0.12, allocations: 1.75 MB / 442.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1215, allocations: 0.7929 MB / 443.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.1217, allocations: 0 / 443.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.1221, allocations: 103.7 kB / 443.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.1225, allocations: 71.78 kB / 443.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.1229, allocations: 83.34 kB / 443.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1231, allocations: 123.6 kB / 443.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1232, allocations: 8.516 kB / 443.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1233, allocations: 55.77 kB / 443.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1235, allocations: 63.81 kB / 443.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.1235, allocations: 4 kB / 443.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1236, allocations: 55.91 kB / 443.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.1237, allocations: 27.91 kB / 443.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.1237, allocations: 43.69 kB / 443.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.1239, allocations: 103.7 kB / 443.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.124, allocations: 0 / 443.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.124, allocations: 0 / 443.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.124, allocations: 0 / 443.9 MB, free: 4.055 MB / 318.1 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.0005124/0.1245, allocations: 438.7 kB / 444.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1245, allocations: 11.89 kB / 444.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.1246, allocations: 12.84 kB / 444.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1248, allocations: 227.9 kB / 444.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1248, allocations: 4.375 kB / 444.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1249, allocations: 8.125 kB / 444.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.125, allocations: 57.67 kB / 444.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.125, allocations: 0 / 444.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1251, allocations: 0 / 444.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1251, allocations: 4 kB / 444.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.1252, allocations: 31.91 kB / 444.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.1255, allocations: 312.7 kB / 445 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1257, allocations: 70.61 kB / 445.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.1258, allocations: 24.84 kB / 445.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1258, allocations: 0 / 445.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.126, allocations: 79.39 kB / 445.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.126, allocations: 0 / 445.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000552/0.1266, allocations: 213 kB / 445.4 MB, free: 2.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.1266, allocations: 55.41 kB / 445.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.1268, allocations: 246.3 kB / 445.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1268, allocations: 25.7 kB / 445.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.1268, allocations: 112.1 kB / 445.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.1269, allocations: 35.55 kB / 445.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1269, allocations: 25.72 kB / 445.9 MB, free: 1.883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.127, allocations: 330.8 kB / 446.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.03e-05/0.1271, allocations: 20 kB / 446.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.1271, allocations: 45.78 kB / 446.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1272, allocations: 77.59 kB / 446.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1272, allocations: 4 kB / 446.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001753/0.1274, allocations: 117.4 kB / 446.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1274, allocations: 4 kB / 446.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1275, allocations: 0 / 446.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1275, allocations: 3.984 kB / 446.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.1276, allocations: 19.98 kB / 446.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1276, allocations: 0 / 446.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1276, allocations: 11.94 kB / 446.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1276, allocations: 4 kB / 446.5 MB, free: 1.23 MB / 318.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 (11): * Single equations (assignments): 11 * 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 8.001e-05/0.1277, allocations: 145.7 kB / 446.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.1278, allocations: 15.81 kB / 446.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.1278, allocations: 25.33 kB / 446.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1278, allocations: 0 / 446.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1278, allocations: 0 / 446.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1278, allocations: 3.938 kB / 446.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.1282, allocations: 423.3 kB / 447.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.1282, allocations: 4.031 kB / 447.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.1283, allocations: 8 kB / 447.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1283, allocations: 0 / 447.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1283, allocations: 7.938 kB / 447.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1283, allocations: 0 / 447.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1283, allocations: 0 / 447.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1285, allocations: 224.2 kB / 447.4 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.1285, allocations: 89.02 kB / 447.4 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1286, allocations: 7.938 kB / 447.5 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.1286, allocations: 0 / 447.5 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.1287, allocations: 11.98 kB / 447.5 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1287, allocations: 4 kB / 447.5 MB, free: 180 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1288, allocations: 188.3 kB / 447.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1288, allocations: 0 / 447.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1291, allocations: 27.94 kB / 447.7 MB, free: 15.96 MB / 334.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 (9): * Single equations (assignments): 7 * 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.00111/0.1302, allocations: 468 kB / 448.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1304, allocations: 79.89 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1305, allocations: 0 / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.1306, allocations: 39.98 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1309, allocations: 23.98 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.1316, allocations: 353.3 kB / 448.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.132, allocations: 0.7121 MB / 449.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.132, allocations: 19.44 kB / 449.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.132, allocations: 3.938 kB / 449.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Templates: time 0.004364/0.1364, allocations: 2.127 MB / 451.5 MB, free: 12.18 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches