Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 183 kB / 16.63 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.1 MB / 222.5 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009831/0.0009832, allocations: 97.94 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3806/0.3806, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1309, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.003418/0.1344, allocations: 1.613 MB / 488.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006505/0.135, allocations: 331.5 kB / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.1351, allocations: 0 / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.1354, allocations: 87.8 kB / 489 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1356, allocations: 63.86 kB / 489.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1359, allocations: 87.77 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.136, allocations: 71.88 kB / 489.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1361, allocations: 15.98 kB / 489.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.137e-05/0.1362, allocations: 31.78 kB / 489.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1363, allocations: 47.89 kB / 489.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1363, allocations: 0 / 489.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.1364, allocations: 27.98 kB / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.1365, allocations: 19.92 kB / 489.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.1365, allocations: 27.75 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1367, allocations: 99.92 kB / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1367, allocations: 0 / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1367, allocations: 0 / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1367, allocations: 0 / 489.5 MB, free: 10.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000557/0.1373, allocations: 406.9 kB / 489.9 MB, free: 9.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1373, allocations: 8.031 kB / 489.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.1374, allocations: 16.83 kB / 489.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.1376, allocations: 196.7 kB / 490.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1376, allocations: 8.375 kB / 490.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1376, allocations: 4.375 kB / 490.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1378, allocations: 53.8 kB / 490.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1378, allocations: 0 / 490.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1378, allocations: 0 / 490.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1378, allocations: 0 / 490.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.1379, allocations: 27.92 kB / 490.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.1383, allocations: 292.8 kB / 490.5 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.1385, allocations: 46.55 kB / 490.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.733e-05/0.1386, allocations: 20.94 kB / 490.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1386, allocations: 0 / 490.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.1386, allocations: 38.44 kB / 490.6 MB, free: 8.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1387, allocations: 0 / 490.6 MB, free: 8.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005392/0.1392, allocations: 157.2 kB / 490.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1392, allocations: 55.34 kB / 490.8 MB, free: 8.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1395, allocations: 222.3 kB / 491 MB, free: 8.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1395, allocations: 29.7 kB / 491.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.1396, allocations: 104 kB / 491.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.1396, allocations: 19.73 kB / 491.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.1396, allocations: 21.72 kB / 491.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1397, allocations: 326.8 kB / 491.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/0.1398, allocations: 19.98 kB / 491.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.1399, allocations: 24.05 kB / 491.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.14, allocations: 48.83 kB / 491.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.14, allocations: 0 / 491.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001822/0.1402, allocations: 93.56 kB / 491.7 MB, free: 7.602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1402, allocations: 11.88 kB / 491.7 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1402, allocations: 0 / 491.7 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1403, allocations: 0 / 491.7 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.1403, allocations: 15.98 kB / 491.7 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1403, allocations: 0 / 491.7 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.691e-05/0.1404, allocations: 4 kB / 491.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1404, allocations: 0 / 491.7 MB, free: 7.57 MB / 378.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 0.0001138/0.1405, allocations: 137.8 kB / 491.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1406, allocations: 11.81 kB / 491.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.1408, allocations: 102.6 kB / 492 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1408, allocations: 3.938 kB / 492 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1408, allocations: 0 / 492 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1408, allocations: 0 / 492 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.1413, allocations: 362.7 kB / 492.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1413, allocations: 4.062 kB / 492.3 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.1413, allocations: 19.98 kB / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1413, allocations: 0 / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1414, allocations: 0 / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1414, allocations: 3.938 kB / 492.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1414, allocations: 4 kB / 492.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.1419, allocations: 0.7706 MB / 493.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.142, allocations: 92.86 kB / 493.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.142, allocations: 0 / 493.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.1421, allocations: 4 kB / 493.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1421, allocations: 3.984 kB / 493.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1421, allocations: 4 kB / 493.2 MB, free: 5.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1423, allocations: 175.2 kB / 493.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1423, allocations: 3.938 kB / 493.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003208/0.1426, allocations: 19.98 kB / 493.4 MB, free: 5.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: 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.000832/0.1434, allocations: 398.2 kB / 493.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.1436, allocations: 55.95 kB / 493.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1437, allocations: 0 / 493.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/0.1437, allocations: 31.92 kB / 493.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1441, allocations: 19.92 kB / 493.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.1447, allocations: 379 kB / 494.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.145, allocations: 0.7043 MB / 495 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.98e-05/0.145, allocations: 19.83 kB / 495 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.1451, allocations: 15.38 kB / 495 MB, free: 4.082 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1451, allocations: 3.938 kB / 495 MB, free: 4.078 MB / 378.7 MB Notification: Performance of Templates: time 0.003455/0.1485, allocations: 1.098 MB / 496.1 MB, free: 2.98 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches