Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 172 kB / 16.07 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.393/1.393, allocations: 205.6 MB / 222.4 MB, free: 8.934 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.0007385/0.0007385, allocations: 86.94 kB / 270.8 MB, free: 8.125 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.2981/0.2981, allocations: 43.67 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004093, allocations: 12 kB / 432.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 58.84 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002673/0.1316, allocations: 1.398 MB / 492.6 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1335, allocations: 0.8214 MB / 493.4 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.1336, allocations: 4 kB / 493.4 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.1339, allocations: 31.83 kB / 493.4 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.1342, allocations: 43.84 kB / 493.5 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.1345, allocations: 75.84 kB / 493.5 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.1348, allocations: 91.69 kB / 493.6 MB, free: 7.305 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1349, allocations: 12.22 kB / 493.6 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.135, allocations: 35.8 kB / 493.7 MB, free: 7.258 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.849e-05/0.1351, allocations: 35.83 kB / 493.7 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1351, allocations: 4 kB / 493.7 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1353, allocations: 31.94 kB / 493.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.1354, allocations: 15.92 kB / 493.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.1355, allocations: 61.48 kB / 493.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.1357, allocations: 107.9 kB / 493.9 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1357, allocations: 0 / 493.9 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1357, allocations: 0 / 493.9 MB, free: 7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1357, allocations: 0 / 493.9 MB, free: 7 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.0005973/0.1363, allocations: 387.2 kB / 494.3 MB, free: 6.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1364, allocations: 8.031 kB / 494.3 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.1365, allocations: 8.844 kB / 494.3 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1367, allocations: 212.6 kB / 494.5 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.1368, allocations: 3.938 kB / 494.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.1368, allocations: 4 kB / 494.5 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.137, allocations: 61.61 kB / 494.6 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.137, allocations: 0 / 494.6 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1371, allocations: 0 / 494.6 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1371, allocations: 4 kB / 494.6 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.1372, allocations: 19.98 kB / 494.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.1376, allocations: 288.8 kB / 494.9 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.1379, allocations: 54.67 kB / 495 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.138, allocations: 16.86 kB / 495 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.138, allocations: 8 kB / 495 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.1383, allocations: 71.23 kB / 495 MB, free: 5.711 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.1383, allocations: 0 / 495 MB, free: 5.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006712/0.139, allocations: 165.3 kB / 495.2 MB, free: 5.543 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.139, allocations: 59.28 kB / 495.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.1392, allocations: 160.5 kB / 495.4 MB, free: 5.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1393, allocations: 37.64 kB / 495.5 MB, free: 5.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.1394, allocations: 104.1 kB / 495.6 MB, free: 5.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.1394, allocations: 23.66 kB / 495.6 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.1394, allocations: 0 / 495.6 MB, free: 5.133 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1396, allocations: 322.8 kB / 495.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.1397, allocations: 19.98 kB / 495.9 MB, free: 4.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1398, allocations: 37.7 kB / 496 MB, free: 4.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.14, allocations: 65.64 kB / 496 MB, free: 4.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.14, allocations: 0 / 496 MB, free: 4.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002606/0.1402, allocations: 89.59 kB / 496.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1403, allocations: 4 kB / 496.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1403, allocations: 0 / 496.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1403, allocations: 7.938 kB / 496.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1404, allocations: 19.92 kB / 496.1 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1405, allocations: 0 / 496.1 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.1405, allocations: 12.03 kB / 496.2 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1406, allocations: 4 kB / 496.2 MB, free: 4.535 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.0001135/0.1407, allocations: 117.8 kB / 496.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1407, allocations: 15.81 kB / 496.3 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.1408, allocations: 16.66 kB / 496.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1408, allocations: 0 / 496.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1408, allocations: 0 / 496.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1408, allocations: 3.938 kB / 496.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.1414, allocations: 395.3 kB / 496.7 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1414, allocations: 0 / 496.7 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.1415, allocations: 12.36 kB / 496.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1415, allocations: 0 / 496.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1415, allocations: 4 kB / 496.7 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1415, allocations: 4 kB / 496.7 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1416, allocations: 3.938 kB / 496.7 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.1419, allocations: 208.2 kB / 496.9 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.142, allocations: 89 kB / 497 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.142, allocations: 0 / 497 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1421, allocations: 8 kB / 497 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1422, allocations: 11.97 kB / 497 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1422, allocations: 0 / 497 MB, free: 3.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1424, allocations: 125.9 kB / 497.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1424, allocations: 0 / 497.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004249/0.1428, allocations: 31.94 kB / 497.2 MB, free: 3.41 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.001502/0.1443, allocations: 0.5327 MB / 497.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.1446, allocations: 59.91 kB / 497.8 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1446, allocations: 4 kB / 497.8 MB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1447, allocations: 31.92 kB / 497.8 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.1452, allocations: 19.98 kB / 497.8 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.1458, allocations: 230.1 kB / 498.1 MB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.1461, allocations: 0.6965 MB / 498.7 MB, free: 1.926 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.114e-05/0.1462, allocations: 17.19 kB / 498.8 MB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.1463, allocations: 15.42 kB / 498.8 MB, free: 1.887 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1463, allocations: 4 kB / 498.8 MB, free: 1.883 MB / 378.7 MB Notification: Performance of Templates: time 0.006127/0.1524, allocations: 1.61 MB / 0.4887 GB, free: 276 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches