Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009942/0.0009942, allocations: 170.4 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.417/1.417, allocations: 205.6 MB / 222.4 MB, free: 8.852 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.001029/0.001029, allocations: 91.5 kB / 270.8 MB, free: 8.109 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.3926/0.3926, allocations: 43.67 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005103/0.0005103, allocations: 12 kB / 432.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1369, allocations: 58.86 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002187/0.1391, allocations: 1.402 MB / 492.6 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1404, allocations: 0.8214 MB / 493.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.1405, allocations: 3.938 kB / 493.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1409, allocations: 43.88 kB / 493.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.1411, allocations: 43.83 kB / 493.5 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.1414, allocations: 75.86 kB / 493.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1416, allocations: 99.67 kB / 493.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.1417, allocations: 8.219 kB / 493.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.1418, allocations: 35.8 kB / 493.7 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.1419, allocations: 43.77 kB / 493.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1419, allocations: 0 / 493.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.142, allocations: 28 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.1421, allocations: 19.92 kB / 493.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.1421, allocations: 57.44 kB / 493.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1424, allocations: 115.9 kB / 494 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.1424, allocations: 4 kB / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1424, allocations: 0 / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1424, allocations: 0 / 494 MB, free: 7.199 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.000545/0.1429, allocations: 407 kB / 494.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.143, allocations: 8.031 kB / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.143, allocations: 8.844 kB / 494.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1433, allocations: 216.7 kB / 494.6 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1433, allocations: 4.375 kB / 494.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1434, allocations: 4.125 kB / 494.6 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1435, allocations: 53.67 kB / 494.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1435, allocations: 0 / 494.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1435, allocations: 0 / 494.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1436, allocations: 8 kB / 494.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.1436, allocations: 19.92 kB / 494.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.144, allocations: 288.9 kB / 495 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1442, allocations: 50.67 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.1443, allocations: 20.86 kB / 495 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1443, allocations: 11.92 kB / 495 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.1445, allocations: 63.39 kB / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1445, allocations: 0 / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000531/0.1451, allocations: 177.1 kB / 495.3 MB, free: 5.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1451, allocations: 59.39 kB / 495.3 MB, free: 5.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1453, allocations: 195.8 kB / 495.5 MB, free: 5.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1453, allocations: 33.7 kB / 495.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.1454, allocations: 96.14 kB / 495.7 MB, free: 5.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.1454, allocations: 23.7 kB / 495.7 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.1454, allocations: 0 / 495.7 MB, free: 5.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1456, allocations: 334.7 kB / 496 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.1456, allocations: 19.98 kB / 496 MB, free: 4.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.1457, allocations: 33.7 kB / 496.1 MB, free: 4.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1458, allocations: 65.66 kB / 496.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1458, allocations: 0 / 496.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.146, allocations: 109.3 kB / 496.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.146, allocations: 4 kB / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.146, allocations: 0 / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.146, allocations: 4.375 kB / 496.2 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.1461, allocations: 19.98 kB / 496.3 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1461, allocations: 0 / 496.3 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.1462, allocations: 15.97 kB / 496.3 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1462, allocations: 7.984 kB / 496.3 MB, free: 4.66 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.0001005/0.1463, allocations: 129.8 kB / 496.4 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.1463, allocations: 7.906 kB / 496.4 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.1464, allocations: 17.41 kB / 496.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1464, allocations: 0 / 496.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1464, allocations: 0 / 496.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1464, allocations: 3.938 kB / 496.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.1469, allocations: 399.2 kB / 496.8 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1469, allocations: 0 / 496.8 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/0.1469, allocations: 11.94 kB / 496.8 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1469, allocations: 0 / 496.8 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1469, allocations: 7.938 kB / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.147, allocations: 0 / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.147, allocations: 0 / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.1472, allocations: 204.3 kB / 497 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1472, allocations: 92.91 kB / 497.1 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1473, allocations: 7.938 kB / 497.1 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.1474, allocations: 4 kB / 497.1 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.1474, allocations: 7.984 kB / 497.2 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1474, allocations: 7.938 kB / 497.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1475, allocations: 147.9 kB / 497.3 MB, free: 3.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1475, allocations: 0 / 497.3 MB, free: 3.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000233/0.1478, allocations: 28 kB / 497.3 MB, free: 3.496 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.0009908/0.1488, allocations: 0.5271 MB / 497.9 MB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.149, allocations: 63.86 kB / 497.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.149, allocations: 0 / 497.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.1491, allocations: 23.98 kB / 497.9 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1494, allocations: 27.98 kB / 498 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.1498, allocations: 258.5 kB / 498.2 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.1501, allocations: 0.7043 MB / 498.9 MB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.81e-05/0.1502, allocations: 17.17 kB / 498.9 MB, free: 1.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.1502, allocations: 19.44 kB / 499 MB, free: 1.938 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.1502, allocations: 0 / 499 MB, free: 1.938 MB / 378.7 MB Notification: Performance of Templates: time 0.004106/0.1543, allocations: 1.636 MB / 0.4889 GB, free: 312 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches