Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001702, allocations: 97.56 kB / 15.98 MB, free: 6.34 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.001814/0.001815, allocations: 194.6 kB / 16.91 MB, free: 6.188 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.751/1.751, allocations: 205.1 MB / 222.8 MB, free: 12.45 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.2108/0.2108, allocations: 43.51 MB / 313.6 MB, free: 0.7109 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.001404/0.001405, allocations: 67.16 kB / 382.2 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1176, allocations: 57.78 MB / 440 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003122/0.1208, allocations: 1.906 MB / 441.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.122, allocations: 0.882 MB / 442.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.1222, allocations: 3.938 kB / 442.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.1226, allocations: 211.5 kB / 443 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.1229, allocations: 151.5 kB / 443.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.1232, allocations: 143.3 kB / 443.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1234, allocations: 223.4 kB / 443.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1236, allocations: 17.84 kB / 443.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1237, allocations: 119.5 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1238, allocations: 151.5 kB / 443.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1239, allocations: 8 kB / 443.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.195e-05/0.124, allocations: 47.98 kB / 443.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.124, allocations: 59.81 kB / 443.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.1241, allocations: 87.3 kB / 444 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.1243, allocations: 207.2 kB / 444.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1243, allocations: 0 / 444.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1243, allocations: 0 / 444.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1243, allocations: 0 / 444.2 MB, free: 3.137 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005687/0.1249, allocations: 0.537 MB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.125, allocations: 11.89 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.125, allocations: 32.59 kB / 444.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1253, allocations: 280 kB / 445.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1253, allocations: 12.31 kB / 445.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.1253, allocations: 12.11 kB / 445.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.1255, allocations: 95.36 kB / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1256, allocations: 0 / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1256, allocations: 0 / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1256, allocations: 3.938 kB / 445.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1257, allocations: 43.97 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.1261, allocations: 445 kB / 445.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1263, allocations: 121.3 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/0.1264, allocations: 37.7 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1265, allocations: 8 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.1267, allocations: 116.9 kB / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1267, allocations: 0 / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007579/0.1275, allocations: 360.5 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1275, allocations: 85.05 kB / 446.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1278, allocations: 428.5 kB / 446.8 MB, free: 328 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1279, allocations: 29.7 kB / 446.8 MB, free: 292 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.1279, allocations: 156.3 kB / 447 MB, free: 132 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.128, allocations: 59.28 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.128, allocations: 33.7 kB / 447.1 MB, free: 32 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1282, allocations: 342.9 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.774e-05/0.1283, allocations: 47.86 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1284, allocations: 68.92 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.1286, allocations: 127.3 kB / 447.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1286, allocations: 0 / 447.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002941/0.1289, allocations: 185.3 kB / 447.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1289, allocations: 4 kB / 447.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.1289, allocations: 4 kB / 447.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.129, allocations: 0 / 447.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1291, allocations: 36.05 kB / 447.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1291, allocations: 8 kB / 447.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.337e-05/0.1292, allocations: 8 kB / 447.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1292, allocations: 4 kB / 447.9 MB, free: 15.17 MB / 334.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001755/0.1294, allocations: 173.7 kB / 448 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.1295, allocations: 27.62 kB / 448.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/0.1296, allocations: 38.61 kB / 448.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1296, allocations: 0 / 448.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.1296, allocations: 11.94 kB / 448.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1296, allocations: 0 / 448.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000727/0.1303, allocations: 0.6241 MB / 448.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1303, allocations: 0 / 448.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.1304, allocations: 16 kB / 448.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1304, allocations: 0 / 448.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.1304, allocations: 23.97 kB / 448.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1304, allocations: 4 kB / 448.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1305, allocations: 0 / 448.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.1309, allocations: 364 kB / 449.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.131, allocations: 96.83 kB / 449.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.131, allocations: 12 kB / 449.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.1311, allocations: 3.984 kB / 449.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.1312, allocations: 19.92 kB / 449.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.1313, allocations: 8 kB / 449.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003067/0.1316, allocations: 319 kB / 449.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1316, allocations: 0 / 449.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.1319, allocations: 40 kB / 449.6 MB, free: 13.3 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001413/0.1334, allocations: 479.1 kB / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.1337, allocations: 123.8 kB / 450.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.1338, allocations: 4.125 kB / 450.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1339, allocations: 55.92 kB / 450.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.1346, allocations: 63.62 kB / 450.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.1356, allocations: 0.5532 MB / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.1361, allocations: 0.7593 MB / 451.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.1362, allocations: 33.94 kB / 451.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.1363, allocations: 31.42 kB / 451.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1363, allocations: 0 / 451.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of Templates: time 0.007378/0.1436, allocations: 2.682 MB / 454.4 MB, free: 8.566 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches