Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007841/0.0007841, allocations: 96.11 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008507/0.000851, allocations: 197.3 kB / 17.91 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2774/0.2774, allocations: 46.19 MB / 344.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002577, allocations: 8.219 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 63.57 MB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002307/0.1523, allocations: 1.295 MB / 483.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.1533, allocations: 0.4953 MB / 484.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.1534, allocations: 0 / 484.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.1536, allocations: 23.86 kB / 484.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.1539, allocations: 55.83 kB / 484.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1543, allocations: 99.31 kB / 484.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1544, allocations: 55.84 kB / 484.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1546, allocations: 15.97 kB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.87e-05/0.1546, allocations: 19.86 kB / 484.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.1547, allocations: 19.88 kB / 484.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1547, allocations: 3.938 kB / 484.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.1548, allocations: 31.98 kB / 484.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.1549, allocations: 11.92 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.1549, allocations: 33.7 kB / 484.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1551, allocations: 63.84 kB / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1551, allocations: 0 / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1551, allocations: 0 / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1551, allocations: 0 / 484.6 MB, free: 2.281 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.0005335/0.1556, allocations: 379.3 kB / 485 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1557, allocations: 8.031 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.1557, allocations: 7.906 kB / 485 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1559, allocations: 189.6 kB / 485.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.156, allocations: 4 kB / 485.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.156, allocations: 8 kB / 485.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1561, allocations: 45.69 kB / 485.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1562, allocations: 0 / 485.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1562, allocations: 0 / 485.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1562, allocations: 0 / 485.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.616e-05/0.1563, allocations: 35.91 kB / 485.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.1568, allocations: 284.9 kB / 485.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.157, allocations: 46.56 kB / 485.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.1571, allocations: 16.94 kB / 485.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1571, allocations: 8 kB / 485.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1571, allocations: 38.5 kB / 485.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1571, allocations: 0 / 485.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000634/0.1578, allocations: 165.3 kB / 485.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.1578, allocations: 55.34 kB / 485.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.158, allocations: 158.1 kB / 486 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.158, allocations: 25.7 kB / 486.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.1581, allocations: 104 kB / 486.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.1581, allocations: 11.81 kB / 486.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.1581, allocations: 4 kB / 486.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1583, allocations: 322.8 kB / 486.5 MB, free: 196 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.1583, allocations: 23.98 kB / 486.5 MB, free: 172 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.1584, allocations: 23.98 kB / 486.5 MB, free: 148 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.1585, allocations: 27.98 kB / 486.6 MB, free: 120 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1585, allocations: 0 / 486.6 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002473/0.1588, allocations: 93.56 kB / 486.7 MB, free: 20 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1588, allocations: 8 kB / 486.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1588, allocations: 0 / 486.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1588, allocations: 0 / 486.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.1589, allocations: 24.31 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.159, allocations: 7.891 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.159, allocations: 8 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.159, allocations: 4 kB / 486.7 MB, free: 15.96 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 (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 9.004e-05/0.1591, allocations: 118.4 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.1592, allocations: 7.906 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.1594, allocations: 114.1 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1594, allocations: 0 / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1594, allocations: 0 / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1595, allocations: 11.94 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.1599, allocations: 362.5 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1599, allocations: 0 / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.16, allocations: 12 kB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.16, allocations: 0 / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.16, allocations: 3.984 kB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.16, allocations: 3.953 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.16, allocations: 0 / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1603, allocations: 199.4 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.1603, allocations: 81.02 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1604, allocations: 4 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.1604, allocations: 11.98 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.1605, allocations: 3.953 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.1605, allocations: 4 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1606, allocations: 121.1 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1606, allocations: 0 / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1609, allocations: 16 kB / 487.8 MB, free: 14.81 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 (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.001046/0.1619, allocations: 394.1 kB / 488.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.1622, allocations: 59.91 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1622, allocations: 0 / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.714e-05/0.1623, allocations: 39.97 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1627, allocations: 11.98 kB / 488.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.1632, allocations: 209.2 kB / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.1636, allocations: 0.6965 MB / 489.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.096e-05/0.1637, allocations: 15.97 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.1637, allocations: 11.44 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1637, allocations: 3.938 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of Templates: time 0.004329/0.1681, allocations: 1.054 MB / 490.2 MB, free: 12.41 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches