Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009224/0.0009225, allocations: 177.7 kB / 16.08 MB, free: 5.539 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.36/1.36, allocations: 205.6 MB / 222.4 MB, free: 13.65 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.0007123/0.0007123, allocations: 86.3 kB / 270.8 MB, free: 13.18 MB / 234.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.1859/0.1859, allocations: 43.68 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 58.87 MB / 491.2 MB, free: 8.102 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001986/0.1203, allocations: 1.39 MB / 492.6 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1217, allocations: 0.8253 MB / 493.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.1218, allocations: 7.938 kB / 493.4 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.1221, allocations: 31.89 kB / 493.4 MB, free: 5.805 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1224, allocations: 43.83 kB / 493.5 MB, free: 5.762 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1226, allocations: 75.86 kB / 493.6 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1228, allocations: 91.69 kB / 493.6 MB, free: 5.598 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1229, allocations: 16.22 kB / 493.7 MB, free: 5.582 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.123, allocations: 39.73 kB / 493.7 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.1231, allocations: 23.86 kB / 493.7 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1231, allocations: 4 kB / 493.7 MB, free: 5.516 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.1232, allocations: 39.97 kB / 493.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.1233, allocations: 15.92 kB / 493.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.1234, allocations: 57.45 kB / 493.8 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1235, allocations: 111.9 kB / 493.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1236, allocations: 0 / 493.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1236, allocations: 0 / 493.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1236, allocations: 0 / 493.9 MB, free: 5.289 MB / 330.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.0005113/0.1241, allocations: 395.1 kB / 494.3 MB, free: 4.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1242, allocations: 12.03 kB / 494.3 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1242, allocations: 8.844 kB / 494.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.1244, allocations: 208.1 kB / 494.6 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1245, allocations: 12.31 kB / 494.6 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1245, allocations: 8.125 kB / 494.6 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1247, allocations: 53.67 kB / 494.6 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1247, allocations: 0 / 494.6 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1247, allocations: 0 / 494.6 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1247, allocations: 3.984 kB / 494.6 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.1248, allocations: 19.94 kB / 494.7 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.1252, allocations: 288.8 kB / 494.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1254, allocations: 58.69 kB / 495 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.1255, allocations: 20.84 kB / 495 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1255, allocations: 3.938 kB / 495 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.1257, allocations: 67.39 kB / 495.1 MB, free: 3.988 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.255e-06/0.1257, allocations: 4 kB / 495.1 MB, free: 3.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005625/0.1263, allocations: 165.2 kB / 495.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1264, allocations: 55.41 kB / 495.3 MB, free: 3.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.1266, allocations: 185.5 kB / 495.5 MB, free: 3.562 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1266, allocations: 29.69 kB / 495.5 MB, free: 3.527 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.1267, allocations: 100.1 kB / 495.6 MB, free: 3.426 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.1267, allocations: 27.69 kB / 495.6 MB, free: 3.398 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.1267, allocations: 4 kB / 495.6 MB, free: 3.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1268, allocations: 334.7 kB / 496 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.1269, allocations: 20 kB / 496 MB, free: 3.039 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.127, allocations: 33.7 kB / 496 MB, free: 3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1271, allocations: 61.64 kB / 496.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1271, allocations: 0 / 496.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.1273, allocations: 101.5 kB / 496.2 MB, free: 2.828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1273, allocations: 8.031 kB / 496.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1273, allocations: 0 / 496.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1274, allocations: 4 kB / 496.2 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.1275, allocations: 12 kB / 496.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1275, allocations: 0 / 496.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.1275, allocations: 11.92 kB / 496.2 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1276, allocations: 4 kB / 496.2 MB, free: 2.789 MB / 330.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 0.0001089/0.1277, allocations: 125.8 kB / 496.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.1277, allocations: 11.81 kB / 496.4 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.1278, allocations: 21.08 kB / 496.4 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1278, allocations: 7.938 kB / 496.4 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1278, allocations: 0 / 496.4 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1278, allocations: 3.938 kB / 496.4 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.1282, allocations: 391.3 kB / 496.8 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1282, allocations: 0 / 496.8 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.1283, allocations: 15.92 kB / 496.8 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1283, allocations: 4 kB / 496.8 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1283, allocations: 7.969 kB / 496.8 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1283, allocations: 0 / 496.8 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1283, allocations: 240 / 496.8 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.1286, allocations: 204.3 kB / 497 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.1286, allocations: 92.91 kB / 497.1 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1287, allocations: 11.94 kB / 497.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.1287, allocations: 4 kB / 497.1 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1288, allocations: 11.92 kB / 497.1 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1288, allocations: 4 kB / 497.1 MB, free: 1.777 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000123/0.1289, allocations: 137.7 kB / 497.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1289, allocations: 0 / 497.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.1292, allocations: 23.98 kB / 497.3 MB, free: 1.621 MB / 330.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.001131/0.1303, allocations: 0.5272 MB / 497.8 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1305, allocations: 63.84 kB / 497.9 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1305, allocations: 0 / 497.9 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/0.1306, allocations: 28.22 kB / 497.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.131, allocations: 40.23 kB / 497.9 MB, free: 1.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.1314, allocations: 238.4 kB / 498.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1317, allocations: 0.7043 MB / 498.9 MB, free: 112 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.137e-05/0.1318, allocations: 12.88 kB / 498.9 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.1318, allocations: 15.44 kB / 498.9 MB, free: 84 kB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1318, allocations: 0 / 498.9 MB, free: 84 kB / 330.7 MB Notification: Performance of Templates: time 0.004384/0.1362, allocations: 1.618 MB / 0.4888 GB, free: 14.46 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches