Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001332, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 71.67 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1526, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003307/0.1559, allocations: 1.654 MB / 483.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1578, allocations: 1.202 MB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.1579, allocations: 4 kB / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.1582, allocations: 23.86 kB / 484.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.1585, allocations: 87.55 kB / 484.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.1589, allocations: 178.8 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1591, allocations: 79.81 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1592, allocations: 12 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.965e-05/0.1593, allocations: 35.84 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1594, allocations: 35.78 kB / 484.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1594, allocations: 4 kB / 484.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.1596, allocations: 111.9 kB / 484.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.1597, allocations: 19.92 kB / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.1598, allocations: 35.78 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.16, allocations: 139.7 kB / 485.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.16, allocations: 0 / 485.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.16, allocations: 0 / 485.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.16, allocations: 0 / 485.1 MB, free: 0.9102 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.0005616/0.1606, allocations: 415.1 kB / 485.5 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1607, allocations: 11.97 kB / 485.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.1607, allocations: 16.84 kB / 485.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1609, allocations: 196.2 kB / 485.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-06/0.1609, allocations: 384 / 485.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.161, allocations: 8.359 kB / 485.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1612, allocations: 79.5 kB / 485.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1612, allocations: 0 / 485.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1612, allocations: 4 kB / 485.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1612, allocations: 0 / 485.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.1614, allocations: 43.91 kB / 485.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.1618, allocations: 308.7 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.162, allocations: 42.56 kB / 486.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.162, allocations: 36.92 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1621, allocations: 0 / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1621, allocations: 34.5 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1621, allocations: 0 / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007824/0.1629, allocations: 233.2 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.163, allocations: 89.03 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1631, allocations: 148 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1631, allocations: 25.7 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.1632, allocations: 96.05 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1632, allocations: 27.64 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1633, allocations: 17.72 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1634, allocations: 326.8 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.1635, allocations: 31.97 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1636, allocations: 57.67 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.1638, allocations: 93.05 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1639, allocations: 0 / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002681/0.1641, allocations: 133.5 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1641, allocations: 7.938 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1642, allocations: 0 / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1642, allocations: 0 / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1643, allocations: 19.98 kB / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1643, allocations: 0 / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.1644, allocations: 19.92 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1644, allocations: 0 / 487.5 MB, free: 14.2 MB / 366.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 (7): * Single equations (assignments): 7 * 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 8.618e-05/0.1645, allocations: 121.8 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.1645, allocations: 7.906 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.1649, allocations: 138.3 kB / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1649, allocations: 4 kB / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1649, allocations: 0 / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1649, allocations: 3.938 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.1654, allocations: 410.5 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1654, allocations: 0 / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.104e-05/0.1655, allocations: 23.92 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.1655, allocations: 4 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1655, allocations: 7.922 kB / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1655, allocations: 0 / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1655, allocations: 8 kB / 488.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.1658, allocations: 215.4 kB / 488.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.1659, allocations: 81.02 kB / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1659, allocations: 11.94 kB / 488.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.166, allocations: 11.98 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.1661, allocations: 7.984 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1661, allocations: 0 / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.047e-05/0.1662, allocations: 113.6 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1662, allocations: 0 / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1665, allocations: 43.98 kB / 488.7 MB, free: 12.91 MB / 366.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 (7): * Single equations (assignments): 7 * 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.00109/0.1676, allocations: 0.4896 MB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.1679, allocations: 87.94 kB / 489.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1679, allocations: 0 / 489.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.168, allocations: 55.89 kB / 489.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.1684, allocations: 22.34 kB / 489.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.1689, allocations: 221.8 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1692, allocations: 0.6963 MB / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.529e-05/0.1693, allocations: 28.89 kB / 490.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.1693, allocations: 23.42 kB / 490.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1693, allocations: 0 / 490.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of Templates: time 0.004453/0.1738, allocations: 1.925 MB / 492.3 MB, free: 9.477 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches