Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008376/0.000838, allocations: 97.25 kB / 15.7 MB, free: 468 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.001067/0.001066, allocations: 172.6 kB / 16.58 MB, free: 5.668 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.898/1.898, allocations: 205.4 MB / 222.7 MB, free: 5.602 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.5872/0.5872, allocations: 43.57 MB / 314.6 MB, free: 8.809 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.0005686/0.0005686, allocations: 12 kB / 383.9 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1774, allocations: 58.87 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002128/0.1796, allocations: 1.26 MB / 444.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006226/0.1803, allocations: 283.9 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.1804, allocations: 0 / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.1806, allocations: 19.92 kB / 444.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1808, allocations: 31.84 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.181, allocations: 51.94 kB / 444.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1812, allocations: 59.83 kB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1813, allocations: 15.91 kB / 444.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.512e-05/0.1814, allocations: 19.88 kB / 444.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.1814, allocations: 11.92 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1814, allocations: 4 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.1815, allocations: 27.98 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.1816, allocations: 11.92 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.1816, allocations: 37.64 kB / 444.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1818, allocations: 56.12 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.1818, allocations: 4 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.069e-06/0.1818, allocations: 0 / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1818, allocations: 7.938 kB / 444.7 MB, free: 11.1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005411/0.1824, allocations: 363.1 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.1824, allocations: 16.02 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1825, allocations: 7.859 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1827, allocations: 179 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1828, allocations: 4 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.1828, allocations: 8 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.183, allocations: 49.62 kB / 445.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.183, allocations: 0 / 445.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.183, allocations: 0 / 445.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.183, allocations: 4 kB / 445.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.928e-05/0.1831, allocations: 31.92 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.1836, allocations: 272.9 kB / 445.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.1838, allocations: 54.47 kB / 445.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.1838, allocations: 16.86 kB / 445.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1839, allocations: 0 / 445.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1839, allocations: 38.56 kB / 445.7 MB, free: 9.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1839, allocations: 0 / 445.7 MB, free: 9.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005723/0.1845, allocations: 169.3 kB / 445.9 MB, free: 9.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1845, allocations: 51.41 kB / 445.9 MB, free: 9.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1847, allocations: 157.1 kB / 446.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1847, allocations: 25.7 kB / 446.1 MB, free: 9.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.1848, allocations: 96.12 kB / 446.2 MB, free: 9.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1848, allocations: 19.75 kB / 446.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.1848, allocations: 0 / 446.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.185, allocations: 322.8 kB / 446.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.185, allocations: 23.98 kB / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.153e-05/0.1851, allocations: 23.98 kB / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.455e-05/0.1852, allocations: 19.98 kB / 446.6 MB, free: 8.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1852, allocations: 0 / 446.6 MB, free: 8.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001712/0.1853, allocations: 97.52 kB / 446.7 MB, free: 8.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1854, allocations: 7.953 kB / 446.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1854, allocations: 3.938 kB / 446.7 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1854, allocations: 0 / 446.7 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.1855, allocations: 15.98 kB / 446.7 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1855, allocations: 0 / 446.7 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.1855, allocations: 8 kB / 446.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1855, allocations: 7.984 kB / 446.8 MB, free: 8.832 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 (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.0001006/0.1857, allocations: 117.8 kB / 446.9 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1857, allocations: 7.906 kB / 446.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.1859, allocations: 109.9 kB / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1859, allocations: 0 / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.186, allocations: 0 / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.186, allocations: 0 / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.1864, allocations: 342.6 kB / 447.3 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1864, allocations: 4 kB / 447.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.1865, allocations: 19.94 kB / 447.3 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1865, allocations: 384 / 447.3 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1865, allocations: 0 / 447.3 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1865, allocations: 7.938 kB / 447.3 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1865, allocations: 0 / 447.3 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.1867, allocations: 183.4 kB / 447.5 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.1868, allocations: 93 kB / 447.6 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.1868, allocations: 3.953 kB / 447.6 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.289e-05/0.1869, allocations: 4 kB / 447.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.1869, allocations: 7.984 kB / 447.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.187, allocations: 0 / 447.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.722e-05/0.1871, allocations: 127 kB / 447.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1871, allocations: 0 / 447.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1873, allocations: 19.91 kB / 447.8 MB, free: 7.703 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 (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.001035/0.1884, allocations: 407.9 kB / 448.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1886, allocations: 55.91 kB / 448.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1886, allocations: 0 / 448.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.1887, allocations: 27.98 kB / 448.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.189, allocations: 15.98 kB / 448.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/0.1895, allocations: 180.7 kB / 448.5 MB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.19, allocations: 0.7043 MB / 449.2 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.811e-05/0.19, allocations: 7.984 kB / 449.2 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.1901, allocations: 15.38 kB / 449.2 MB, free: 6.277 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1901, allocations: 0 / 449.2 MB, free: 6.277 MB / 382.1 MB Notification: Performance of Templates: time 0.004318/0.1944, allocations: 1.006 MB / 450.2 MB, free: 5.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches