Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 93.14 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 186.5 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2347/0.2347, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.001893/0.1442, allocations: 1.275 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007541/0.1449, allocations: 375.6 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.145, allocations: 0 / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.1453, allocations: 119.7 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.1455, allocations: 71.83 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1458, allocations: 99.39 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1459, allocations: 59.91 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.679e-05/0.146, allocations: 12.17 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.1461, allocations: 43.83 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1462, allocations: 59.86 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.1462, allocations: 0 / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.238e-05/0.1463, allocations: 31.92 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.1463, allocations: 27.86 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.1464, allocations: 41.64 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1465, allocations: 83.86 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1465, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1465, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1465, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004314/0.147, allocations: 415 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.147, allocations: 12.56 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.1471, allocations: 11.81 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1473, allocations: 202.7 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1473, allocations: 8 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1473, allocations: 0 / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1474, allocations: 65.56 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1475, allocations: 3.906 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1475, allocations: 4 kB / 474.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-06/0.1475, allocations: 0 / 474.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.17e-05/0.1476, allocations: 31.97 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.148, allocations: 308.8 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.968e-05/0.1481, allocations: 54.5 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1481, allocations: 0 / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1482, allocations: 34.56 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.1482, allocations: 0 / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008469/0.149, allocations: 273.4 kB / 475.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1491, allocations: 55.41 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.1493, allocations: 266.2 kB / 475.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1493, allocations: 29.7 kB / 475.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.1494, allocations: 108.1 kB / 475.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.1495, allocations: 27.64 kB / 475.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.1495, allocations: 4 kB / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1496, allocations: 330.8 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.1497, allocations: 31.98 kB / 476 MB, free: 9.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/0.1498, allocations: 39.91 kB / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.1499, allocations: 40.2 kB / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1499, allocations: 4 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002178/0.1501, allocations: 121.5 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1501, allocations: 8 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1502, allocations: 0 / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1502, allocations: 0 / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.1503, allocations: 19.98 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1503, allocations: 4 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.1503, allocations: 11.92 kB / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1504, allocations: 4 kB / 476.2 MB, free: 8.754 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.1505, allocations: 141.7 kB / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.1505, allocations: 19.8 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.1508, allocations: 139 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1508, allocations: 4 kB / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1508, allocations: 0 / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1508, allocations: 0 / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.1514, allocations: 443.1 kB / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1514, allocations: 0 / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.155e-05/0.1515, allocations: 23.92 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1515, allocations: 0 / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1515, allocations: 4 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1515, allocations: 4 kB / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1515, allocations: 0 / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.1518, allocations: 233.9 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.1518, allocations: 93 kB / 477.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1519, allocations: 0 / 477.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.152, allocations: 16 kB / 477.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.152, allocations: 7.938 kB / 477.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.152, allocations: 4 kB / 477.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.1522, allocations: 203.2 kB / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.455e-06/0.1522, allocations: 0 / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1525, allocations: 23.94 kB / 477.5 MB, free: 7.309 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009923/0.1535, allocations: 458.1 kB / 478 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1537, allocations: 79.95 kB / 478.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1537, allocations: 4 kB / 478.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.1538, allocations: 43.91 kB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.1541, allocations: 12.19 kB / 478.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.1545, allocations: 330.6 kB / 478.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1549, allocations: 0.7278 MB / 479.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.32e-05/0.1549, allocations: 16.66 kB / 479.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.155, allocations: 11.44 kB / 479.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.155, allocations: 0 / 479.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of Templates: time 0.00428/0.1593, allocations: 1.296 MB / 480.5 MB, free: 4.469 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches