Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008779/0.0008782, allocations: 170.5 kB / 16.07 MB, free: 5.73 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.443/1.443, 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.0007749/0.0007746, allocations: 95.06 kB / 270.8 MB, free: 8.133 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.3975/0.3975, allocations: 43.67 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004466, allocations: 12 kB / 432.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1337, allocations: 58.84 MB / 491.2 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002181/0.1359, allocations: 1.402 MB / 492.6 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1374, allocations: 0.8292 MB / 493.4 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1375, allocations: 0 / 493.4 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.1378, allocations: 51.8 kB / 493.4 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1381, allocations: 43.83 kB / 493.5 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.1384, allocations: 83.84 kB / 493.6 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1386, allocations: 91.69 kB / 493.7 MB, free: 7.285 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1387, allocations: 12.22 kB / 493.7 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1389, allocations: 43.78 kB / 493.7 MB, free: 7.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.1389, allocations: 27.84 kB / 493.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.139, allocations: 4 kB / 493.7 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1391, allocations: 31.98 kB / 493.8 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.1392, allocations: 23.86 kB / 493.8 MB, free: 7.145 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.1392, allocations: 65.38 kB / 493.9 MB, free: 7.074 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1395, allocations: 119.9 kB / 494 MB, free: 6.957 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1395, allocations: 0 / 494 MB, free: 6.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1395, allocations: 0 / 494 MB, free: 6.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1395, allocations: 0 / 494 MB, free: 6.957 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.0005463/0.14, allocations: 411 kB / 494.4 MB, free: 6.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1401, allocations: 8.031 kB / 494.4 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.1401, allocations: 12.75 kB / 494.4 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1404, allocations: 212 kB / 494.6 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1404, allocations: 4.375 kB / 494.6 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.1405, allocations: 16.02 kB / 494.6 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1406, allocations: 53.67 kB / 494.7 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1406, allocations: 4 kB / 494.7 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1407, allocations: 4 kB / 494.7 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1407, allocations: 0 / 494.7 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.871e-05/0.1408, allocations: 19.98 kB / 494.7 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.1412, allocations: 288.8 kB / 495 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1413, allocations: 62.61 kB / 495.1 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.1414, allocations: 20.84 kB / 495.1 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.1414, allocations: 7.984 kB / 495.1 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.1417, allocations: 67.39 kB / 495.1 MB, free: 5.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.1417, allocations: 0 / 495.1 MB, free: 5.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005914/0.1423, allocations: 173.1 kB / 495.3 MB, free: 5.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.1423, allocations: 51.41 kB / 495.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1426, allocations: 214.7 kB / 495.6 MB, free: 5.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1426, allocations: 37.69 kB / 495.6 MB, free: 5.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.1427, allocations: 104.1 kB / 495.7 MB, free: 5.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.1427, allocations: 27.64 kB / 495.7 MB, free: 4.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/0.1427, allocations: 0 / 495.7 MB, free: 4.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1429, allocations: 338.7 kB / 496.1 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.1429, allocations: 19.98 kB / 496.1 MB, free: 4.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.143, allocations: 33.7 kB / 496.1 MB, free: 4.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1431, allocations: 61.78 kB / 496.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1431, allocations: 0 / 496.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.1433, allocations: 105.5 kB / 496.3 MB, free: 4.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1433, allocations: 4 kB / 496.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1434, allocations: 4 kB / 496.3 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1434, allocations: 0 / 496.3 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.1435, allocations: 23.92 kB / 496.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1435, allocations: 0 / 496.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.1435, allocations: 11.88 kB / 496.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1436, allocations: 4 kB / 496.3 MB, free: 4.367 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.0001159/0.1437, allocations: 130.4 kB / 496.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.1437, allocations: 15.84 kB / 496.5 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.1438, allocations: 17.41 kB / 496.5 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1438, allocations: 0 / 496.5 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1438, allocations: 3.984 kB / 496.5 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1438, allocations: 3.938 kB / 496.5 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.1442, allocations: 395.3 kB / 496.9 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1443, allocations: 384 / 496.9 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.1443, allocations: 8 kB / 496.9 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1443, allocations: 4.031 kB / 496.9 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1443, allocations: 15.92 kB / 496.9 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1443, allocations: 4 kB / 496.9 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1443, allocations: 0 / 496.9 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1446, allocations: 200.1 kB / 497.1 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.1447, allocations: 92.92 kB / 497.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1447, allocations: 11.92 kB / 497.2 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.1448, allocations: 4 kB / 497.2 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1448, allocations: 4 kB / 497.2 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.1448, allocations: 11.98 kB / 497.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.145, allocations: 168.3 kB / 497.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.145, allocations: 192 / 497.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.1452, allocations: 20 kB / 497.4 MB, free: 3.176 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.001102/0.1463, allocations: 0.5398 MB / 498 MB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1465, allocations: 55.92 kB / 498 MB, free: 2.715 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1466, allocations: 0 / 498 MB, free: 2.715 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.1466, allocations: 31.92 kB / 498 MB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.147, allocations: 28.11 kB / 498.1 MB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.1475, allocations: 282 kB / 498.3 MB, free: 2.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1478, allocations: 0.716 MB / 499.1 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.1479, allocations: 13.19 kB / 499.1 MB, free: 1.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.1479, allocations: 15.44 kB / 499.1 MB, free: 1.578 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.148, allocations: 0 / 499.1 MB, free: 1.578 MB / 378.7 MB Notification: Performance of Templates: time 0.1903/0.3383, allocations: 1.63 MB / 0.489 GB, free: 42.66 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches