Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000875/0.000875, allocations: 180.3 kB / 16.08 MB, free: 5.531 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.353/1.353, 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.0006649/0.0006649, allocations: 90.23 kB / 270.8 MB, free: 13.2 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.1816/0.1816, allocations: 43.69 MB / 362.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004162, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1261, allocations: 58.85 MB / 491.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002342/0.1285, allocations: 1.266 MB / 492.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1304, allocations: 1.054 MB / 493.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.1305, allocations: 4 kB / 493.5 MB, free: 5.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.1308, allocations: 23.84 kB / 493.5 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.131, allocations: 31.92 kB / 493.5 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.1314, allocations: 83.83 kB / 493.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1315, allocations: 43.91 kB / 493.7 MB, free: 5.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1317, allocations: 16 kB / 493.7 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/0.1317, allocations: 31.78 kB / 493.7 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1319, allocations: 20.94 kB / 493.7 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1319, allocations: 0 / 493.7 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1321, allocations: 47.91 kB / 493.8 MB, free: 5.457 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.1321, allocations: 4 kB / 493.8 MB, free: 5.453 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.1322, allocations: 45.56 kB / 493.8 MB, free: 5.402 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1324, allocations: 87.98 kB / 493.9 MB, free: 5.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.1325, allocations: 4 kB / 493.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1325, allocations: 7.938 kB / 493.9 MB, free: 5.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1325, allocations: 0 / 493.9 MB, free: 5.305 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005227/0.133, allocations: 359.4 kB / 494.3 MB, free: 4.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1331, allocations: 12.03 kB / 494.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.1331, allocations: 8.844 kB / 494.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1334, allocations: 188.2 kB / 494.5 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1334, allocations: 8.359 kB / 494.5 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1335, allocations: 384 / 494.5 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1337, allocations: 71.53 kB / 494.6 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1337, allocations: 3.938 kB / 494.6 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1337, allocations: 0 / 494.6 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1337, allocations: 0 / 494.6 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1339, allocations: 31.97 kB / 494.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.1344, allocations: 284.8 kB / 494.9 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.1347, allocations: 50.5 kB / 494.9 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/0.1348, allocations: 16.94 kB / 494.9 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1348, allocations: 0 / 494.9 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1348, allocations: 38.56 kB / 495 MB, free: 4.086 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1348, allocations: 0 / 495 MB, free: 4.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007781/0.1356, allocations: 161.4 kB / 495.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.1357, allocations: 77.11 kB / 495.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1359, allocations: 129.8 kB / 495.3 MB, free: 3.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1359, allocations: 29.7 kB / 495.4 MB, free: 3.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.136, allocations: 92.08 kB / 495.5 MB, free: 3.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.136, allocations: 19.7 kB / 495.5 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.136, allocations: 4 kB / 495.5 MB, free: 3.539 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1361, allocations: 318.8 kB / 495.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.1363, allocations: 23.98 kB / 495.8 MB, free: 3.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1364, allocations: 45.69 kB / 495.9 MB, free: 3.145 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.1366, allocations: 68.98 kB / 495.9 MB, free: 3.074 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1366, allocations: 0 / 495.9 MB, free: 3.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002777/0.1369, allocations: 85.61 kB / 496 MB, free: 2.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.137, allocations: 11.98 kB / 496 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.137, allocations: 7.938 kB / 496 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.137, allocations: 0 / 496 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.1371, allocations: 12 kB / 496 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1371, allocations: 0 / 496 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.1372, allocations: 11.98 kB / 496.1 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1372, allocations: 0 / 496.1 MB, free: 2.941 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 (5): * Single equations (assignments): 5 * 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 9.952e-05/0.1373, allocations: 121.8 kB / 496.2 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.1374, allocations: 3.906 kB / 496.2 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.1378, allocations: 113.5 kB / 496.3 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1378, allocations: 0 / 496.3 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1378, allocations: 0 / 496.3 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1378, allocations: 0 / 496.3 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.1385, allocations: 366.5 kB / 496.6 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1385, allocations: 0 / 496.6 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-05/0.1386, allocations: 19.92 kB / 496.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1386, allocations: 0 / 496.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1386, allocations: 0 / 496.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1386, allocations: 3.938 kB / 496.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1386, allocations: 4 kB / 496.7 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.139, allocations: 191.6 kB / 496.9 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.139, allocations: 85.02 kB / 496.9 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1391, allocations: 0 / 496.9 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1392, allocations: 19.92 kB / 497 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1393, allocations: 288 / 497 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1393, allocations: 4 kB / 497 MB, free: 1.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1394, allocations: 111.2 kB / 497.1 MB, free: 1.812 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1394, allocations: 0 / 497.1 MB, free: 1.812 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004236/0.1398, allocations: 16 kB / 497.1 MB, free: 1.797 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 (5): * Single equations (assignments): 5 * 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.001483/0.1413, allocations: 0.5182 MB / 497.6 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.1416, allocations: 55.95 kB / 497.7 MB, free: 1.355 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1417, allocations: 0 / 497.7 MB, free: 1.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1418, allocations: 31.98 kB / 497.7 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.1423, allocations: 15.98 kB / 497.7 MB, free: 1.309 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.1428, allocations: 176.6 kB / 497.9 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1431, allocations: 0.6965 MB / 498.6 MB, free: 396 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1432, allocations: 11.98 kB / 498.6 MB, free: 384 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.1433, allocations: 11.44 kB / 498.6 MB, free: 372 kB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1433, allocations: 3.938 kB / 498.6 MB, free: 368 kB / 330.7 MB Notification: Performance of Templates: time 0.005107/0.1484, allocations: 1.308 MB / 499.9 MB, free: 15.06 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches