Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000982/0.0009821, 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.305/1.305, allocations: 205.6 MB / 222.4 MB, free: 8.93 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.0007696/0.0007697, allocations: 88.25 kB / 270.8 MB, free: 8.129 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.3706/0.3706, allocations: 43.67 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 12 kB / 432.3 MB, free: 5.004 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 58.84 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002362/0.1369, allocations: 1.365 MB / 492.5 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1384, allocations: 0.8108 MB / 493.3 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.916e-05/0.1385, allocations: 4 kB / 493.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.1388, allocations: 51.84 kB / 493.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.1391, allocations: 59.81 kB / 493.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1394, allocations: 67.86 kB / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1396, allocations: 95.67 kB / 493.6 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.1397, allocations: 11.98 kB / 493.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1398, allocations: 51.72 kB / 493.7 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1399, allocations: 35.83 kB / 493.7 MB, free: 7.449 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1399, allocations: 4 kB / 493.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.1401, allocations: 20 kB / 493.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.1401, allocations: 19.92 kB / 493.8 MB, free: 7.406 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.1402, allocations: 57.48 kB / 493.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1404, allocations: 95.92 kB / 493.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1404, allocations: 0 / 493.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1404, allocations: 0 / 493.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1405, allocations: 0 / 493.9 MB, free: 7.25 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005945/0.1411, allocations: 403 kB / 494.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1411, allocations: 8.031 kB / 494.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.1412, allocations: 12.84 kB / 494.3 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.1414, allocations: 204 kB / 494.5 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1415, allocations: 4.359 kB / 494.5 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1415, allocations: 8.125 kB / 494.5 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1416, allocations: 41.69 kB / 494.6 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1417, allocations: 0 / 494.6 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1417, allocations: 8 kB / 494.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1417, allocations: 7.984 kB / 494.6 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.016e-05/0.1418, allocations: 15.88 kB / 494.6 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.142, allocations: 177.7 kB / 494.8 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1422, allocations: 54.61 kB / 494.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.1422, allocations: 20.8 kB / 494.8 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1423, allocations: 7.984 kB / 494.9 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.1425, allocations: 67.33 kB / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.1425, allocations: 0 / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002891/0.1428, allocations: 93.58 kB / 495 MB, free: 5.969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.1428, allocations: 55.41 kB / 495.1 MB, free: 5.902 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.143, allocations: 182.4 kB / 495.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.143, allocations: 25.7 kB / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.1431, allocations: 104.1 kB / 495.4 MB, free: 5.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1431, allocations: 19.73 kB / 495.4 MB, free: 5.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.1432, allocations: 0 / 495.4 MB, free: 5.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1433, allocations: 322.8 kB / 495.7 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.1433, allocations: 15.98 kB / 495.7 MB, free: 5.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.1434, allocations: 29.64 kB / 495.8 MB, free: 5.184 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1435, allocations: 41.72 kB / 495.8 MB, free: 5.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1435, allocations: 0 / 495.8 MB, free: 5.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00016/0.1437, allocations: 89.45 kB / 495.9 MB, free: 5.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1437, allocations: 4 kB / 495.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1437, allocations: 0 / 495.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1437, allocations: 4 kB / 495.9 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.1438, allocations: 8 kB / 495.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1438, allocations: 0 / 495.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.1439, allocations: 11.89 kB / 495.9 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1439, allocations: 8.016 kB / 495.9 MB, free: 5.008 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 (7): * Single equations (assignments): 7 * 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 9.844e-05/0.144, allocations: 125.8 kB / 496 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.144, allocations: 11.91 kB / 496 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.1441, allocations: 16.3 kB / 496.1 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.1441, allocations: 0 / 496.1 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1441, allocations: 0 / 496.1 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1441, allocations: 0 / 496.1 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.1443, allocations: 193.4 kB / 496.3 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1443, allocations: 0 / 496.3 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.1443, allocations: 11.98 kB / 496.3 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1443, allocations: 3.938 kB / 496.3 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1443, allocations: 4.312 kB / 496.3 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1443, allocations: 0 / 496.3 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1443, allocations: 4 kB / 496.3 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.1445, allocations: 105 kB / 496.4 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.1446, allocations: 92.92 kB / 496.5 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.1446, allocations: 0 / 496.5 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.1447, allocations: 11.98 kB / 496.5 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1447, allocations: 0 / 496.5 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1447, allocations: 4 kB / 496.5 MB, free: 4.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1449, allocations: 139.2 kB / 496.6 MB, free: 4.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1449, allocations: 0 / 496.6 MB, free: 4.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.1451, allocations: 16 kB / 496.6 MB, free: 4.191 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009295/0.146, allocations: 474 kB / 497.1 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1462, allocations: 47.98 kB / 497.1 MB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1462, allocations: 0 / 497.1 MB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.1463, allocations: 27.86 kB / 497.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1465, allocations: 23.92 kB / 497.2 MB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.147, allocations: 219.8 kB / 497.4 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1472, allocations: 0.7043 MB / 498.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.213e-05/0.1473, allocations: 16.39 kB / 498.1 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.1473, allocations: 15.44 kB / 498.1 MB, free: 2.746 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1473, allocations: 0 / 498.1 MB, free: 2.746 MB / 378.7 MB Notification: Performance of Templates: time 0.00412/0.1514, allocations: 1.405 MB / 499.6 MB, free: 1.344 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches