Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 182.3 kB / 16.08 MB, free: 5.523 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.283/1.283, allocations: 205.6 MB / 222.4 MB, free: 13.66 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.0007002/0.0006998, allocations: 98.23 kB / 270.8 MB, free: 13.18 MB / 234.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.1894/0.1894, allocations: 43.68 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003159, allocations: 8 kB / 432.3 MB, free: 19.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 58.86 MB / 491.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002236/0.132, allocations: 1.279 MB / 492.4 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000752/0.1328, allocations: 369 kB / 492.8 MB, free: 6.438 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.1329, allocations: 7.938 kB / 492.8 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.1332, allocations: 95.75 kB / 492.9 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.1334, allocations: 63.86 kB / 493 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1337, allocations: 59.84 kB / 493 MB, free: 6.215 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1339, allocations: 75.81 kB / 493.1 MB, free: 6.141 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.134, allocations: 16.47 kB / 493.1 MB, free: 6.125 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.1341, allocations: 35.89 kB / 493.2 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1342, allocations: 51.83 kB / 493.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1343, allocations: 0 / 493.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.1344, allocations: 31.92 kB / 493.2 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.1344, allocations: 23.92 kB / 493.3 MB, free: 5.984 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.1345, allocations: 53.45 kB / 493.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1347, allocations: 107.5 kB / 493.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1348, allocations: 0 / 493.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1348, allocations: 0 / 493.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1348, allocations: 4 kB / 493.4 MB, free: 5.816 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005191/0.1353, allocations: 387.2 kB / 493.8 MB, free: 5.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1354, allocations: 8.031 kB / 493.8 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.1354, allocations: 16.75 kB / 493.8 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1357, allocations: 204 kB / 494 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1357, allocations: 8.375 kB / 494 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1357, allocations: 4.375 kB / 494 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1359, allocations: 65.59 kB / 494.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.136, allocations: 0 / 494.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.136, allocations: 0 / 494.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.136, allocations: 0 / 494.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1362, allocations: 39.97 kB / 494.1 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.1367, allocations: 304.7 kB / 494.4 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1368, allocations: 54.55 kB / 494.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/0.1369, allocations: 16.98 kB / 494.5 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.137, allocations: 4 kB / 494.5 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.137, allocations: 34.56 kB / 494.5 MB, free: 4.531 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 3.226e-06/0.137, allocations: 3.984 kB / 494.5 MB, free: 4.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008266/0.1379, allocations: 209.1 kB / 494.7 MB, free: 4.316 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1379, allocations: 51.41 kB / 494.8 MB, free: 4.254 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.1382, allocations: 234.3 kB / 495 MB, free: 4.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1383, allocations: 29.64 kB / 495.1 MB, free: 3.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.1383, allocations: 104.1 kB / 495.2 MB, free: 3.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.1384, allocations: 31.5 kB / 495.2 MB, free: 3.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.1384, allocations: 0 / 495.2 MB, free: 3.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1386, allocations: 334.8 kB / 495.5 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1387, allocations: 27.98 kB / 495.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1388, allocations: 27.92 kB / 495.6 MB, free: 3.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.139, allocations: 72.83 kB / 495.6 MB, free: 3.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1391, allocations: 0 / 495.6 MB, free: 3.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003315/0.1394, allocations: 105.6 kB / 495.7 MB, free: 3.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1394, allocations: 4 kB / 495.7 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1394, allocations: 0 / 495.7 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.1395, allocations: 8 kB / 495.8 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1396, allocations: 19.92 kB / 495.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1397, allocations: 4 kB / 495.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.533e-05/0.1398, allocations: 11.92 kB / 495.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1398, allocations: 0 / 495.8 MB, free: 3.223 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001333/0.1399, allocations: 133.8 kB / 495.9 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.14, allocations: 11.81 kB / 495.9 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.1404, allocations: 123.4 kB / 496.1 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1404, allocations: 11.94 kB / 496.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1404, allocations: 0 / 496.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1405, allocations: 3.938 kB / 496.1 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.1412, allocations: 402.9 kB / 496.5 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1412, allocations: 0 / 496.5 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1413, allocations: 19.94 kB / 496.5 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1413, allocations: 3.938 kB / 496.5 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.1413, allocations: 11.98 kB / 496.5 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1413, allocations: 0 / 496.5 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1414, allocations: 4 kB / 496.5 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.1417, allocations: 199.3 kB / 496.7 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.1418, allocations: 89 kB / 496.8 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1418, allocations: 3.938 kB / 496.8 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.142, allocations: 12 kB / 496.8 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.142, allocations: 7.984 kB / 496.8 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.142, allocations: 3.938 kB / 496.8 MB, free: 2.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002045/0.1423, allocations: 176.2 kB / 497 MB, free: 1.926 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1423, allocations: 0 / 497 MB, free: 1.926 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004078/0.1427, allocations: 20 kB / 497 MB, free: 1.906 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001354/0.1441, allocations: 472.4 kB / 497.5 MB, free: 1.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.1444, allocations: 67.97 kB / 497.5 MB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1444, allocations: 0 / 497.5 MB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.1445, allocations: 43.91 kB / 497.6 MB, free: 1.461 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.145, allocations: 20.41 kB / 497.6 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/0.1456, allocations: 289.2 kB / 497.9 MB, free: 1.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.146, allocations: 0.716 MB / 498.6 MB, free: 400 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.1461, allocations: 12.64 kB / 498.6 MB, free: 388 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.1462, allocations: 19.38 kB / 498.6 MB, free: 368 kB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1462, allocations: 0 / 498.6 MB, free: 368 kB / 330.7 MB Notification: Performance of Templates: time 0.004865/0.1511, allocations: 1.13 MB / 499.8 MB, free: 15.23 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches