Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002044/0.002044, allocations: 103.9 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002203/0.002204, allocations: 206.4 kB / 18.58 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2374/0.2374, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003096/0.003096, allocations: 75.78 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1616, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003413/0.165, allocations: 1.602 MB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1669, allocations: 1.156 MB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.167, allocations: 4 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.1673, allocations: 23.8 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.1676, allocations: 83.61 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1679, allocations: 87.77 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1681, allocations: 63.84 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1682, allocations: 15.98 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.1683, allocations: 27.86 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1684, allocations: 31.84 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1685, allocations: 4 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.1686, allocations: 95.88 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.1687, allocations: 11.98 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.1687, allocations: 23.8 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.169, allocations: 135.7 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.169, allocations: 0 / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.169, allocations: 3.938 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1691, allocations: 4 kB / 483.5 MB, free: 1.824 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.0005546/0.1696, allocations: 399.4 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1697, allocations: 12.03 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.1697, allocations: 8.922 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1699, allocations: 192.1 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.17, allocations: 4.359 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.17, allocations: 12.31 kB / 484.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1702, allocations: 63.53 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1702, allocations: 7.922 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.1702, allocations: 0 / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1702, allocations: 0 / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1703, allocations: 23.97 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.1707, allocations: 280.9 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1709, allocations: 46.5 kB / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.171, allocations: 20.94 kB / 484.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.171, allocations: 0 / 484.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.1711, allocations: 30.56 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1711, allocations: 4 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005859/0.1717, allocations: 141.2 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.1717, allocations: 81.11 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1719, allocations: 148.3 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.172, allocations: 25.7 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.172, allocations: 96.08 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1721, allocations: 19.7 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.1721, allocations: 17.72 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1723, allocations: 326.8 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.1724, allocations: 19.98 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.1725, allocations: 29.7 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1726, allocations: 49.02 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1726, allocations: 4 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001885/0.1728, allocations: 77.64 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1728, allocations: 8 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1728, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.1729, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.1729, allocations: 11.98 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.173, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.173, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.173, allocations: 7.938 kB / 485.6 MB, free: 15.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.1731, allocations: 121.8 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.1732, allocations: 7.906 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.1734, allocations: 85.91 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1734, allocations: 4 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1734, allocations: 0 / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1735, allocations: 0 / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.1739, allocations: 354.4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.174, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.174, allocations: 15.92 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.174, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.174, allocations: 7.938 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.174, allocations: 3.938 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1741, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1743, allocations: 183.6 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.1744, allocations: 81.17 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1744, allocations: 4 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.1745, allocations: 11.92 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1745, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1745, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1746, allocations: 117.2 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1746, allocations: 0 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.175, allocations: 39.98 kB / 486.6 MB, free: 14.33 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 (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.001751/0.1767, allocations: 496.9 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.177, allocations: 47.95 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.177, allocations: 7.938 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.1771, allocations: 23.92 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1775, allocations: 14.66 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.178, allocations: 177.3 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.1783, allocations: 0.6924 MB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.463e-05/0.1784, allocations: 19.95 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1784, allocations: 15.44 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1785, allocations: 0 / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Templates: time 0.005328/0.1838, allocations: 1.748 MB / 489.8 MB, free: 11.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches