Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001358, allocations: 175.7 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.411/1.411, allocations: 205.6 MB / 222.4 MB, free: 8.938 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.0007619/0.0007622, allocations: 90.39 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.3689/0.3689, allocations: 43.67 MB / 362.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0003999, allocations: 12 kB / 432.3 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.12, allocations: 58.84 MB / 491.2 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002031/0.1221, allocations: 1.402 MB / 492.6 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1241, allocations: 1.483 MB / 494.1 MB, free: 6.863 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.1242, allocations: 0 / 494.1 MB, free: 6.863 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.1245, allocations: 39.83 kB / 494.1 MB, free: 6.824 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.1247, allocations: 43.84 kB / 494.1 MB, free: 6.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1249, allocations: 75.83 kB / 494.2 MB, free: 6.707 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1251, allocations: 91.7 kB / 494.3 MB, free: 6.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1252, allocations: 12.22 kB / 494.3 MB, free: 6.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/0.1253, allocations: 43.77 kB / 494.4 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1254, allocations: 35.8 kB / 494.4 MB, free: 6.527 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1255, allocations: 4 kB / 494.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1256, allocations: 47.97 kB / 494.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.1257, allocations: 15.92 kB / 494.5 MB, free: 6.461 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.1257, allocations: 57.5 kB / 494.5 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.126, allocations: 123.9 kB / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.126, allocations: 0 / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.126, allocations: 0 / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.126, allocations: 0 / 494.6 MB, free: 6.277 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.0006217/0.1266, allocations: 391.2 kB / 495 MB, free: 5.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.806e-05/0.1267, allocations: 12.03 kB / 495 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.1267, allocations: 8.844 kB / 495 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.127, allocations: 211.7 kB / 495.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.127, allocations: 4.375 kB / 495.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.127, allocations: 4.125 kB / 495.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.1272, allocations: 79.39 kB / 495.3 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1273, allocations: 0 / 495.3 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1273, allocations: 0 / 495.3 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1273, allocations: 3.938 kB / 495.3 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.715e-05/0.1274, allocations: 23.92 kB / 495.4 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.1278, allocations: 280.9 kB / 495.6 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.128, allocations: 54.67 kB / 495.7 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.1281, allocations: 32.77 kB / 495.7 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1281, allocations: 4 kB / 495.7 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.1283, allocations: 59.39 kB / 495.8 MB, free: 4.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1283, allocations: 0 / 495.8 MB, free: 4.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005682/0.1289, allocations: 177.2 kB / 495.9 MB, free: 4.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.129, allocations: 81.11 kB / 496 MB, free: 4.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1291, allocations: 145.8 kB / 496.2 MB, free: 4.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1291, allocations: 29.7 kB / 496.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.1292, allocations: 100 kB / 496.3 MB, free: 4.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.1292, allocations: 19.75 kB / 496.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1292, allocations: 0 / 496.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1294, allocations: 330.7 kB / 496.6 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.1294, allocations: 19.98 kB / 496.7 MB, free: 4.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/0.1295, allocations: 50.56 kB / 496.7 MB, free: 3.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1296, allocations: 61.64 kB / 496.8 MB, free: 3.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1297, allocations: 0 / 496.8 MB, free: 3.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001735/0.1298, allocations: 97.44 kB / 496.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1299, allocations: 8 kB / 496.9 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1299, allocations: 0 / 496.9 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1299, allocations: 4.062 kB / 496.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.882e-05/0.13, allocations: 15.98 kB / 496.9 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.13, allocations: 4 kB / 496.9 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.1301, allocations: 7.938 kB / 496.9 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1301, allocations: 4 kB / 496.9 MB, free: 3.758 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.0001077/0.1302, allocations: 121.8 kB / 497 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.1302, allocations: 7.906 kB / 497 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.1303, allocations: 12.72 kB / 497 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1303, allocations: 4 kB / 497 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1303, allocations: 3.938 kB / 497.1 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1303, allocations: 3.938 kB / 497.1 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.1307, allocations: 387.4 kB / 497.4 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1308, allocations: 0 / 497.4 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.1308, allocations: 12.31 kB / 497.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1308, allocations: 3.938 kB / 497.4 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1308, allocations: 11.94 kB / 497.5 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1308, allocations: 4.031 kB / 497.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1308, allocations: 0 / 497.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.1311, allocations: 204.3 kB / 497.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.1311, allocations: 85.02 kB / 497.7 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.1312, allocations: 7.938 kB / 497.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.1312, allocations: 7.984 kB / 497.8 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.1313, allocations: 11.94 kB / 497.8 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1313, allocations: 4 kB / 497.8 MB, free: 2.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.99e-05/0.1314, allocations: 118.9 kB / 497.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1314, allocations: 0 / 497.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002531/0.1317, allocations: 35.98 kB / 497.9 MB, free: 2.633 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.001131/0.1328, allocations: 0.5736 MB / 498.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.133, allocations: 63.84 kB / 498.6 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.133, allocations: 0 / 498.6 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.1331, allocations: 28.05 kB / 498.6 MB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1335, allocations: 31.92 kB / 498.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.1339, allocations: 213.9 kB / 498.8 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.1341, allocations: 0.7044 MB / 499.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.014e-05/0.1342, allocations: 21.17 kB / 499.6 MB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.1343, allocations: 15.44 kB / 499.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1343, allocations: 0 / 499.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of Templates: time 0.1877/0.322, allocations: 1.862 MB / 0.4897 GB, free: 42.59 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches