Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 181 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.394/1.394, allocations: 205.6 MB / 222.4 MB, free: 13.66 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.0008737/0.0008736, allocations: 86.27 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.2071/0.2071, allocations: 43.69 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 12 kB / 432.3 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 58.86 MB / 491.2 MB, free: 8.098 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002195/0.1306, allocations: 1.519 MB / 492.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.132, allocations: 0.9227 MB / 493.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.132, allocations: 0 / 493.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.1325, allocations: 247.5 kB / 493.9 MB, free: 5.371 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.1328, allocations: 171.5 kB / 494 MB, free: 5.203 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.1332, allocations: 131.8 kB / 494.2 MB, free: 5.074 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.1335, allocations: 239.3 kB / 494.4 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1336, allocations: 25.55 kB / 494.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1337, allocations: 111.6 kB / 494.5 MB, free: 4.707 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.1339, allocations: 171.4 kB / 494.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.134, allocations: 4 kB / 494.7 MB, free: 4.535 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.1341, allocations: 35.97 kB / 494.7 MB, free: 4.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.753e-05/0.1342, allocations: 55.77 kB / 494.8 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1343, allocations: 109 kB / 494.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1346, allocations: 223.4 kB / 495.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1346, allocations: 0 / 495.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1346, allocations: 0 / 495.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1346, allocations: 0 / 495.1 MB, free: 4.113 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006592/0.1353, allocations: 0.5138 MB / 495.6 MB, free: 3.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1353, allocations: 8.031 kB / 495.6 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.1354, allocations: 40.42 kB / 495.7 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1357, allocations: 280 kB / 495.9 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1357, allocations: 8.375 kB / 496 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1357, allocations: 8.125 kB / 496 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.1359, allocations: 103.3 kB / 496.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.136, allocations: 0 / 496.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.136, allocations: 0 / 496.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.136, allocations: 7.938 kB / 496.1 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1361, allocations: 39.97 kB / 496.1 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.1366, allocations: 453 kB / 496.6 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.1369, allocations: 113.3 kB / 496.7 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.137, allocations: 41.7 kB / 496.7 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1371, allocations: 4 kB / 496.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.1373, allocations: 116.9 kB / 496.8 MB, free: 2.207 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1373, allocations: 0 / 496.8 MB, free: 2.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009333/0.1383, allocations: 379.7 kB / 497.2 MB, free: 1.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.1383, allocations: 88.98 kB / 497.3 MB, free: 1.723 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.1389, allocations: 481.6 kB / 497.8 MB, free: 1.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1389, allocations: 29.7 kB / 497.8 MB, free: 1.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.139, allocations: 156.4 kB / 497.9 MB, free: 1.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.1391, allocations: 51.34 kB / 498 MB, free: 1.004 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.1391, allocations: 7.938 kB / 498 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1392, allocations: 350.8 kB / 498.3 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.1393, allocations: 35.98 kB / 498.4 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1395, allocations: 78.28 kB / 498.4 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.1397, allocations: 115.4 kB / 498.6 MB, free: 408 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1397, allocations: 0 / 498.6 MB, free: 408 kB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003045/0.14, allocations: 189.3 kB / 498.7 MB, free: 212 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.14, allocations: 4 kB / 498.7 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.14, allocations: 4 kB / 498.8 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1401, allocations: 0 / 498.8 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1402, allocations: 35.98 kB / 498.8 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.1402, allocations: 3.938 kB / 498.8 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.1403, allocations: 11.95 kB / 498.8 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1403, allocations: 16 kB / 498.8 MB, free: 136 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001745/0.1405, allocations: 169.7 kB / 499 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.1406, allocations: 31.62 kB / 499 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/0.1406, allocations: 34.81 kB / 499 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1407, allocations: 4.75 kB / 499.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.1407, allocations: 3.938 kB / 499.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1407, allocations: 3.984 kB / 499.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.1414, allocations: 0.6281 MB / 499.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1414, allocations: 0 / 499.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.1415, allocations: 20 kB / 499.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1415, allocations: 0 / 499.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1415, allocations: 11.92 kB / 499.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1415, allocations: 4 kB / 499.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1415, allocations: 0 / 499.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.1419, allocations: 368.1 kB / 0.4884 GB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.142, allocations: 108.7 kB / 0.4885 GB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.1421, allocations: 8 kB / 0.4885 GB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.1422, allocations: 4 kB / 0.4885 GB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.1423, allocations: 27.86 kB / 0.4885 GB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.1423, allocations: 7.984 kB / 0.4885 GB, free: 14.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003125/0.1426, allocations: 355.1 kB / 0.4889 GB, free: 14.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1426, allocations: 0 / 0.4889 GB, free: 14.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.1429, allocations: 39.98 kB / 0.4889 GB, free: 14.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001038/0.144, allocations: 0.5347 MB / 0.4894 GB, free: 13.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.1443, allocations: 115.8 kB / 0.4895 GB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1443, allocations: 0 / 0.4895 GB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.1444, allocations: 60.16 kB / 0.4896 GB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.145, allocations: 68.92 kB / 0.4896 GB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008639/0.1458, allocations: 0.5879 MB / 0.4902 GB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1462, allocations: 0.7791 MB / 0.491 GB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.7e-05/0.1463, allocations: 26.56 kB / 0.491 GB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.1463, allocations: 27.42 kB / 0.491 GB, free: 12.1 MB / 346.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1463, allocations: 0 / 0.491 GB, free: 12.1 MB / 346.7 MB Notification: Performance of Templates: time 0.005641/0.152, allocations: 2.576 MB / 0.4935 GB, free: 9.535 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches