Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 94.27 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.001809/0.001809, allocations: 186.7 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.445/1.445, allocations: 223.2 MB / 241.8 MB, free: 368 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.2175/0.2175, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002419/0.1458, allocations: 1.329 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.1467, allocations: 391.5 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.1467, allocations: 0 / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.147, allocations: 47.86 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.1472, allocations: 47.81 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.1476, allocations: 150.8 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1478, allocations: 59.88 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1479, allocations: 11.98 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.013e-05/0.148, allocations: 27.91 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1481, allocations: 31.84 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1481, allocations: 0 / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.476e-05/0.1482, allocations: 35.92 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.1483, allocations: 27.86 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.1483, allocations: 37.64 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1485, allocations: 84.08 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1485, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1485, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.1486, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007036/0.1493, allocations: 391 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.1493, allocations: 12.56 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.1494, allocations: 11.91 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.1496, allocations: 192.9 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1497, allocations: 8 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1497, allocations: 4 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.1499, allocations: 69.61 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1499, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.15, allocations: 8 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.15, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1501, allocations: 59.83 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.1507, allocations: 332.7 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.1509, allocations: 62.58 kB / 474.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.1511, allocations: 3.984 kB / 474.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1511, allocations: 30.56 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1511, allocations: 0 / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001536/0.1526, allocations: 485.1 kB / 475.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1527, allocations: 55.41 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1529, allocations: 174.5 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.153, allocations: 29.7 kB / 475.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.1531, allocations: 108 kB / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/0.1531, allocations: 35.45 kB / 475.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.1532, allocations: 0 / 475.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.1534, allocations: 326.8 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.1536, allocations: 67.95 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1537, allocations: 55.97 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.1539, allocations: 79.83 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1539, allocations: 0 / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004016/0.1544, allocations: 174.4 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1544, allocations: 4 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1544, allocations: 3.938 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1544, allocations: 0 / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1545, allocations: 31.97 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1546, allocations: 4 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.1546, allocations: 23.98 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1547, allocations: 4 kB / 476.5 MB, free: 8.445 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 (11): * Single equations (assignments): 11 * 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.000124/0.1548, allocations: 129.7 kB / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.1548, allocations: 15.88 kB / 476.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.1553, allocations: 218.2 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1553, allocations: 0 / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1553, allocations: 0 / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1553, allocations: 0 / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/0.1561, allocations: 0.5078 MB / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1561, allocations: 64 / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1562, allocations: 35.92 kB / 477.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1562, allocations: 3.984 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1562, allocations: 8 kB / 477.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1563, allocations: 0 / 477.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1563, allocations: 3.953 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.1567, allocations: 312.4 kB / 477.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.1568, allocations: 92.97 kB / 477.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1568, allocations: 0 / 477.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.1569, allocations: 15.98 kB / 477.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.1569, allocations: 15.92 kB / 477.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.157, allocations: 4 kB / 477.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1571, allocations: 137.5 kB / 478 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1571, allocations: 0 / 478 MB, free: 6.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1574, allocations: 32 kB / 478 MB, free: 6.805 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001073/0.1584, allocations: 460.9 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.1588, allocations: 143.8 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1588, allocations: 4 kB / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.159, allocations: 75.91 kB / 478.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.1593, allocations: 15.92 kB / 478.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.1598, allocations: 303.1 kB / 479 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1601, allocations: 0.716 MB / 479.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.41e-05/0.1602, allocations: 44.38 kB / 479.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1603, allocations: 11.44 kB / 479.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1603, allocations: 4 kB / 479.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of Templates: time 0.004068/0.1643, allocations: 1.498 MB / 481.3 MB, free: 3.684 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches