Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 97.64 kB / 16.02 MB, free: 84 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.001409/0.001409, allocations: 174.9 kB / 16.91 MB, free: 6.684 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.096/2.096, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.4562/0.4562, allocations: 43.57 MB / 315 MB, free: 9.078 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.0005848/0.000585, allocations: 12 kB / 384.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1763, allocations: 58.87 MB / 443.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003597/0.18, allocations: 1.414 MB / 444.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1822, allocations: 0.7652 MB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.1824, allocations: 0 / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004754/0.1829, allocations: 51.86 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.1832, allocations: 47.83 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1837, allocations: 79.84 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.1839, allocations: 95.69 kB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1841, allocations: 24.14 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1842, allocations: 39.73 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1844, allocations: 31.84 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1844, allocations: 0 / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1846, allocations: 39.97 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.801e-05/0.1846, allocations: 27.86 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.574e-05/0.1847, allocations: 61.39 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.185, allocations: 115.9 kB / 446.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1851, allocations: 0 / 446.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1851, allocations: 0 / 446.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1851, allocations: 0 / 446.2 MB, free: 10.08 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.0008611/0.1859, allocations: 411 kB / 446.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.642e-05/0.186, allocations: 8.031 kB / 446.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.1861, allocations: 20.75 kB / 446.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.1865, allocations: 212.1 kB / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.1865, allocations: 4.375 kB / 446.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.1866, allocations: 12.03 kB / 446.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.1868, allocations: 57.61 kB / 446.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.1868, allocations: 4 kB / 447 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1868, allocations: 0 / 447 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1868, allocations: 0 / 447 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.1869, allocations: 19.98 kB / 447 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.1875, allocations: 288.8 kB / 447.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1878, allocations: 62.61 kB / 447.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.623e-05/0.1878, allocations: 24.84 kB / 447.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.1879, allocations: 0 / 447.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.1881, allocations: 67.39 kB / 447.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.1881, allocations: 0 / 447.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000767/0.1889, allocations: 177.1 kB / 447.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.189, allocations: 55.41 kB / 447.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.1893, allocations: 222.7 kB / 447.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.1893, allocations: 29.69 kB / 447.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.1894, allocations: 100.1 kB / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.1895, allocations: 27.64 kB / 448 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1895, allocations: 17.72 kB / 448 MB, free: 8.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1897, allocations: 326.8 kB / 448.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/0.1898, allocations: 23.98 kB / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.1898, allocations: 45.58 kB / 448.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.19, allocations: 61.77 kB / 448.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.19, allocations: 7.938 kB / 448.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002137/0.1902, allocations: 93.53 kB / 448.6 MB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1902, allocations: 4 kB / 448.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1903, allocations: 4 kB / 448.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1903, allocations: 0 / 448.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.1904, allocations: 15.98 kB / 448.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1904, allocations: 4.031 kB / 448.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.1905, allocations: 11.94 kB / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1905, allocations: 4 kB / 448.6 MB, free: 7.469 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.0001281/0.1906, allocations: 129.8 kB / 448.7 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1906, allocations: 15.8 kB / 448.8 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.1907, allocations: 25.39 kB / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1908, allocations: 0 / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1908, allocations: 0 / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1908, allocations: 8.312 kB / 448.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.1913, allocations: 395.3 kB / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/0.1914, allocations: 4 kB / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.1914, allocations: 11.98 kB / 449.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1914, allocations: 0 / 449.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1914, allocations: 3.938 kB / 449.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1914, allocations: 4 kB / 449.2 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1914, allocations: 0 / 449.2 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.1917, allocations: 212.2 kB / 449.4 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.1918, allocations: 92.91 kB / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.1918, allocations: 7.938 kB / 449.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.1919, allocations: 4 kB / 449.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.192, allocations: 7.984 kB / 449.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.192, allocations: 4 kB / 449.5 MB, free: 6.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.1922, allocations: 172.3 kB / 449.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1922, allocations: 0 / 449.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1924, allocations: 31.98 kB / 449.7 MB, free: 6.254 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.001294/0.1937, allocations: 468.4 kB / 450.2 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.194, allocations: 59.91 kB / 450.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.194, allocations: 0 / 450.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.1941, allocations: 27.98 kB / 450.3 MB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.1945, allocations: 27.97 kB / 450.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.1952, allocations: 290.1 kB / 450.6 MB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.1958, allocations: 0.7083 MB / 451.3 MB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.345e-05/0.1958, allocations: 16.88 kB / 451.3 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.1959, allocations: 15.44 kB / 451.3 MB, free: 4.641 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1959, allocations: 3.938 kB / 451.3 MB, free: 4.637 MB / 382.1 MB Notification: Performance of Templates: time 0.005265/0.2012, allocations: 1.623 MB / 452.9 MB, free: 3.016 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches