Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 91.69 kB / 15.7 MB, free: 464 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.002044/0.002044, allocations: 166.4 kB / 16.57 MB, free: 6.863 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.214/2.214, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.4853/0.4853, allocations: 43.57 MB / 314.6 MB, free: 9.012 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.0005909/0.0005911, allocations: 18.95 kB / 384 MB, free: 8.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1776, allocations: 58.87 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002539/0.1802, allocations: 1.363 MB / 444.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1818, allocations: 0.7228 MB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.182, allocations: 0 / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.1824, allocations: 55.86 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.1827, allocations: 55.81 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.183, allocations: 67.84 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.1833, allocations: 83.69 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.41e-05/0.1833, allocations: 11.98 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1835, allocations: 43.84 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.1836, allocations: 39.77 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1837, allocations: 4 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1838, allocations: 20 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1839, allocations: 19.91 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.1839, allocations: 37.69 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1841, allocations: 76.06 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1842, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1842, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1842, allocations: 4 kB / 445.4 MB, free: 10.63 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007545/0.1849, allocations: 402.7 kB / 445.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.185, allocations: 8.031 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.1851, allocations: 11.91 kB / 445.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.1854, allocations: 202.8 kB / 446 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1854, allocations: 0 / 446 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1854, allocations: 4 kB / 446 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1856, allocations: 57.66 kB / 446.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1856, allocations: 0 / 446.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1857, allocations: 0 / 446.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1857, allocations: 7.953 kB / 446.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.1858, allocations: 19.92 kB / 446.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.186, allocations: 177.6 kB / 446.3 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1862, allocations: 50.62 kB / 446.3 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.1863, allocations: 24.84 kB / 446.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.1863, allocations: 0 / 446.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.1865, allocations: 67.33 kB / 446.4 MB, free: 9.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.1866, allocations: 0 / 446.4 MB, free: 9.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003168/0.1869, allocations: 97.58 kB / 446.5 MB, free: 9.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.187, allocations: 55.36 kB / 446.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1872, allocations: 182.2 kB / 446.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1872, allocations: 25.7 kB / 446.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.1873, allocations: 104.1 kB / 446.9 MB, free: 8.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.1873, allocations: 11.81 kB / 446.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.1873, allocations: 0 / 446.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1875, allocations: 326.8 kB / 447.2 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.1876, allocations: 15.98 kB / 447.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.1876, allocations: 25.66 kB / 447.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.677e-05/0.1877, allocations: 19.98 kB / 447.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1877, allocations: 0 / 447.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001643/0.1879, allocations: 81.59 kB / 447.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1879, allocations: 4 kB / 447.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1879, allocations: 0 / 447.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1879, allocations: 0 / 447.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.188, allocations: 19.92 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.188, allocations: 3.953 kB / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.1881, allocations: 11.94 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1881, allocations: 0 / 447.4 MB, free: 8.422 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001193/0.1882, allocations: 122.7 kB / 447.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1883, allocations: 11.89 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.1883, allocations: 16.31 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1883, allocations: 0 / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1884, allocations: 0 / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.1884, allocations: 7.891 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.1886, allocations: 189.6 kB / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1886, allocations: 0 / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.1886, allocations: 8 kB / 447.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1886, allocations: 0 / 447.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1886, allocations: 3.938 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1886, allocations: 0 / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1886, allocations: 0 / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.1888, allocations: 113.3 kB / 447.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.1889, allocations: 88.92 kB / 447.9 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1889, allocations: 3.984 kB / 447.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.189, allocations: 16 kB / 448 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.189, allocations: 0 / 448 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.189, allocations: 4 kB / 448 MB, free: 7.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1892, allocations: 143.2 kB / 448.1 MB, free: 7.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1892, allocations: 0 / 448.1 MB, free: 7.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1894, allocations: 16 kB / 448.1 MB, free: 7.602 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001058/0.1905, allocations: 409.4 kB / 448.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1907, allocations: 47.91 kB / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1907, allocations: 0 / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.1908, allocations: 20 kB / 448.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.1911, allocations: 32.03 kB / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.1916, allocations: 209.2 kB / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.1921, allocations: 0.7043 MB / 449.5 MB, free: 6.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.194e-05/0.1922, allocations: 16.39 kB / 449.5 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.1922, allocations: 15.44 kB / 449.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1922, allocations: 0 / 449.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of Templates: time 0.005592/0.1978, allocations: 1.368 MB / 450.9 MB, free: 4.773 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches