Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.0009251, allocations: 97.25 kB / 16.02 MB, free: 80 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.001062/0.001063, allocations: 185.8 kB / 16.92 MB, free: 6.934 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.056/2.056, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.5481/0.5481, allocations: 43.57 MB / 315 MB, free: 8.754 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.0005553/0.0005553, allocations: 19.98 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1791, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002248/0.1814, allocations: 1.41 MB / 444.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1828, allocations: 0.773 MB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.1829, allocations: 7.938 kB / 445.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.1832, allocations: 79.81 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1835, allocations: 67.8 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.1837, allocations: 79.84 kB / 445.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1839, allocations: 99.69 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.184, allocations: 16.2 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.1841, allocations: 51.77 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1842, allocations: 59.75 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1843, allocations: 4 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1844, allocations: 39.98 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.1845, allocations: 23.92 kB / 446.2 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.1845, allocations: 65.38 kB / 446.2 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1847, allocations: 111.9 kB / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1848, allocations: 0 / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1848, allocations: 0 / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1848, allocations: 4 kB / 446.3 MB, free: 9.773 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005878/0.1854, allocations: 410.9 kB / 446.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1854, allocations: 16.03 kB / 446.8 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.518e-05/0.1855, allocations: 12.75 kB / 446.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.1858, allocations: 212.1 kB / 447 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1858, allocations: 384 / 447 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1858, allocations: 12.03 kB / 447 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.186, allocations: 57.67 kB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.186, allocations: 0 / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.186, allocations: 0 / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.186, allocations: 0 / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.1861, allocations: 23.92 kB / 447.1 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.1865, allocations: 300.8 kB / 447.4 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1867, allocations: 58.66 kB / 447.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.1868, allocations: 20.84 kB / 447.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1868, allocations: 0 / 447.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.187, allocations: 75.33 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.187, allocations: 0 / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.1876, allocations: 177.1 kB / 447.7 MB, free: 8.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1876, allocations: 51.41 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1879, allocations: 218.7 kB / 447.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1879, allocations: 29.7 kB / 448 MB, free: 7.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.188, allocations: 100.1 kB / 448.1 MB, free: 7.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.188, allocations: 31.64 kB / 448.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.1881, allocations: 21.66 kB / 448.1 MB, free: 7.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1882, allocations: 326.8 kB / 448.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.1883, allocations: 23.98 kB / 448.5 MB, free: 7.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.1883, allocations: 33.7 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1885, allocations: 57.64 kB / 448.6 MB, free: 7.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1885, allocations: 8 kB / 448.6 MB, free: 7.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.1887, allocations: 101.6 kB / 448.7 MB, free: 7.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1887, allocations: 7.938 kB / 448.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1887, allocations: 4 kB / 448.7 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1887, allocations: 0 / 448.7 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.1888, allocations: 19.92 kB / 448.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1888, allocations: 0 / 448.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1889, allocations: 7.938 kB / 448.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1889, allocations: 8 kB / 448.7 MB, free: 7.156 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001065/0.189, allocations: 129.9 kB / 448.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.189, allocations: 11.81 kB / 448.9 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.1891, allocations: 25.39 kB / 448.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1891, allocations: 0 / 448.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1891, allocations: 0 / 448.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1891, allocations: 3.938 kB / 448.9 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.1896, allocations: 399.3 kB / 449.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1896, allocations: 0 / 449.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.1896, allocations: 16.3 kB / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1896, allocations: 0 / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1897, allocations: 7.938 kB / 449.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1897, allocations: 4 kB / 449.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1897, allocations: 0 / 449.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1899, allocations: 204.2 kB / 449.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.19, allocations: 92.91 kB / 449.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.19, allocations: 3.938 kB / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1901, allocations: 8 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.1901, allocations: 7.984 kB / 449.6 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1902, allocations: 4 kB / 449.6 MB, free: 6.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1903, allocations: 172.2 kB / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1903, allocations: 0 / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1906, allocations: 31.98 kB / 449.8 MB, free: 5.953 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001101/0.1917, allocations: 461.5 kB / 450.3 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1919, allocations: 59.92 kB / 450.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1919, allocations: 4.062 kB / 450.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.192, allocations: 23.98 kB / 450.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1923, allocations: 28.28 kB / 450.4 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.1928, allocations: 290.1 kB / 450.7 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1932, allocations: 0.7121 MB / 451.4 MB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.1932, allocations: 16.86 kB / 451.4 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.1933, allocations: 15.44 kB / 451.4 MB, free: 4.332 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1933, allocations: 4 kB / 451.4 MB, free: 4.328 MB / 382.1 MB Notification: Performance of Templates: time 0.004782/0.1981, allocations: 1.633 MB / 453 MB, free: 2.695 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches