Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000979/0.000979, allocations: 173 kB / 16.08 MB, free: 5.57 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.388/1.388, allocations: 205.6 MB / 222.4 MB, free: 8.93 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.0008037/0.0008037, allocations: 91.08 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.3742/0.3742, allocations: 43.68 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 12 kB / 432.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1252, allocations: 58.84 MB / 491.2 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002095/0.1274, allocations: 1.405 MB / 492.6 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1287, allocations: 0.8292 MB / 493.4 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.1288, allocations: 0 / 493.4 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.1291, allocations: 39.83 kB / 493.4 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1293, allocations: 47.83 kB / 493.5 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1295, allocations: 79.84 kB / 493.6 MB, free: 7.355 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1297, allocations: 83.7 kB / 493.6 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.1298, allocations: 20.2 kB / 493.7 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.1299, allocations: 35.8 kB / 493.7 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.1299, allocations: 31.84 kB / 493.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.13, allocations: 0 / 493.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.1301, allocations: 35.98 kB / 493.8 MB, free: 7.152 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.1301, allocations: 27.84 kB / 493.8 MB, free: 7.125 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.1302, allocations: 53.45 kB / 493.8 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1304, allocations: 115.9 kB / 494 MB, free: 6.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1304, allocations: 0 / 494 MB, free: 6.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1304, allocations: 0 / 494 MB, free: 6.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1304, allocations: 0 / 494 MB, free: 6.953 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.0004974/0.1309, allocations: 403 kB / 494.4 MB, free: 6.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.131, allocations: 12.03 kB / 494.4 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.131, allocations: 12.84 kB / 494.4 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1313, allocations: 214.3 kB / 494.6 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1313, allocations: 4.359 kB / 494.6 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1313, allocations: 8.125 kB / 494.6 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1315, allocations: 53.67 kB / 494.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1315, allocations: 0 / 494.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1315, allocations: 0 / 494.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1316, allocations: 0 / 494.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.085e-05/0.1316, allocations: 19.98 kB / 494.7 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.132, allocations: 288.9 kB / 495 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1322, allocations: 62.61 kB / 495 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.1322, allocations: 20.84 kB / 495 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1323, allocations: 4 kB / 495 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.1325, allocations: 67.39 kB / 495.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1325, allocations: 0 / 495.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005456/0.133, allocations: 177.4 kB / 495.3 MB, free: 5.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1331, allocations: 51.41 kB / 495.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1333, allocations: 194.4 kB / 495.5 MB, free: 5.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1333, allocations: 29.7 kB / 495.5 MB, free: 5.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.1334, allocations: 108.1 kB / 495.7 MB, free: 5.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.1334, allocations: 27.7 kB / 495.7 MB, free: 5.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.1334, allocations: 3.938 kB / 495.7 MB, free: 5.031 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1335, allocations: 330.8 kB / 496 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.369e-05/0.1336, allocations: 16 kB / 496 MB, free: 4.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-05/0.1337, allocations: 33.7 kB / 496.1 MB, free: 4.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1338, allocations: 57.7 kB / 496.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1338, allocations: 4 kB / 496.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.134, allocations: 105.4 kB / 496.2 MB, free: 4.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.134, allocations: 7.938 kB / 496.2 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.134, allocations: 128 / 496.2 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1341, allocations: 3.984 kB / 496.2 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.1342, allocations: 20 kB / 496.2 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1342, allocations: 3.938 kB / 496.3 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.1342, allocations: 11.94 kB / 496.3 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1342, allocations: 0 / 496.3 MB, free: 4.422 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.000101/0.1343, allocations: 137.8 kB / 496.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.1344, allocations: 7.906 kB / 496.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.1344, allocations: 17.39 kB / 496.4 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1344, allocations: 4 kB / 496.4 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1344, allocations: 0 / 496.4 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1345, allocations: 3.938 kB / 496.4 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.1349, allocations: 399.2 kB / 496.8 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1349, allocations: 0 / 496.8 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.1349, allocations: 11.98 kB / 496.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1349, allocations: 0 / 496.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.135, allocations: 3.938 kB / 496.8 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.135, allocations: 4 kB / 496.8 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.135, allocations: 0 / 496.8 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1352, allocations: 204.3 kB / 497 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.1353, allocations: 92.91 kB / 497.1 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1353, allocations: 3.938 kB / 497.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1354, allocations: 8 kB / 497.1 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.1354, allocations: 7.984 kB / 497.2 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1355, allocations: 0 / 497.2 MB, free: 3.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1356, allocations: 155.5 kB / 497.3 MB, free: 3.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1356, allocations: 192 / 497.3 MB, free: 3.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002474/0.1359, allocations: 24 kB / 497.3 MB, free: 3.258 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.001095/0.137, allocations: 0.5302 MB / 497.9 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1371, allocations: 63.91 kB / 497.9 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1372, allocations: 4.062 kB / 497.9 MB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.1372, allocations: 23.94 kB / 497.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1376, allocations: 27.97 kB / 498 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.1381, allocations: 254.5 kB / 498.2 MB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1383, allocations: 0.7121 MB / 498.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.1384, allocations: 13.19 kB / 498.9 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.1384, allocations: 19.42 kB / 499 MB, free: 1.691 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1385, allocations: 0 / 499 MB, free: 1.691 MB / 378.7 MB Notification: Performance of Templates: time 0.004193/0.1427, allocations: 1.63 MB / 0.4889 GB, free: 60 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches