Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 170.4 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.366/1.366, 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.0007304/0.0007306, allocations: 90.73 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.3596/0.3596, allocations: 43.67 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 12 kB / 432.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1265, allocations: 58.83 MB / 491.2 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002012/0.1285, allocations: 1.409 MB / 492.6 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1297, allocations: 0.8292 MB / 493.4 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.1298, allocations: 0 / 493.4 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.1301, allocations: 47.81 kB / 493.4 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.1303, allocations: 55.81 kB / 493.5 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1306, allocations: 75.84 kB / 493.6 MB, free: 7.371 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1307, allocations: 91.7 kB / 493.7 MB, free: 7.281 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.1308, allocations: 12.2 kB / 493.7 MB, free: 7.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.921e-05/0.1309, allocations: 43.78 kB / 493.7 MB, free: 7.227 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.131, allocations: 31.86 kB / 493.7 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.131, allocations: 0 / 493.7 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.1311, allocations: 31.98 kB / 493.8 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.1312, allocations: 27.84 kB / 493.8 MB, free: 7.137 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.1313, allocations: 69.38 kB / 493.9 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1315, allocations: 115.9 kB / 494 MB, free: 6.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1315, allocations: 0 / 494 MB, free: 6.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1315, allocations: 0 / 494 MB, free: 6.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1315, allocations: 0 / 494 MB, free: 6.949 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.0005651/0.1321, allocations: 407 kB / 494.4 MB, free: 6.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1321, allocations: 8.031 kB / 494.4 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.1322, allocations: 16.75 kB / 494.4 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1324, allocations: 220.5 kB / 494.6 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1325, allocations: 384 / 494.6 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.1325, allocations: 12.03 kB / 494.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1326, allocations: 53.67 kB / 494.7 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1327, allocations: 4 kB / 494.7 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1327, allocations: 0 / 494.7 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1327, allocations: 3.984 kB / 494.7 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.879e-05/0.1328, allocations: 20 kB / 494.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.1331, allocations: 292.8 kB / 495 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1333, allocations: 58.61 kB / 495.1 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.1334, allocations: 20.84 kB / 495.1 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.1334, allocations: 8 kB / 495.1 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.1336, allocations: 63.39 kB / 495.1 MB, free: 5.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1336, allocations: 0 / 495.1 MB, free: 5.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005231/0.1341, allocations: 177.1 kB / 495.3 MB, free: 5.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.1342, allocations: 55.41 kB / 495.4 MB, free: 5.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1344, allocations: 218.7 kB / 495.6 MB, free: 5.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1344, allocations: 29.7 kB / 495.6 MB, free: 5.113 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.1345, allocations: 108.1 kB / 495.7 MB, free: 5.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1345, allocations: 27.64 kB / 495.7 MB, free: 4.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.1345, allocations: 8 kB / 495.8 MB, free: 4.969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1347, allocations: 330.7 kB / 496.1 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.1347, allocations: 19.98 kB / 496.1 MB, free: 4.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/0.1348, allocations: 37.7 kB / 496.1 MB, free: 4.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.1349, allocations: 57.7 kB / 496.2 MB, free: 4.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1349, allocations: 0 / 496.2 MB, free: 4.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001733/0.1351, allocations: 97.53 kB / 496.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1351, allocations: 8 kB / 496.3 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1352, allocations: 0 / 496.3 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1352, allocations: 0 / 496.3 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.1353, allocations: 15.98 kB / 496.3 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.1353, allocations: 7.938 kB / 496.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.1353, allocations: 11.91 kB / 496.3 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1354, allocations: 4 kB / 496.3 MB, free: 4.363 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.0001002/0.1355, allocations: 129.8 kB / 496.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.1355, allocations: 15.81 kB / 496.5 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.1355, allocations: 17.39 kB / 496.5 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1355, allocations: 0 / 496.5 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1356, allocations: 0 / 496.5 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1356, allocations: 7.938 kB / 496.5 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.136, allocations: 395.3 kB / 496.9 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.136, allocations: 0 / 496.9 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.136, allocations: 15.98 kB / 496.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.136, allocations: 0 / 496.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.136, allocations: 4.312 kB / 496.9 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.136, allocations: 4 kB / 496.9 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.136, allocations: 4 kB / 496.9 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.1363, allocations: 212.2 kB / 497.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.1363, allocations: 92.91 kB / 497.2 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1363, allocations: 3.938 kB / 497.2 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.1364, allocations: 4 kB / 497.2 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.1365, allocations: 11.98 kB / 497.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1365, allocations: 4 kB / 497.2 MB, free: 3.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.1366, allocations: 168.3 kB / 497.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1366, allocations: 192 / 497.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.1369, allocations: 31.98 kB / 497.4 MB, free: 3.16 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.0009771/0.1378, allocations: 0.5262 MB / 498 MB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.138, allocations: 67.89 kB / 498 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.138, allocations: 0 / 498 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.1381, allocations: 23.94 kB / 498 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1384, allocations: 31.97 kB / 498.1 MB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.1389, allocations: 286.2 kB / 498.4 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.1391, allocations: 0.7043 MB / 499.1 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.1392, allocations: 17.17 kB / 499.1 MB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.1392, allocations: 19.44 kB / 499.1 MB, free: 1.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1392, allocations: 0 / 499.1 MB, free: 1.57 MB / 378.7 MB Notification: Performance of Templates: time 0.208/0.3473, allocations: 1.635 MB / 0.489 GB, free: 42.65 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches