Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 95.22 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 192.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2578/0.2578, allocations: 46.19 MB / 344.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.000248, allocations: 8 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1543, allocations: 63.57 MB / 482.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002367/0.1567, allocations: 1.307 MB / 483.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.1578, allocations: 0.5031 MB / 484.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.1578, allocations: 4 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.1581, allocations: 71.78 kB / 484.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1584, allocations: 79.78 kB / 484.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1587, allocations: 99.81 kB / 484.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1589, allocations: 67.75 kB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.1591, allocations: 19.98 kB / 484.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.327e-05/0.1592, allocations: 23.92 kB / 484.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1593, allocations: 39.83 kB / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1593, allocations: 4 kB / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.439e-05/0.1594, allocations: 31.98 kB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.1595, allocations: 23.91 kB / 484.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.1595, allocations: 37.64 kB / 484.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.1597, allocations: 71.89 kB / 484.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1597, allocations: 4 kB / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1597, allocations: 0 / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1597, allocations: 0 / 484.8 MB, free: 2.109 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.0004804/0.1602, allocations: 399.1 kB / 485.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1602, allocations: 12.03 kB / 485.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.1603, allocations: 11.81 kB / 485.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1605, allocations: 198.8 kB / 485.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1605, allocations: 0 / 485.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.1605, allocations: 12 kB / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1607, allocations: 49.67 kB / 485.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1607, allocations: 3.984 kB / 485.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1607, allocations: 4 kB / 485.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1607, allocations: 0 / 485.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.1608, allocations: 35.97 kB / 485.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.1613, allocations: 300.8 kB / 485.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1614, allocations: 46.56 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.1615, allocations: 16.94 kB / 485.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1615, allocations: 8.062 kB / 485.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1615, allocations: 42.5 kB / 485.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.1615, allocations: 0 / 485.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009646/0.1625, allocations: 268.9 kB / 486.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.1626, allocations: 71.28 kB / 486.2 MB, free: 488 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1628, allocations: 197.9 kB / 486.4 MB, free: 276 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.873e-05/0.1629, allocations: 25.7 kB / 486.5 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.163, allocations: 104.1 kB / 486.6 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.163, allocations: 31.5 kB / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.163, allocations: 0 / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1632, allocations: 326.8 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1633, allocations: 39.97 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.1634, allocations: 31.98 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.1635, allocations: 35.98 kB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1635, allocations: 0 / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002287/0.1637, allocations: 129.5 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1637, allocations: 8 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1637, allocations: 0 / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1638, allocations: 0 / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1639, allocations: 19.98 kB / 487.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1639, allocations: 3.953 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.1639, allocations: 4 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1639, allocations: 8 kB / 487.2 MB, free: 15.49 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 (8): * Single equations (assignments): 8 * 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.682e-05/0.164, allocations: 126.4 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.1641, allocations: 15.81 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.1644, allocations: 139 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1644, allocations: 4 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1644, allocations: 0 / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1644, allocations: 3.953 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.165, allocations: 423.3 kB / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.165, allocations: 4.031 kB / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/0.1651, allocations: 19.98 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1651, allocations: 0 / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1651, allocations: 11.95 kB / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1651, allocations: 0 / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1651, allocations: 480 / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1654, allocations: 228.5 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.1655, allocations: 89 kB / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1655, allocations: 0 / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.1656, allocations: 15.95 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.1656, allocations: 3.984 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.1656, allocations: 11.98 kB / 488.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1658, allocations: 153.8 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1658, allocations: 3.938 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.1661, allocations: 24 kB / 488.4 MB, free: 14.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001074/0.1672, allocations: 454 kB / 488.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.1674, allocations: 83.89 kB / 489 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1674, allocations: 0 / 489 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.598e-05/0.1675, allocations: 51.97 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1679, allocations: 15.98 kB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.1684, allocations: 278.3 kB / 489.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1688, allocations: 0.7136 MB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.876e-05/0.1689, allocations: 24.94 kB / 490 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.1689, allocations: 19.44 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1689, allocations: 0 / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.003914/0.1728, allocations: 1.283 MB / 491.3 MB, free: 11.33 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches