Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009982/0.0009983, allocations: 100.5 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4239/0.4239, allocations: 43.48 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 55.92 kB / 429.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1317, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003596/0.1353, allocations: 1.767 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1368, allocations: 0.7923 MB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.137, allocations: 4 kB / 489.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.1373, allocations: 23.92 kB / 489.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1376, allocations: 47.81 kB / 489.6 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.1379, allocations: 75.86 kB / 489.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.1381, allocations: 103.6 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1382, allocations: 20.2 kB / 489.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.672e-05/0.1383, allocations: 35.8 kB / 489.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.1384, allocations: 27.86 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1384, allocations: 4 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1386, allocations: 43.97 kB / 489.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.1386, allocations: 11.92 kB / 490 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.1387, allocations: 43.67 kB / 490 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1389, allocations: 99.98 kB / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1389, allocations: 0 / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1389, allocations: 0 / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1389, allocations: 0 / 490.1 MB, free: 9.43 MB / 378.7 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.0005622/0.1395, allocations: 411 kB / 490.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1396, allocations: 12.03 kB / 490.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.1396, allocations: 12.75 kB / 490.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1399, allocations: 208.6 kB / 490.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1399, allocations: 384 / 490.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1399, allocations: 16.03 kB / 490.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1401, allocations: 53.61 kB / 490.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1401, allocations: 0 / 490.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1401, allocations: 4 kB / 490.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1401, allocations: 0 / 490.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.1402, allocations: 23.98 kB / 490.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.1406, allocations: 280.9 kB / 491.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1407, allocations: 58.61 kB / 491.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.1408, allocations: 16.86 kB / 491.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1408, allocations: 7.984 kB / 491.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.1411, allocations: 67.39 kB / 491.2 MB, free: 8.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.1411, allocations: 0 / 491.2 MB, free: 8.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005416/0.1416, allocations: 169.2 kB / 491.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1417, allocations: 55.39 kB / 491.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1418, allocations: 170.2 kB / 491.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1419, allocations: 29.64 kB / 491.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.1419, allocations: 100.1 kB / 491.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.142, allocations: 31.62 kB / 491.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.142, allocations: 25.66 kB / 491.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1421, allocations: 326.8 kB / 492.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.1422, allocations: 19.98 kB / 492.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.1423, allocations: 41.64 kB / 492.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1424, allocations: 61.7 kB / 492.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1424, allocations: 0 / 492.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001774/0.1426, allocations: 97.53 kB / 492.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1426, allocations: 4 kB / 492.4 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1426, allocations: 0 / 492.4 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1426, allocations: 384 / 492.4 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.1427, allocations: 19.98 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1427, allocations: 160 / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.074e-05/0.1428, allocations: 11.94 kB / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1428, allocations: 12.02 kB / 492.4 MB, free: 6.891 MB / 378.7 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 0.0001051/0.1429, allocations: 125.8 kB / 492.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.1429, allocations: 11.81 kB / 492.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.143, allocations: 12.72 kB / 492.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.143, allocations: 4 kB / 492.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.143, allocations: 0 / 492.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.143, allocations: 7.922 kB / 492.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.1434, allocations: 395.3 kB / 492.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1435, allocations: 0 / 492.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.1435, allocations: 8 kB / 492.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1435, allocations: 0 / 492.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1435, allocations: 7.938 kB / 493 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1435, allocations: 0 / 493 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1435, allocations: 0 / 493 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.1441, allocations: 0.7871 MB / 493.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.1441, allocations: 81.02 kB / 493.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1441, allocations: 7.984 kB / 493.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.1442, allocations: 4 kB / 493.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1443, allocations: 4 kB / 493.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1443, allocations: 7.984 kB / 493.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1444, allocations: 136.2 kB / 494 MB, free: 5.164 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.403e-06/0.1444, allocations: 0 / 494 MB, free: 5.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003502/0.1448, allocations: 27.88 kB / 494 MB, free: 5.137 MB / 378.7 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.0009888/0.1458, allocations: 464.7 kB / 494.5 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.1459, allocations: 59.92 kB / 494.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.146, allocations: 0 / 494.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.146, allocations: 31.92 kB / 494.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.1464, allocations: 27.92 kB / 494.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/0.1469, allocations: 363.6 kB / 494.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1472, allocations: 0.7043 MB / 495.6 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.754e-05/0.1473, allocations: 21.19 kB / 495.7 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.1473, allocations: 23.42 kB / 495.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1473, allocations: 0 / 495.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of Templates: time 0.004154/0.1515, allocations: 1.654 MB / 497.3 MB, free: 1.789 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches