Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007458/0.0007459, allocations: 100.1 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009541/0.0009542, allocations: 183.1 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 223.1 MB, free: 5.801 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.4977/0.4977, allocations: 43.57 MB / 315 MB, free: 8.684 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.0006186/0.0006186, allocations: 16 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1725, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002079/0.1746, allocations: 1.295 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1761, allocations: 0.9064 MB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.1762, allocations: 0 / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.1764, allocations: 19.94 kB / 445.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.1766, allocations: 35.84 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1768, allocations: 71.84 kB / 445.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.177, allocations: 63.83 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1771, allocations: 20.44 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.1772, allocations: 23.91 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1773, allocations: 27.8 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1774, allocations: 8 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1775, allocations: 43.97 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.1775, allocations: 15.92 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.1776, allocations: 41.58 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1778, allocations: 95.69 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1778, allocations: 4 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1778, allocations: 3.938 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1778, allocations: 0 / 446.1 MB, free: 10 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000508/0.1783, allocations: 375.3 kB / 446.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1784, allocations: 15.97 kB / 446.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.1784, allocations: 8.844 kB / 446.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.1787, allocations: 188.2 kB / 446.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1787, allocations: 384 / 446.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1787, allocations: 12.28 kB / 446.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.1789, allocations: 75.33 kB / 446.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1789, allocations: 0 / 446.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1789, allocations: 4 kB / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.179, allocations: 0 / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.1791, allocations: 43.95 kB / 446.8 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.1795, allocations: 288.8 kB / 447.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1796, allocations: 58.55 kB / 447.2 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.1797, allocations: 20.98 kB / 447.2 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1797, allocations: 4 kB / 447.2 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.1798, allocations: 38.55 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1798, allocations: 3.938 kB / 447.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006931/0.1805, allocations: 181.3 kB / 447.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.1806, allocations: 89.05 kB / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1807, allocations: 141.6 kB / 447.6 MB, free: 8.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.1808, allocations: 33.64 kB / 447.7 MB, free: 8.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.1808, allocations: 100.2 kB / 447.8 MB, free: 8.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1809, allocations: 27.56 kB / 447.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.1809, allocations: 13.7 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1811, allocations: 318.8 kB / 448.1 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.1812, allocations: 23.98 kB / 448.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-05/0.1812, allocations: 53.75 kB / 448.2 MB, free: 7.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.1814, allocations: 68.83 kB / 448.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1814, allocations: 0 / 448.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002199/0.1816, allocations: 105.5 kB / 448.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1817, allocations: 4 kB / 448.4 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1817, allocations: 4 kB / 448.4 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1817, allocations: 0 / 448.4 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1818, allocations: 19.98 kB / 448.4 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1818, allocations: 0 / 448.4 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.1819, allocations: 19.92 kB / 448.4 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1819, allocations: 4 kB / 448.4 MB, free: 7.465 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.76e-05/0.182, allocations: 117.8 kB / 448.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1821, allocations: 7.906 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.1824, allocations: 129.9 kB / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1824, allocations: 0 / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1824, allocations: 0 / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1824, allocations: 3.938 kB / 448.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.1829, allocations: 398.4 kB / 449 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.1829, allocations: 4 kB / 449 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.183, allocations: 23.92 kB / 449.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.183, allocations: 3.938 kB / 449.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.183, allocations: 0 / 449.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.183, allocations: 0 / 449.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.183, allocations: 4 kB / 449.1 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.1833, allocations: 200.2 kB / 449.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.1833, allocations: 89.02 kB / 449.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1834, allocations: 3.938 kB / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.1835, allocations: 11.98 kB / 449.4 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1835, allocations: 4 kB / 449.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1835, allocations: 7.938 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.185e-05/0.1836, allocations: 119.2 kB / 449.5 MB, free: 6.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1836, allocations: 0 / 449.5 MB, free: 6.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1839, allocations: 24 kB / 449.5 MB, free: 6.234 MB / 382.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 (8): * Single equations (assignments): 8 * 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.001036/0.1849, allocations: 434.6 kB / 450 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.1851, allocations: 75.95 kB / 450 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1852, allocations: 0 / 450 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.1853, allocations: 39.92 kB / 450.1 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.1856, allocations: 15.98 kB / 450.1 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.186, allocations: 213 kB / 450.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1863, allocations: 0.6926 MB / 451 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.337e-05/0.1864, allocations: 16.97 kB / 451 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.1864, allocations: 15.44 kB / 451 MB, free: 4.719 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1864, allocations: 0 / 451 MB, free: 4.719 MB / 382.1 MB Notification: Performance of Templates: time 0.004589/0.191, allocations: 1.381 MB / 452.4 MB, free: 3.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches