Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001246, allocations: 173.9 kB / 16.08 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.366/1.366, 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.0008141/0.0008142, allocations: 90.8 kB / 270.8 MB, free: 8.121 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.3757/0.3757, allocations: 43.67 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 8 kB / 432.3 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 58.85 MB / 491.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002275/0.1342, allocations: 1.534 MB / 492.7 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1356, allocations: 0.9149 MB / 493.6 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.1357, allocations: 0 / 493.6 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.1361, allocations: 151.6 kB / 493.8 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.1364, allocations: 123.6 kB / 493.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.1368, allocations: 135.8 kB / 494 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.1371, allocations: 203.4 kB / 494.2 MB, free: 6.711 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1372, allocations: 37.52 kB / 494.3 MB, free: 6.672 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1374, allocations: 87.61 kB / 494.3 MB, free: 6.586 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.1375, allocations: 115.6 kB / 494.5 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.1376, allocations: 4 kB / 494.5 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1377, allocations: 43.92 kB / 494.5 MB, free: 6.426 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.1378, allocations: 39.83 kB / 494.5 MB, free: 6.387 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.178e-05/0.1379, allocations: 97.19 kB / 494.6 MB, free: 6.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1381, allocations: 187.5 kB / 494.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1381, allocations: 0 / 494.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.538e-06/0.1381, allocations: 0 / 494.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1382, allocations: 3.938 kB / 494.8 MB, free: 6.098 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007535/0.1389, allocations: 498.3 kB / 495.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.139, allocations: 8.031 kB / 495.3 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.139, allocations: 28.56 kB / 495.3 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.1394, allocations: 267.6 kB / 495.6 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1394, allocations: 4.375 kB / 495.6 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.1394, allocations: 16.06 kB / 495.6 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.1397, allocations: 91.36 kB / 495.7 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1397, allocations: 0 / 495.7 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1397, allocations: 4 kB / 495.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1397, allocations: 0 / 495.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1398, allocations: 35.97 kB / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.1404, allocations: 448.9 kB / 496.2 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.1407, allocations: 117.2 kB / 496.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.1407, allocations: 37.7 kB / 496.3 MB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.335e-05/0.1408, allocations: 7.984 kB / 496.4 MB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.1411, allocations: 116.9 kB / 496.5 MB, free: 4.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.1411, allocations: 4 kB / 496.5 MB, free: 4.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008258/0.1419, allocations: 348.1 kB / 496.8 MB, free: 3.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.142, allocations: 81.05 kB / 496.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.1423, allocations: 351 kB / 497.2 MB, free: 3.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1423, allocations: 37.62 kB / 497.3 MB, free: 3.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.1424, allocations: 140.4 kB / 497.4 MB, free: 3.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.1425, allocations: 47.34 kB / 497.5 MB, free: 3.234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.1425, allocations: 8 kB / 497.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1426, allocations: 334.8 kB / 497.8 MB, free: 2.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.515e-05/0.1427, allocations: 43.97 kB / 497.8 MB, free: 2.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1429, allocations: 71.02 kB / 497.9 MB, free: 2.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.1431, allocations: 119.4 kB / 498 MB, free: 2.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1431, allocations: 0 / 498 MB, free: 2.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003085/0.1434, allocations: 177.2 kB / 498.2 MB, free: 2.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1434, allocations: 8 kB / 498.2 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1434, allocations: 0 / 498.2 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1435, allocations: 0 / 498.2 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1436, allocations: 40.67 kB / 498.2 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1436, allocations: 3.938 kB / 498.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.259e-05/0.1437, allocations: 16.05 kB / 498.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1437, allocations: 8 kB / 498.3 MB, free: 2.387 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001436/0.1439, allocations: 153.8 kB / 498.4 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1439, allocations: 23.72 kB / 498.4 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.144, allocations: 30.05 kB / 498.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.144, allocations: 0 / 498.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.144, allocations: 11.94 kB / 498.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.144, allocations: 3.984 kB / 498.5 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007135/0.1447, allocations: 0.6201 MB / 499.1 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1448, allocations: 0 / 499.1 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.1448, allocations: 19.94 kB / 499.1 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1448, allocations: 4 kB / 499.1 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.1449, allocations: 7.984 kB / 499.1 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1449, allocations: 4.062 kB / 499.1 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1449, allocations: 4 kB / 499.1 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.1452, allocations: 360.1 kB / 499.5 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.1453, allocations: 100.8 kB / 499.6 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1454, allocations: 4 kB / 499.6 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1455, allocations: 12 kB / 499.6 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.1456, allocations: 15.92 kB / 499.6 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.1456, allocations: 15.98 kB / 499.6 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002373/0.1458, allocations: 257.9 kB / 499.9 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1459, allocations: 0 / 499.9 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.1462, allocations: 40 kB / 499.9 MB, free: 0.6016 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001053/0.1472, allocations: 0.5303 MB / 0.4887 GB, free: 208 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1475, allocations: 119.8 kB / 0.4888 GB, free: 88 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1475, allocations: 0 / 0.4888 GB, free: 88 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1476, allocations: 64.03 kB / 0.4889 GB, free: 24 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2013/0.349, allocations: 49.88 kB / 0.489 GB, free: 43.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3501, allocations: 488.8 kB / 0.4894 GB, free: 43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3504, allocations: 0.7489 MB / 0.4902 GB, free: 42.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.3505, allocations: 33.92 kB / 0.4902 GB, free: 42.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.3506, allocations: 24.38 kB / 0.4902 GB, free: 42.3 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3506, allocations: 0 / 0.4902 GB, free: 42.3 MB / 378.7 MB Notification: Performance of Templates: time 0.007015/0.3576, allocations: 2.543 MB / 0.4927 GB, free: 42.19 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches