Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001297, allocations: 182.5 kB / 16.08 MB, free: 5.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008549/0.0008548, allocations: 80.47 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3465/0.3465, allocations: 43.67 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 15.98 kB / 432.3 MB, free: 5.004 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 58.84 MB / 491.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002209/0.1244, allocations: 1.402 MB / 492.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1258, allocations: 0.8253 MB / 493.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.1259, allocations: 3.938 kB / 493.4 MB, free: 7.762 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1262, allocations: 31.89 kB / 493.4 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.1264, allocations: 43.83 kB / 493.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1267, allocations: 83.83 kB / 493.6 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1269, allocations: 91.7 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.127, allocations: 12.22 kB / 493.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.1271, allocations: 43.77 kB / 493.7 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/0.1272, allocations: 31.8 kB / 493.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1272, allocations: 0 / 493.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.435e-05/0.1273, allocations: 28 kB / 493.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.1274, allocations: 23.91 kB / 493.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.1274, allocations: 57.44 kB / 493.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1276, allocations: 111.9 kB / 493.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1277, allocations: 4 kB / 493.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1277, allocations: 0 / 493.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1277, allocations: 0 / 493.9 MB, free: 7.203 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.0005528/0.1282, allocations: 406.3 kB / 494.3 MB, free: 6.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1283, allocations: 8.031 kB / 494.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.1283, allocations: 8.844 kB / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.1286, allocations: 212 kB / 494.6 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.1286, allocations: 384 / 494.6 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1287, allocations: 12.12 kB / 494.6 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1289, allocations: 53.67 kB / 494.6 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1289, allocations: 0 / 494.6 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1289, allocations: 0 / 494.6 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1289, allocations: 3.938 kB / 494.6 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.338e-05/0.129, allocations: 23.92 kB / 494.7 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.1294, allocations: 284.9 kB / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1296, allocations: 62.67 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/0.1296, allocations: 16.86 kB / 495 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.1297, allocations: 11.92 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.1299, allocations: 71.3 kB / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1299, allocations: 0 / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006118/0.1305, allocations: 169.3 kB / 495.3 MB, free: 5.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1306, allocations: 51.41 kB / 495.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1308, allocations: 187.7 kB / 495.5 MB, free: 5.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1308, allocations: 33.7 kB / 495.5 MB, free: 5.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.1309, allocations: 104.1 kB / 495.6 MB, free: 5.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.1309, allocations: 19.72 kB / 495.6 MB, free: 5.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.1309, allocations: 3.938 kB / 495.7 MB, free: 5.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1311, allocations: 326.8 kB / 496 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.1311, allocations: 23.98 kB / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.1312, allocations: 37.7 kB / 496 MB, free: 4.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1313, allocations: 65.7 kB / 496.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1314, allocations: 0 / 496.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002033/0.1316, allocations: 97.52 kB / 496.2 MB, free: 4.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1316, allocations: 8 kB / 496.2 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1316, allocations: 4.031 kB / 496.2 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.1316, allocations: 0 / 496.2 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.4e-05/0.1317, allocations: 15.98 kB / 496.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1317, allocations: 4 kB / 496.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.1318, allocations: 3.938 kB / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1318, allocations: 8 kB / 496.2 MB, free: 4.684 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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.162e-05/0.1319, allocations: 121.8 kB / 496.4 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.1319, allocations: 11.91 kB / 496.4 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.132, allocations: 16.72 kB / 496.4 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.132, allocations: 0 / 496.4 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.132, allocations: 0 / 496.4 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.132, allocations: 3.938 kB / 496.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1325, allocations: 399.2 kB / 496.8 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.1325, allocations: 0 / 496.8 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.1325, allocations: 15.88 kB / 496.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1325, allocations: 0 / 496.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1326, allocations: 3.938 kB / 496.8 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1326, allocations: 8.031 kB / 496.8 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1326, allocations: 0 / 496.8 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.1328, allocations: 196.3 kB / 497 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.1329, allocations: 96.91 kB / 497.1 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1329, allocations: 3.938 kB / 497.1 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.133, allocations: 4 kB / 497.1 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.133, allocations: 7.984 kB / 497.1 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1331, allocations: 8.312 kB / 497.1 MB, free: 3.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1332, allocations: 145.9 kB / 497.3 MB, free: 3.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1332, allocations: 4 kB / 497.3 MB, free: 3.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.1334, allocations: 20 kB / 497.3 MB, free: 3.539 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.001052/0.1345, allocations: 0.5312 MB / 497.8 MB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1347, allocations: 63.84 kB / 497.9 MB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1347, allocations: 0 / 497.9 MB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.1348, allocations: 31.97 kB / 497.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1351, allocations: 23.98 kB / 497.9 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.1356, allocations: 246.7 kB / 498.2 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1359, allocations: 0.7043 MB / 498.9 MB, free: 2.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.229e-05/0.136, allocations: 21.17 kB / 498.9 MB, free: 1.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.136, allocations: 15.44 kB / 498.9 MB, free: 1.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.136, allocations: 0 / 498.9 MB, free: 1.98 MB / 378.7 MB Notification: Performance of Templates: time 0.004331/0.1404, allocations: 1.623 MB / 0.4888 GB, free: 364 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches