Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 88.19 kB / 15.7 MB, free: 460 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.001038/0.001038, allocations: 175.2 kB / 16.58 MB, free: 6.84 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.954/1.954, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.4464/0.4464, allocations: 43.58 MB / 314.6 MB, free: 8.766 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.0006509/0.0006514, allocations: 20 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1773, allocations: 58.87 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002262/0.1797, allocations: 1.398 MB / 444.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1809, allocations: 0.7461 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.181, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.1814, allocations: 103.8 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.1817, allocations: 71.78 kB / 445.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1819, allocations: 83.84 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.1821, allocations: 103.7 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1823, allocations: 15.97 kB / 445.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1824, allocations: 51.77 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1825, allocations: 55.81 kB / 445.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1825, allocations: 4 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.1826, allocations: 39.92 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.1827, allocations: 23.92 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.1828, allocations: 45.64 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.183, allocations: 104 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.183, allocations: 0 / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.183, allocations: 0 / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.183, allocations: 0 / 445.7 MB, free: 10.15 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005796/0.1836, allocations: 426.7 kB / 446.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1836, allocations: 16.02 kB / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1837, allocations: 15.8 kB / 446.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1839, allocations: 218.5 kB / 446.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.184, allocations: 8 kB / 446.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.184, allocations: 11.91 kB / 446.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1842, allocations: 65.59 kB / 446.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1842, allocations: 0 / 446.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1842, allocations: 11.92 kB / 446.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1842, allocations: 7.953 kB / 446.4 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.1844, allocations: 31.91 kB / 446.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.1848, allocations: 316.8 kB / 446.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.185, allocations: 70.77 kB / 446.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.1851, allocations: 24.86 kB / 446.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1851, allocations: 4 kB / 446.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.1853, allocations: 79.33 kB / 446.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1853, allocations: 0 / 446.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006322/0.186, allocations: 240.9 kB / 447.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.186, allocations: 51.41 kB / 447.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.1863, allocations: 242.6 kB / 447.5 MB, free: 8.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1863, allocations: 33.69 kB / 447.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.1864, allocations: 112.1 kB / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.1864, allocations: 27.56 kB / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.1865, allocations: 4 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1866, allocations: 330.8 kB / 448 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.1866, allocations: 31.98 kB / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.1867, allocations: 49.64 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.698e-05/0.1868, allocations: 31.94 kB / 448.1 MB, free: 7.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1868, allocations: 0 / 448.1 MB, free: 7.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002122/0.187, allocations: 137.4 kB / 448.2 MB, free: 7.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.187, allocations: 4 kB / 448.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1871, allocations: 0 / 448.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1871, allocations: 7.938 kB / 448.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.1872, allocations: 19.98 kB / 448.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1872, allocations: 0 / 448.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.1872, allocations: 8 kB / 448.3 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1873, allocations: 4 kB / 448.3 MB, free: 7.328 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 (13): * Single equations (assignments): 13 * 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.0001213/0.1874, allocations: 133.8 kB / 448.4 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.1874, allocations: 23.8 kB / 448.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.1875, allocations: 25.39 kB / 448.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1875, allocations: 0 / 448.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1875, allocations: 3.938 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1875, allocations: 3.938 kB / 448.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.188, allocations: 451.1 kB / 448.9 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.188, allocations: 0 / 448.9 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.1881, allocations: 24.02 kB / 448.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1881, allocations: 8 kB / 448.9 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1881, allocations: 0 / 448.9 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1881, allocations: 4 kB / 448.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1881, allocations: 3.938 kB / 448.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1884, allocations: 224.1 kB / 449.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.1885, allocations: 96.92 kB / 449.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1885, allocations: 4 kB / 449.2 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1886, allocations: 11.98 kB / 449.3 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.1886, allocations: 4 kB / 449.3 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1886, allocations: 7.984 kB / 449.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1888, allocations: 184.5 kB / 449.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1888, allocations: 3.938 kB / 449.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1891, allocations: 24 kB / 449.5 MB, free: 6.008 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 (11): * Single equations (assignments): 9 * 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.001084/0.1901, allocations: 475.2 kB / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.1904, allocations: 75.91 kB / 450 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1904, allocations: 0 / 450 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.1905, allocations: 43.98 kB / 450.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1908, allocations: 32.25 kB / 450.1 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.1913, allocations: 330.9 kB / 450.4 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1917, allocations: 0.7165 MB / 451.1 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.192e-05/0.1917, allocations: 21.06 kB / 451.1 MB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.1918, allocations: 23.42 kB / 451.2 MB, free: 4.293 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1918, allocations: 4 kB / 451.2 MB, free: 4.289 MB / 382.1 MB Notification: Performance of Templates: time 0.004867/0.1967, allocations: 1.763 MB / 452.9 MB, free: 2.527 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches