Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009311/0.0009312, allocations: 174.5 kB / 16.08 MB, free: 5.723 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.45/1.45, allocations: 205.6 MB / 222.4 MB, free: 8.926 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.0009007/0.0009011, allocations: 87.16 kB / 270.8 MB, free: 8.113 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.3316/0.3316, allocations: 43.68 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002905, allocations: 12 kB / 432.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.122, allocations: 58.85 MB / 491.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001854/0.1239, allocations: 1.402 MB / 492.6 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.126, allocations: 1.483 MB / 494.1 MB, free: 6.855 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.1261, allocations: 4 kB / 494.1 MB, free: 6.852 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.1264, allocations: 35.84 kB / 494.1 MB, free: 6.816 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.1266, allocations: 43.83 kB / 494.1 MB, free: 6.773 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1269, allocations: 75.84 kB / 494.2 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1271, allocations: 91.69 kB / 494.3 MB, free: 6.609 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.1272, allocations: 12.22 kB / 494.3 MB, free: 6.598 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.825e-05/0.1273, allocations: 35.8 kB / 494.3 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.1275, allocations: 47.77 kB / 494.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1275, allocations: 0 / 494.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1277, allocations: 47.98 kB / 494.4 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.1277, allocations: 19.91 kB / 494.5 MB, free: 6.449 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.566e-05/0.1278, allocations: 57.5 kB / 494.5 MB, free: 6.387 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.128, allocations: 119.9 kB / 494.6 MB, free: 6.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.128, allocations: 4 kB / 494.6 MB, free: 6.266 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.128, allocations: 4 kB / 494.6 MB, free: 6.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1281, allocations: 0 / 494.6 MB, free: 6.262 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.000524/0.1286, allocations: 387.2 kB / 495 MB, free: 5.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1286, allocations: 12.03 kB / 495 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.1287, allocations: 8.844 kB / 495 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.129, allocations: 212 kB / 495.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.129, allocations: 384 / 495.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.129, allocations: 8.125 kB / 495.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1292, allocations: 67.39 kB / 495.3 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1293, allocations: 4 kB / 495.3 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1293, allocations: 7.938 kB / 495.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1293, allocations: 0 / 495.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.262e-05/0.1294, allocations: 23.92 kB / 495.4 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.1298, allocations: 276.9 kB / 495.6 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.13, allocations: 54.67 kB / 495.7 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.13, allocations: 28.8 kB / 495.7 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.1301, allocations: 3.938 kB / 495.7 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.1303, allocations: 63.39 kB / 495.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1303, allocations: 0 / 495.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005697/0.1309, allocations: 173.2 kB / 495.9 MB, free: 4.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.1309, allocations: 77.11 kB / 496 MB, free: 4.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1311, allocations: 157.1 kB / 496.2 MB, free: 4.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1311, allocations: 29.7 kB / 496.2 MB, free: 4.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.1312, allocations: 100 kB / 496.3 MB, free: 4.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.1312, allocations: 23.73 kB / 496.3 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.1312, allocations: 0 / 496.3 MB, free: 4.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1314, allocations: 322.8 kB / 496.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.1314, allocations: 23.98 kB / 496.7 MB, free: 4.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.1315, allocations: 50.56 kB / 496.7 MB, free: 3.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1317, allocations: 57.66 kB / 496.8 MB, free: 3.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1317, allocations: 0 / 496.8 MB, free: 3.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.1319, allocations: 101.4 kB / 496.9 MB, free: 3.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1319, allocations: 4 kB / 496.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1319, allocations: 4 kB / 496.9 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1319, allocations: 384 / 496.9 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.132, allocations: 15.98 kB / 496.9 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1321, allocations: 4.062 kB / 496.9 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.1321, allocations: 11.94 kB / 496.9 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1322, allocations: 8 kB / 496.9 MB, free: 3.746 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.0001015/0.1323, allocations: 113.8 kB / 497 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.1323, allocations: 11.91 kB / 497 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.1323, allocations: 12.7 kB / 497 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1324, allocations: 7.938 kB / 497.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1324, allocations: 0 / 497.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1324, allocations: 7.938 kB / 497.1 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.1329, allocations: 383.4 kB / 497.4 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1329, allocations: 3.938 kB / 497.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.1329, allocations: 11.98 kB / 497.5 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1329, allocations: 3.938 kB / 497.5 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.133, allocations: 7.938 kB / 497.5 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.133, allocations: 0 / 497.5 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.133, allocations: 0 / 497.5 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1332, allocations: 200.5 kB / 497.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.1333, allocations: 88.98 kB / 497.7 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.1333, allocations: 15.88 kB / 497.8 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.1334, allocations: 4 kB / 497.8 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1335, allocations: 11.92 kB / 497.8 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1335, allocations: 0 / 497.8 MB, free: 2.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1336, allocations: 119.2 kB / 497.9 MB, free: 2.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1336, allocations: 4 kB / 497.9 MB, free: 2.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003/0.1339, allocations: 28 kB / 497.9 MB, free: 2.629 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.00124/0.1352, allocations: 0.5787 MB / 498.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.1354, allocations: 59.92 kB / 498.6 MB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1354, allocations: 0 / 498.6 MB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.1355, allocations: 23.98 kB / 498.6 MB, free: 2.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1359, allocations: 36.03 kB / 498.6 MB, free: 2.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.1364, allocations: 214.3 kB / 498.8 MB, free: 1.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1367, allocations: 0.7043 MB / 499.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.41e-05/0.1368, allocations: 16.88 kB / 499.6 MB, free: 1.074 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.1368, allocations: 23.42 kB / 499.6 MB, free: 1.051 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1368, allocations: 0 / 499.6 MB, free: 1.051 MB / 378.7 MB Notification: Performance of Templates: time 0.1703/0.3071, allocations: 1.863 MB / 0.4897 GB, free: 42.59 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches