Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 93.5 kB / 17 MB, free: 6.129 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.001329/0.00133, allocations: 182.5 kB / 17.89 MB, free: 5.707 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.521/1.521, allocations: 223.3 MB / 241.9 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.26 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001936/0.1435, allocations: 1.247 MB / 472.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.1443, allocations: 383.5 kB / 473.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.1443, allocations: 0 / 473.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1445, allocations: 23.92 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.1447, allocations: 23.91 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1449, allocations: 95.33 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1451, allocations: 55.83 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.1452, allocations: 15.98 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.402e-05/0.1452, allocations: 23.84 kB / 473.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.1453, allocations: 11.94 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1453, allocations: 0 / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.1454, allocations: 27.92 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.1455, allocations: 12 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.1455, allocations: 33.64 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.1456, allocations: 55.91 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1456, allocations: 0 / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1456, allocations: 0 / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.1456, allocations: 0 / 473.6 MB, free: 11.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004512/0.1461, allocations: 379.3 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1461, allocations: 12.55 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.1462, allocations: 7.906 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1464, allocations: 182.9 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1464, allocations: 8 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.1464, allocations: 3.953 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1466, allocations: 53.61 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1466, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1466, allocations: 4 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1466, allocations: 4 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.1467, allocations: 23.98 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.1472, allocations: 280.9 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.1474, allocations: 50.48 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.1475, allocations: 16.86 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1475, allocations: 8 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1475, allocations: 34.64 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1475, allocations: 0 / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006364/0.1482, allocations: 165.2 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.1482, allocations: 55.41 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1484, allocations: 152 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1485, allocations: 29.7 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.1485, allocations: 92.14 kB / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.1485, allocations: 15.7 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.1486, allocations: 0 / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1487, allocations: 330.8 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.1488, allocations: 27.92 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.1489, allocations: 23.98 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.375e-05/0.149, allocations: 31.98 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.149, allocations: 0 / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.1492, allocations: 93.75 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1492, allocations: 4 kB / 475.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1492, allocations: 4 kB / 475.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1492, allocations: 0 / 475.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.1493, allocations: 20 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1493, allocations: 0 / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.1494, allocations: 11.98 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1494, allocations: 0 / 475.7 MB, free: 9.391 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 (5): * Single equations (assignments): 5 * 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.0001002/0.1495, allocations: 125.7 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1495, allocations: 7.906 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.1498, allocations: 109.9 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1498, allocations: 0 / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1498, allocations: 0 / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1498, allocations: 4 kB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.1502, allocations: 362.5 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1502, allocations: 4 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.1503, allocations: 19.86 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1503, allocations: 4 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1503, allocations: 0 / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1503, allocations: 0 / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1503, allocations: 0 / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1506, allocations: 195.4 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.1506, allocations: 85.3 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1506, allocations: 0 / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1507, allocations: 11.98 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.1508, allocations: 7.984 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1508, allocations: 192 / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.151, allocations: 123.2 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.151, allocations: 0 / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.1512, allocations: 16 kB / 476.7 MB, free: 8.23 MB / 350.1 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 (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.001098/0.1523, allocations: 412 kB / 477.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1525, allocations: 55.97 kB / 477.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1525, allocations: 4 kB / 477.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.205e-05/0.1526, allocations: 31.97 kB / 477.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.153, allocations: 19.92 kB / 477.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.1534, allocations: 200.6 kB / 477.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1538, allocations: 0.6965 MB / 478.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.097e-05/0.1538, allocations: 8 kB / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.1538, allocations: 19.42 kB / 478.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1539, allocations: 3.938 kB / 478.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of Templates: time 0.003766/0.1576, allocations: 1.022 MB / 479.2 MB, free: 5.875 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches