Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 174 kB / 16.08 MB, free: 5.727 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.324/1.324, allocations: 205.6 MB / 222.4 MB, free: 8.945 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.001214/0.001214, allocations: 90.61 kB / 270.8 MB, free: 8.121 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.3647/0.3647, allocations: 43.67 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003397, allocations: 8 kB / 432.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 58.85 MB / 491.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002239/0.1201, allocations: 1.398 MB / 492.6 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1214, allocations: 0.8253 MB / 493.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.53e-05/0.1215, allocations: 3.938 kB / 493.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.1218, allocations: 39.89 kB / 493.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1221, allocations: 43.83 kB / 493.5 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1224, allocations: 75.86 kB / 493.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1226, allocations: 87.69 kB / 493.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1227, allocations: 20.2 kB / 493.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.83e-05/0.1228, allocations: 43.73 kB / 493.7 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.1229, allocations: 27.86 kB / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1229, allocations: 0 / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.123, allocations: 35.97 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.1231, allocations: 19.92 kB / 493.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.519e-05/0.1231, allocations: 57.44 kB / 493.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1233, allocations: 111.9 kB / 493.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1234, allocations: 0 / 493.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1234, allocations: 0 / 493.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1234, allocations: 3.938 kB / 494 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.0005175/0.1239, allocations: 407 kB / 494.3 MB, free: 6.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1239, allocations: 12.03 kB / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.124, allocations: 8.844 kB / 494.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1242, allocations: 214.8 kB / 494.6 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1242, allocations: 4.359 kB / 494.6 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1243, allocations: 8.125 kB / 494.6 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1244, allocations: 53.67 kB / 494.6 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1244, allocations: 0 / 494.6 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1244, allocations: 8 kB / 494.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.1244, allocations: 3.938 kB / 494.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.982e-05/0.1245, allocations: 19.98 kB / 494.7 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.1249, allocations: 280.9 kB / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1251, allocations: 58.67 kB / 495 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.1251, allocations: 24.8 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1252, allocations: 0 / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.1254, allocations: 67.39 kB / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1254, allocations: 0 / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005731/0.126, allocations: 185.1 kB / 495.3 MB, free: 5.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.126, allocations: 51.41 kB / 495.3 MB, free: 5.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.1262, allocations: 198.4 kB / 495.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1262, allocations: 29.7 kB / 495.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.1263, allocations: 108.1 kB / 495.7 MB, free: 5.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.1264, allocations: 23.7 kB / 495.7 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.1264, allocations: 0 / 495.7 MB, free: 5.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1265, allocations: 330.8 kB / 496 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.1266, allocations: 16 kB / 496 MB, free: 4.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.1266, allocations: 33.7 kB / 496.1 MB, free: 4.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1268, allocations: 69.7 kB / 496.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1268, allocations: 0 / 496.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.127, allocations: 105.4 kB / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.127, allocations: 7.984 kB / 496.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.127, allocations: 0 / 496.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.127, allocations: 0 / 496.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.1271, allocations: 20 kB / 496.2 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1271, allocations: 0 / 496.2 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.1272, allocations: 7.969 kB / 496.3 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1272, allocations: 7.984 kB / 496.3 MB, free: 4.664 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 0.0001017/0.1273, allocations: 129.8 kB / 496.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.1273, allocations: 7.906 kB / 496.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.1274, allocations: 17.39 kB / 496.4 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1274, allocations: 4 kB / 496.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1274, allocations: 0 / 496.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1274, allocations: 7.875 kB / 496.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.1279, allocations: 395.3 kB / 496.8 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1279, allocations: 0 / 496.8 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.128, allocations: 15.92 kB / 496.8 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.128, allocations: 0 / 496.8 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.128, allocations: 4.312 kB / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.128, allocations: 4 kB / 496.8 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.128, allocations: 4 kB / 496.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.1282, allocations: 204.3 kB / 497 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.1283, allocations: 92.91 kB / 497.1 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1283, allocations: 3.938 kB / 497.1 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.1284, allocations: 8 kB / 497.1 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.1285, allocations: 7.922 kB / 497.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1285, allocations: 4 kB / 497.2 MB, free: 3.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1286, allocations: 155.7 kB / 497.3 MB, free: 3.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1286, allocations: 4.188 kB / 497.3 MB, free: 3.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.1289, allocations: 24 kB / 497.3 MB, free: 3.488 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.00109/0.13, allocations: 0.5249 MB / 497.9 MB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.1302, allocations: 67.91 kB / 497.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1302, allocations: 0 / 497.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.1303, allocations: 23.98 kB / 497.9 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.1306, allocations: 23.98 kB / 498 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.1311, allocations: 258.3 kB / 498.2 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1314, allocations: 0.7121 MB / 498.9 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.1315, allocations: 17.19 kB / 499 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.1315, allocations: 19.42 kB / 499 MB, free: 1.93 MB / 378.7 MB Notification: Performance of SimCode: time 5.23e-06/0.1315, allocations: 0 / 499 MB, free: 1.93 MB / 378.7 MB Notification: Performance of Templates: time 0.004575/0.1361, allocations: 1.626 MB / 0.4889 GB, free: 308 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches