Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 102.8 kB / 15.98 MB, free: 5.91 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.00207/0.00207, allocations: 188.7 kB / 16.9 MB, free: 5.758 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.821/1.821, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.2278/0.2278, allocations: 43.52 MB / 313.6 MB, free: 0.6953 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.001441/0.001441, allocations: 73 kB / 382.2 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1185, allocations: 57.79 MB / 440 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003722/0.1222, allocations: 1.742 MB / 441.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1238, allocations: 0.7967 MB / 442.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.1239, allocations: 0 / 442.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.1243, allocations: 35.83 kB / 442.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1246, allocations: 43.83 kB / 442.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1249, allocations: 79.84 kB / 442.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1251, allocations: 87.7 kB / 442.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1252, allocations: 16.52 kB / 442.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.587e-05/0.1253, allocations: 43.77 kB / 442.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.1254, allocations: 31.86 kB / 442.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1255, allocations: 4 kB / 442.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1256, allocations: 35.98 kB / 442.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.1257, allocations: 27.84 kB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.1258, allocations: 27.81 kB / 443 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.126, allocations: 111.6 kB / 443.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.126, allocations: 0 / 443.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.126, allocations: 0 / 443.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.126, allocations: 4 kB / 443.1 MB, free: 4.234 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005443/0.1266, allocations: 395 kB / 443.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1266, allocations: 11.89 kB / 443.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.1267, allocations: 8.844 kB / 443.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1269, allocations: 216.6 kB / 443.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1269, allocations: 3.938 kB / 443.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.127, allocations: 4 kB / 443.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1272, allocations: 53.67 kB / 443.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1272, allocations: 4 kB / 443.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1272, allocations: 0 / 443.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1272, allocations: 0 / 443.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.731e-05/0.1273, allocations: 19.98 kB / 443.8 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.1277, allocations: 284.9 kB / 444.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.1279, allocations: 70.55 kB / 444.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.128, allocations: 16.86 kB / 444.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.128, allocations: 0 / 444.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.1283, allocations: 71.38 kB / 444.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1283, allocations: 0 / 444.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006471/0.129, allocations: 165.4 kB / 444.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.129, allocations: 63.34 kB / 444.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1292, allocations: 159.2 kB / 444.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1292, allocations: 29.7 kB / 444.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.1292, allocations: 100.1 kB / 444.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1293, allocations: 27.64 kB / 444.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.1293, allocations: 21.66 kB / 444.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.1294, allocations: 322.8 kB / 445.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.1295, allocations: 27.92 kB / 445.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.1296, allocations: 37.7 kB / 445.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1297, allocations: 53.72 kB / 445.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1297, allocations: 4 kB / 445.2 MB, free: 1.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.1299, allocations: 101.5 kB / 445.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.13, allocations: 4 kB / 445.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.13, allocations: 0 / 445.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.13, allocations: 7.938 kB / 445.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1301, allocations: 16.03 kB / 445.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1301, allocations: 3.938 kB / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.1302, allocations: 11.98 kB / 445.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.1302, allocations: 0 / 445.4 MB, free: 1.727 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 (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.737e-05/0.1303, allocations: 121.8 kB / 445.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.1304, allocations: 11.81 kB / 445.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.1304, allocations: 20.64 kB / 445.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1304, allocations: 4 kB / 445.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1304, allocations: 4 kB / 445.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1305, allocations: 0 / 445.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.1309, allocations: 391.3 kB / 445.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1309, allocations: 0 / 445.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.1309, allocations: 8 kB / 445.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1309, allocations: 0 / 445.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.131, allocations: 7.984 kB / 445.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.131, allocations: 3.938 kB / 445.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.131, allocations: 4.031 kB / 445.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.1312, allocations: 204.4 kB / 446.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.1313, allocations: 85.02 kB / 446.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1313, allocations: 0 / 446.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.1314, allocations: 4 kB / 446.2 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.1315, allocations: 7.984 kB / 446.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1315, allocations: 8 kB / 446.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.836e-05/0.1316, allocations: 127.9 kB / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1316, allocations: 0 / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.132, allocations: 27.98 kB / 446.4 MB, free: 0.5938 MB / 318.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.001408/0.1334, allocations: 479.3 kB / 446.8 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.1336, allocations: 59.86 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1336, allocations: 0 / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.1337, allocations: 35.92 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.1342, allocations: 31.84 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.1348, allocations: 231 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.1352, allocations: 0.6924 MB / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.345e-05/0.1353, allocations: 21.17 kB / 447.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.1353, allocations: 19.44 kB / 447.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1353, allocations: 0 / 447.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Templates: time 0.00588/0.1412, allocations: 1.662 MB / 449.6 MB, free: 13.42 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches