Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 98.08 kB / 16.99 MB, free: 6.398 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.001212/0.001213, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.466/1.466, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2192/0.2192, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003909, allocations: 15.98 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1424, allocations: 61.91 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002272/0.1447, allocations: 1.406 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1461, allocations: 0.8035 MB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1463, allocations: 4 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.1467, allocations: 83.8 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.1469, allocations: 67.78 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.1473, allocations: 94.58 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1475, allocations: 71.84 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1476, allocations: 11.98 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1478, allocations: 43.83 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1479, allocations: 51.83 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1479, allocations: 4 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.1481, allocations: 39.98 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.1481, allocations: 23.89 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.1482, allocations: 41.64 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1484, allocations: 100 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1484, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1484, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1484, allocations: 7.938 kB / 474.3 MB, free: 10.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007007/0.1491, allocations: 418.8 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1492, allocations: 8.562 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.1492, allocations: 15.81 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.1495, allocations: 202.9 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1496, allocations: 7.984 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.1496, allocations: 8 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1498, allocations: 61.62 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1498, allocations: 0 / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1498, allocations: 7.938 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1498, allocations: 0 / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.325e-05/0.1499, allocations: 31.91 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.1504, allocations: 304.7 kB / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.1507, allocations: 58.55 kB / 475.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1507, allocations: 0 / 475.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.1509, allocations: 75.45 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.1509, allocations: 0 / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000816/0.1517, allocations: 233.2 kB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1518, allocations: 55.39 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.1521, allocations: 218.7 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1521, allocations: 33.69 kB / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.1522, allocations: 112.1 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.1522, allocations: 31.55 kB / 476.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-06/0.1522, allocations: 4 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1524, allocations: 330.8 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.1524, allocations: 23.98 kB / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.1525, allocations: 49.69 kB / 476.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/0.1526, allocations: 43.88 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1526, allocations: 0 / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002292/0.1529, allocations: 121.5 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1529, allocations: 4 kB / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1529, allocations: 0 / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1529, allocations: 4 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.153, allocations: 23.94 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.153, allocations: 3.984 kB / 476.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.1531, allocations: 4 kB / 476.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1531, allocations: 4 kB / 476.7 MB, free: 8.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001213/0.1532, allocations: 137.8 kB / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1533, allocations: 15.81 kB / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.1533, allocations: 18.11 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1533, allocations: 4 kB / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1534, allocations: 0 / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1534, allocations: 11.91 kB / 476.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.154, allocations: 455.9 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.154, allocations: 0 / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.154, allocations: 19.92 kB / 477.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.154, allocations: 4 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1541, allocations: 4 kB / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1541, allocations: 4 kB / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1541, allocations: 4 kB / 477.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.1544, allocations: 248.6 kB / 477.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.1545, allocations: 92.92 kB / 477.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.1545, allocations: 7.953 kB / 477.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.1546, allocations: 7.984 kB / 477.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.1547, allocations: 15.94 kB / 477.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.1547, allocations: 7.984 kB / 477.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1549, allocations: 168.3 kB / 477.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1549, allocations: 0 / 477.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.1552, allocations: 31.98 kB / 478 MB, free: 6.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001248/0.1564, allocations: 0.5107 MB / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.1567, allocations: 75.91 kB / 478.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1567, allocations: 4.062 kB / 478.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.053e-05/0.1568, allocations: 39.92 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1571, allocations: 20.17 kB / 478.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.1576, allocations: 311.7 kB / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1579, allocations: 0.7121 MB / 479.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.248e-05/0.158, allocations: 24.62 kB / 479.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.1581, allocations: 23.42 kB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1581, allocations: 0 / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of Templates: time 0.005395/0.1635, allocations: 1.826 MB / 481.5 MB, free: 3.441 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches