Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001043, allocations: 170.8 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.362/1.362, 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.000762/0.000762, allocations: 94.67 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.4185/0.4185, allocations: 43.66 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.0005171, allocations: 15.94 kB / 432.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1307, allocations: 58.84 MB / 491.2 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.001924/0.1327, allocations: 1.398 MB / 492.6 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1339, allocations: 0.8253 MB / 493.4 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.134, allocations: 4 kB / 493.4 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.1344, allocations: 43.81 kB / 493.4 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1346, allocations: 43.83 kB / 493.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1348, allocations: 79.84 kB / 493.6 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.135, allocations: 87.69 kB / 493.6 MB, free: 7.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1351, allocations: 24.2 kB / 493.7 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.2e-05/0.1352, allocations: 39.78 kB / 493.7 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.1353, allocations: 31.84 kB / 493.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1353, allocations: 0 / 493.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.403e-05/0.1354, allocations: 28 kB / 493.8 MB, free: 7.176 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.1355, allocations: 23.84 kB / 493.8 MB, free: 7.152 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.1356, allocations: 61.44 kB / 493.8 MB, free: 7.086 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1358, allocations: 111.9 kB / 494 MB, free: 6.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1358, allocations: 0 / 494 MB, free: 6.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1358, allocations: 3.984 kB / 494 MB, free: 6.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1358, allocations: 4 kB / 494 MB, free: 6.969 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.0005619/0.1364, allocations: 399 kB / 494.4 MB, free: 6.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1364, allocations: 12.03 kB / 494.4 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.1365, allocations: 8.844 kB / 494.4 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.1367, allocations: 218.3 kB / 494.6 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1367, allocations: 384 / 494.6 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.1368, allocations: 8.125 kB / 494.6 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1369, allocations: 57.67 kB / 494.7 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.137, allocations: 4 kB / 494.7 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.137, allocations: 0 / 494.7 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.137, allocations: 0 / 494.7 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.1371, allocations: 19.98 kB / 494.7 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.1374, allocations: 284.9 kB / 495 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1376, allocations: 66.61 kB / 495 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.1377, allocations: 16.86 kB / 495 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.1377, allocations: 0 / 495 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1379, allocations: 71.38 kB / 495.1 MB, free: 5.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1379, allocations: 0 / 495.1 MB, free: 5.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005382/0.1384, allocations: 169.2 kB / 495.3 MB, free: 5.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1385, allocations: 59.41 kB / 495.3 MB, free: 5.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1387, allocations: 198.1 kB / 495.5 MB, free: 5.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1387, allocations: 29.7 kB / 495.6 MB, free: 5.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.1388, allocations: 104.1 kB / 495.7 MB, free: 5.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.1388, allocations: 27.64 kB / 495.7 MB, free: 5.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.1388, allocations: 0 / 495.7 MB, free: 5.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1389, allocations: 330.8 kB / 496 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.139, allocations: 19.98 kB / 496 MB, free: 4.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.139, allocations: 37.7 kB / 496.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1392, allocations: 57.7 kB / 496.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1392, allocations: 0 / 496.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001708/0.1393, allocations: 105.4 kB / 496.2 MB, free: 4.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1394, allocations: 7.938 kB / 496.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1394, allocations: 0 / 496.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1394, allocations: 0 / 496.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.1395, allocations: 20.03 kB / 496.2 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1395, allocations: 7.922 kB / 496.3 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.1396, allocations: 7.938 kB / 496.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1396, allocations: 4 kB / 496.3 MB, free: 4.441 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 9.849e-05/0.1397, allocations: 129.8 kB / 496.4 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.1397, allocations: 11.89 kB / 496.4 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.1398, allocations: 13.41 kB / 496.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1398, allocations: 4 kB / 496.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1398, allocations: 0 / 496.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1398, allocations: 7.938 kB / 496.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.1402, allocations: 403.4 kB / 496.8 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1402, allocations: 384 / 496.8 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.1402, allocations: 8 kB / 496.8 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1403, allocations: 3.984 kB / 496.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1403, allocations: 7.938 kB / 496.8 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1403, allocations: 4 kB / 496.8 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1403, allocations: 0 / 496.8 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.1405, allocations: 204.3 kB / 497 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.1406, allocations: 92.91 kB / 497.1 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1406, allocations: 3.938 kB / 497.1 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.1407, allocations: 8 kB / 497.1 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.1407, allocations: 3.984 kB / 497.2 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1407, allocations: 8 kB / 497.2 MB, free: 3.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1408, allocations: 155.5 kB / 497.3 MB, free: 3.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1408, allocations: 192 / 497.3 MB, free: 3.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.1411, allocations: 24 kB / 497.3 MB, free: 3.27 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.001001/0.1421, allocations: 0.531 MB / 497.9 MB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.1423, allocations: 63.91 kB / 497.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1423, allocations: 0 / 497.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.1424, allocations: 27.92 kB / 498 MB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1427, allocations: 23.98 kB / 498 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.1432, allocations: 258.5 kB / 498.2 MB, free: 2.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1435, allocations: 0.7083 MB / 498.9 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.1436, allocations: 16.88 kB / 499 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.1436, allocations: 15.44 kB / 499 MB, free: 1.707 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1436, allocations: 0 / 499 MB, free: 1.707 MB / 378.7 MB Notification: Performance of Templates: time 0.004084/0.1477, allocations: 1.618 MB / 0.4889 GB, free: 88 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches