Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") translateModel(ModelicaTest.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008726/0.008726, allocations: 100.8 kB / 15.87 MB, free: 6.316 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.001646/0.001646, allocations: 195.8 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3851/0.3851, allocations: 43.49 MB / 313.5 MB, free: 8.254 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 63.91 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1638, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.004464/0.1683, allocations: 1.641 MB / 441.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.1693, allocations: 327.6 kB / 441.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.1694, allocations: 4 kB / 441.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.1698, allocations: 19.92 kB / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.17, allocations: 43.83 kB / 441.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1703, allocations: 79.84 kB / 441.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.1706, allocations: 71.81 kB / 442 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1708, allocations: 24.45 kB / 442 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.1709, allocations: 19.92 kB / 442 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.171, allocations: 35.84 kB / 442.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.171, allocations: 7.938 kB / 442.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1711, allocations: 31.92 kB / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.1712, allocations: 19.92 kB / 442.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.1713, allocations: 23.8 kB / 442.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.1715, allocations: 91.72 kB / 442.2 MB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1715, allocations: 0 / 442.2 MB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1715, allocations: 0 / 442.2 MB, free: 12.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1715, allocations: 3.938 kB / 442.2 MB, free: 12.16 MB / 382.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.0006084/0.1721, allocations: 379.2 kB / 442.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1722, allocations: 8.031 kB / 442.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.1723, allocations: 12.75 kB / 442.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1725, allocations: 196.1 kB / 442.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1726, allocations: 4.375 kB / 442.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.1726, allocations: 8.375 kB / 442.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.1728, allocations: 83.31 kB / 442.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1728, allocations: 3.984 kB / 442.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1728, allocations: 0 / 442.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1728, allocations: 0 / 442.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.173, allocations: 39.91 kB / 443 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.1736, allocations: 397 kB / 443.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.1739, allocations: 81.16 kB / 443.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.198e-05/0.174, allocations: 33.8 kB / 443.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.174, allocations: 4 kB / 443.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1741, allocations: 38.5 kB / 443.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1741, allocations: 0 / 443.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008015/0.1749, allocations: 221 kB / 443.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.175, allocations: 85.05 kB / 443.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.1752, allocations: 161 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1752, allocations: 29.7 kB / 444 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.1753, allocations: 88.14 kB / 444.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.1753, allocations: 39.45 kB / 444.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.1754, allocations: 25.7 kB / 444.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1756, allocations: 318.8 kB / 444.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.99e-05/0.1757, allocations: 35.91 kB / 444.5 MB, free: 9.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.1758, allocations: 57.62 kB / 444.5 MB, free: 9.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.176, allocations: 85.61 kB / 444.6 MB, free: 9.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.176, allocations: 128 / 444.6 MB, free: 9.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002439/0.1762, allocations: 121.6 kB / 444.7 MB, free: 9.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1763, allocations: 4 kB / 444.7 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1763, allocations: 4 kB / 444.7 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.1763, allocations: 4 kB / 444.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.1764, allocations: 23.92 kB / 444.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1764, allocations: 3.938 kB / 444.8 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.1765, allocations: 7.984 kB / 444.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1765, allocations: 4 kB / 444.8 MB, free: 9.352 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.000116/0.1766, allocations: 121.8 kB / 444.9 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.1767, allocations: 11.91 kB / 444.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.177, allocations: 141.9 kB / 445.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.177, allocations: 0 / 445.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.1771, allocations: 3.938 kB / 445.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1771, allocations: 3.984 kB / 445.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.1777, allocations: 0.4988 MB / 445.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1777, allocations: 4.547 kB / 445.6 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.538e-05/0.1778, allocations: 27.98 kB / 445.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1778, allocations: 0 / 445.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1778, allocations: 0 / 445.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1779, allocations: 4 kB / 445.6 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1779, allocations: 0 / 445.6 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.1782, allocations: 299.5 kB / 445.9 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.1783, allocations: 92.94 kB / 446 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.1783, allocations: 0 / 446 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1784, allocations: 11.98 kB / 446 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.1784, allocations: 4 kB / 446 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.1785, allocations: 4 kB / 446 MB, free: 8.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.683e-05/0.1786, allocations: 123.2 kB / 446.1 MB, free: 7.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1786, allocations: 0 / 446.1 MB, free: 7.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1789, allocations: 24.28 kB / 446.2 MB, free: 7.879 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0009398/0.1798, allocations: 413.4 kB / 446.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.1801, allocations: 83.88 kB / 446.6 MB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1801, allocations: 4 kB / 446.6 MB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1802, allocations: 47.91 kB / 446.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.1807, allocations: 19.94 kB / 446.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.1812, allocations: 253.5 kB / 447 MB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1815, allocations: 0.7043 MB / 447.7 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.14e-05/0.1815, allocations: 24.39 kB / 447.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.1816, allocations: 19.44 kB / 447.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1816, allocations: 3.938 kB / 447.7 MB, free: 6.293 MB / 382.1 MB Notification: Performance of Templates: time 0.003634/0.1852, allocations: 1.21 MB / 448.9 MB, free: 5.082 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches