Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001309, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008041/0.0008041, allocations: 91.75 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4957/0.4957, allocations: 43.55 MB / 362.7 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005407/0.0005408, allocations: 12 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1726, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002908/0.1755, allocations: 1.259 MB / 491.5 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1773, allocations: 0.8674 MB / 492.4 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.1774, allocations: 0 / 492.4 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.1777, allocations: 19.92 kB / 492.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.178, allocations: 43.78 kB / 492.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1783, allocations: 55.92 kB / 492.5 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.1785, allocations: 51.84 kB / 492.5 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1787, allocations: 11.97 kB / 492.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.1788, allocations: 23.86 kB / 492.6 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.179, allocations: 19.92 kB / 492.6 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.179, allocations: 0 / 492.6 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1792, allocations: 43.97 kB / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.1792, allocations: 15.92 kB / 492.6 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.1793, allocations: 29.7 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1795, allocations: 55.91 kB / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1795, allocations: 3.938 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1795, allocations: 0 / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1795, allocations: 0 / 492.7 MB, free: 8.469 MB / 378.7 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.0006564/0.1802, allocations: 379.4 kB / 493.1 MB, free: 8.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1802, allocations: 12.02 kB / 493.1 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.1803, allocations: 15.86 kB / 493.1 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.1806, allocations: 183 kB / 493.3 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1807, allocations: 0 / 493.3 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.1807, allocations: 4 kB / 493.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.181, allocations: 63.34 kB / 493.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.181, allocations: 7.891 kB / 493.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.181, allocations: 0 / 493.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1811, allocations: 4 kB / 493.4 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.1812, allocations: 31.94 kB / 493.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.1816, allocations: 265 kB / 493.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.1818, allocations: 50.48 kB / 493.7 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.047e-05/0.1819, allocations: 20.86 kB / 493.7 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1819, allocations: 0 / 493.7 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.182, allocations: 34.64 kB / 493.8 MB, free: 7.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.182, allocations: 0 / 493.8 MB, free: 7.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008247/0.1828, allocations: 153.3 kB / 493.9 MB, free: 7.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.1829, allocations: 81.11 kB / 494 MB, free: 6.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1831, allocations: 129.8 kB / 494.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.1832, allocations: 25.7 kB / 494.2 MB, free: 6.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.1832, allocations: 100 kB / 494.3 MB, free: 6.727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1833, allocations: 11.75 kB / 494.3 MB, free: 6.715 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/0.1833, allocations: 11.94 kB / 494.3 MB, free: 6.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1835, allocations: 314.8 kB / 494.6 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1836, allocations: 23.98 kB / 494.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.1838, allocations: 41.77 kB / 494.7 MB, free: 6.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1839, allocations: 19.98 kB / 494.7 MB, free: 6.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1839, allocations: 3.938 kB / 494.7 MB, free: 6.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002765/0.1842, allocations: 93.52 kB / 494.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1842, allocations: 11.98 kB / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1842, allocations: 0 / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1843, allocations: 0 / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.1843, allocations: 15.98 kB / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1844, allocations: 0 / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.1844, allocations: 11.98 kB / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1845, allocations: 0 / 494.8 MB, free: 6.156 MB / 378.7 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 0.0001248/0.1846, allocations: 117.8 kB / 494.9 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.1846, allocations: 4 kB / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.1849, allocations: 101.4 kB / 495 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.185, allocations: 0 / 495 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.185, allocations: 0 / 495 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.185, allocations: 4 kB / 495 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.1855, allocations: 354.5 kB / 495.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1856, allocations: 0 / 495.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.831e-05/0.1856, allocations: 19.89 kB / 495.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1857, allocations: 0 / 495.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1857, allocations: 4.297 kB / 495.4 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1857, allocations: 8 kB / 495.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1857, allocations: 0 / 495.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.186, allocations: 175.5 kB / 495.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.1861, allocations: 93 kB / 495.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1861, allocations: 7.953 kB / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1862, allocations: 4 kB / 495.7 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.1863, allocations: 7.984 kB / 495.7 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1863, allocations: 0 / 495.7 MB, free: 5.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1864, allocations: 103.8 kB / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1864, allocations: 0 / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003898/0.1868, allocations: 23.94 kB / 495.8 MB, free: 5.047 MB / 378.7 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.001258/0.1881, allocations: 448 kB / 496.3 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.1884, allocations: 51.95 kB / 496.3 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1884, allocations: 4 kB / 496.3 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1885, allocations: 31.92 kB / 496.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.189, allocations: 15.94 kB / 496.4 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.1895, allocations: 206.4 kB / 496.6 MB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.19, allocations: 0.6887 MB / 497.2 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.1901, allocations: 11.44 kB / 497.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1901, allocations: 0 / 497.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of Templates: time 0.005172/0.1952, allocations: 1.54 MB / 498.8 MB, free: 2.055 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches