Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009765/0.0009766, allocations: 179.3 kB / 16.08 MB, free: 5.523 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.326/1.326, allocations: 205.6 MB / 222.4 MB, free: 13.67 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.0009398/0.0009399, allocations: 90.25 kB / 270.8 MB, free: 13.19 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.2066/0.2066, allocations: 43.68 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1164, allocations: 58.86 MB / 491.2 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001944/0.1184, allocations: 1.358 MB / 492.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1196, allocations: 0.803 MB / 493.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.1197, allocations: 0 / 493.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.12, allocations: 83.81 kB / 493.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.1202, allocations: 67.78 kB / 493.5 MB, free: 5.777 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.1204, allocations: 71.8 kB / 493.6 MB, free: 5.707 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1206, allocations: 103.7 kB / 493.7 MB, free: 5.605 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.1206, allocations: 4 kB / 493.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.1207, allocations: 47.72 kB / 493.7 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.1208, allocations: 47.83 kB / 493.8 MB, free: 5.508 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1209, allocations: 4 kB / 493.8 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.1209, allocations: 27.98 kB / 493.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.121, allocations: 19.91 kB / 493.8 MB, free: 5.457 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.1211, allocations: 61.39 kB / 493.9 MB, free: 5.391 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1212, allocations: 99.92 kB / 494 MB, free: 5.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1212, allocations: 0 / 494 MB, free: 5.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1213, allocations: 4 kB / 494 MB, free: 5.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1213, allocations: 0 / 494 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005376/0.1218, allocations: 391.2 kB / 494.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1219, allocations: 12.03 kB / 494.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.1219, allocations: 16.73 kB / 494.4 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.1222, allocations: 200.1 kB / 494.6 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1222, allocations: 384 / 494.6 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1222, allocations: 4.125 kB / 494.6 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1224, allocations: 57.61 kB / 494.6 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1224, allocations: 0 / 494.6 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1224, allocations: 4 kB / 494.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1225, allocations: 0 / 494.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.1225, allocations: 15.97 kB / 494.7 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.1228, allocations: 189.6 kB / 494.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.123, allocations: 54.61 kB / 494.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.123, allocations: 20.8 kB / 494.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1231, allocations: 3.984 kB / 494.9 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.1233, allocations: 67.33 kB / 495 MB, free: 4.109 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1233, allocations: 0 / 495 MB, free: 4.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002955/0.1236, allocations: 97.48 kB / 495.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.1237, allocations: 55.41 kB / 495.1 MB, free: 3.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1239, allocations: 206.4 kB / 495.3 MB, free: 3.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1239, allocations: 25.7 kB / 495.4 MB, free: 3.699 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.124, allocations: 104.1 kB / 495.5 MB, free: 3.594 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.124, allocations: 15.83 kB / 495.5 MB, free: 3.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.124, allocations: 7.938 kB / 495.5 MB, free: 3.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1241, allocations: 322.8 kB / 495.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.848e-05/0.1242, allocations: 15.98 kB / 495.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-05/0.1243, allocations: 29.7 kB / 495.8 MB, free: 3.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.756e-05/0.1244, allocations: 41.97 kB / 495.9 MB, free: 3.148 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1244, allocations: 0 / 495.9 MB, free: 3.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001493/0.1245, allocations: 97.3 kB / 496 MB, free: 3.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1245, allocations: 8 kB / 496 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1246, allocations: 0 / 496 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1246, allocations: 0 / 496 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.1247, allocations: 12.03 kB / 496 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1247, allocations: 0 / 496 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.1247, allocations: 11.98 kB / 496 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1247, allocations: 4 kB / 496 MB, free: 3.012 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 (7): * Single equations (assignments): 7 * 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.979e-05/0.1248, allocations: 129.7 kB / 496.1 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1249, allocations: 19.8 kB / 496.2 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.1249, allocations: 13 kB / 496.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1249, allocations: 0 / 496.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1249, allocations: 0 / 496.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1249, allocations: 4 kB / 496.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.1251, allocations: 193.6 kB / 496.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1251, allocations: 0 / 496.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.1251, allocations: 0 / 496.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1251, allocations: 4 kB / 496.4 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.1251, allocations: 3.938 kB / 496.4 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1251, allocations: 0 / 496.4 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1251, allocations: 0 / 496.4 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1253, allocations: 113 kB / 496.5 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.1254, allocations: 92.91 kB / 496.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.1254, allocations: 4 kB / 496.6 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.1254, allocations: 7.938 kB / 496.6 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.1255, allocations: 4 kB / 496.6 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1255, allocations: 3.984 kB / 496.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1256, allocations: 156.2 kB / 496.7 MB, free: 2.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1256, allocations: 0 / 496.7 MB, free: 2.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001889/0.1258, allocations: 20 kB / 496.8 MB, free: 2.164 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000888/0.1267, allocations: 482.1 kB / 497.2 MB, free: 1.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.1269, allocations: 39.98 kB / 497.3 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1269, allocations: 0 / 497.3 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/0.1269, allocations: 23.92 kB / 497.3 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.1272, allocations: 27.86 kB / 497.3 MB, free: 1.734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.1276, allocations: 245.5 kB / 497.6 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1278, allocations: 0.7004 MB / 498.3 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.1279, allocations: 16.48 kB / 498.3 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.1279, allocations: 19.42 kB / 498.3 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1279, allocations: 0 / 498.3 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of Templates: time 0.003759/0.1317, allocations: 1.416 MB / 499.7 MB, free: 15.29 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches