Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, 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.387/1.387, 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.0008502/0.0008502, 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.368/0.368, allocations: 43.67 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003302, allocations: 8 kB / 432.3 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 58.84 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002104/0.136, allocations: 1.365 MB / 492.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1373, allocations: 0.8109 MB / 493.3 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.1374, allocations: 3.938 kB / 493.3 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.1378, allocations: 51.86 kB / 493.4 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.138, allocations: 59.81 kB / 493.5 MB, free: 7.477 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.1382, allocations: 67.84 kB / 493.5 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1383, allocations: 95.69 kB / 493.6 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.1384, allocations: 7.984 kB / 493.6 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.1385, allocations: 43.77 kB / 493.7 MB, free: 7.266 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.1386, allocations: 31.8 kB / 493.7 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1386, allocations: 0 / 493.7 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.1387, allocations: 24 kB / 493.7 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.1388, allocations: 31.91 kB / 493.8 MB, free: 7.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.1388, allocations: 65.36 kB / 493.8 MB, free: 7.109 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.139, allocations: 111.9 kB / 493.9 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.139, allocations: 0 / 493.9 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.139, allocations: 0 / 493.9 MB, free: 7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1391, 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005502/0.1396, allocations: 418.8 kB / 494.3 MB, free: 6.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1397, allocations: 12.03 kB / 494.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.1397, allocations: 16.73 kB / 494.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.14, allocations: 215.8 kB / 494.6 MB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.14, allocations: 4.375 kB / 494.6 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.14, allocations: 4.125 kB / 494.6 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1402, allocations: 45.67 kB / 494.6 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1402, allocations: 4 kB / 494.6 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1402, allocations: 0 / 494.6 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1402, allocations: 0 / 494.6 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.032e-05/0.1403, allocations: 19.92 kB / 494.7 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.1405, allocations: 193.7 kB / 494.8 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.1407, allocations: 46.62 kB / 494.9 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.1407, allocations: 24.78 kB / 494.9 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1408, allocations: 11.92 kB / 494.9 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.141, allocations: 63.39 kB / 495 MB, free: 5.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.484e-06/0.141, allocations: 4 kB / 495 MB, free: 5.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002911/0.1413, allocations: 97.42 kB / 495.1 MB, free: 5.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1413, allocations: 55.41 kB / 495.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1416, allocations: 251.7 kB / 495.4 MB, free: 5.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1416, allocations: 29.7 kB / 495.4 MB, free: 5.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.1417, allocations: 108.1 kB / 495.5 MB, free: 5.203 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1417, allocations: 19.83 kB / 495.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1417, allocations: 0 / 495.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1418, allocations: 330.8 kB / 495.9 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.1419, allocations: 12 kB / 495.9 MB, free: 4.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.002e-05/0.1419, allocations: 25.7 kB / 495.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.142, allocations: 49.64 kB / 495.9 MB, free: 4.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.142, allocations: 0 / 495.9 MB, free: 4.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001414/0.1422, allocations: 89.38 kB / 496 MB, free: 4.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1422, allocations: 8.031 kB / 496 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1422, allocations: 0 / 496 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1422, allocations: 0 / 496 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.1423, allocations: 15.98 kB / 496.1 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1423, allocations: 0 / 496.1 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.1424, allocations: 7.938 kB / 496.1 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1424, allocations: 4.312 kB / 496.1 MB, free: 4.625 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 0.0001019/0.1425, allocations: 133.8 kB / 496.2 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.1425, allocations: 11.81 kB / 496.2 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.1426, allocations: 24.98 kB / 496.2 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1426, allocations: 0 / 496.2 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1426, allocations: 4 kB / 496.2 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1426, allocations: 0 / 496.2 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.1427, allocations: 201.6 kB / 496.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1428, allocations: 0 / 496.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.1428, allocations: 7.938 kB / 496.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.1428, allocations: 0 / 496.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1428, allocations: 0 / 496.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1428, allocations: 0 / 496.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1428, allocations: 3.984 kB / 496.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.143, allocations: 120.9 kB / 496.6 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.1431, allocations: 92.91 kB / 496.7 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1431, allocations: 0 / 496.7 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.541e-05/0.1431, allocations: 0 / 496.7 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.1432, allocations: 8 kB / 496.7 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1432, allocations: 7.984 kB / 496.7 MB, free: 3.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1433, allocations: 203 kB / 496.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.104e-06/0.1434, allocations: 0 / 496.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.1436, allocations: 19.94 kB / 496.9 MB, free: 3.707 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.0009727/0.1445, allocations: 473.8 kB / 497.4 MB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.1447, allocations: 39.98 kB / 497.4 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1447, allocations: 0 / 497.4 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.1448, allocations: 19.98 kB / 497.4 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.145, allocations: 43.72 kB / 497.5 MB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.1455, allocations: 277.9 kB / 497.7 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1458, allocations: 0.7121 MB / 498.4 MB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.1458, allocations: 12.5 kB / 498.4 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.1459, allocations: 23.42 kB / 498.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1459, allocations: 0 / 498.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of Templates: time 0.004208/0.1501, allocations: 1.436 MB / 499.9 MB, free: 0.7617 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches