Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 97.25 kB / 16.26 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.633/1.633, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2825/0.2825, allocations: 43.53 MB / 313.9 MB, free: 0.5195 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.001477/0.001477, allocations: 69.45 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1784, allocations: 57.8 MB / 440.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00425/0.1828, allocations: 1.685 MB / 442.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1842, allocations: 0.7961 MB / 443 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1843, allocations: 3.938 kB / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.1848, allocations: 43.83 kB / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.185, allocations: 51.7 kB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1854, allocations: 87.77 kB / 443.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.1856, allocations: 91.69 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1858, allocations: 16.5 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1859, allocations: 43.78 kB / 443.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.994e-05/0.186, allocations: 27.84 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.186, allocations: 4 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1861, allocations: 47.98 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.536e-05/0.1862, allocations: 19.86 kB / 443.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.1863, allocations: 35.73 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1865, allocations: 107.7 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1865, allocations: 3.938 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1866, allocations: 0 / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1866, allocations: 4 kB / 443.6 MB, free: 3.789 MB / 318.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.0005815/0.1872, allocations: 410.9 kB / 444 MB, free: 3.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1872, allocations: 11.89 kB / 444 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.1873, allocations: 12.84 kB / 444 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1875, allocations: 209.1 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1875, allocations: 4.359 kB / 444.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.1876, allocations: 8.125 kB / 444.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1877, allocations: 53.67 kB / 444.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1878, allocations: 0 / 444.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1878, allocations: 0 / 444.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1878, allocations: 0 / 444.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.014e-05/0.1879, allocations: 19.98 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.1883, allocations: 288.8 kB / 444.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1885, allocations: 62.62 kB / 444.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.1886, allocations: 20.84 kB / 444.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.1886, allocations: 7.938 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.1889, allocations: 71.38 kB / 444.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.1889, allocations: 0 / 444.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000602/0.1895, allocations: 173.1 kB / 444.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1895, allocations: 55.34 kB / 445 MB, free: 2.227 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1897, allocations: 194.1 kB / 445.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1897, allocations: 25.7 kB / 445.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.1898, allocations: 100.1 kB / 445.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.1898, allocations: 27.7 kB / 445.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.1899, allocations: 25.66 kB / 445.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.19, allocations: 326.8 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.19, allocations: 23.98 kB / 445.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-05/0.1901, allocations: 33.7 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.1902, allocations: 57.77 kB / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1902, allocations: 8 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001551/0.1903, allocations: 101.5 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1904, allocations: 5.25 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1904, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1904, allocations: 4 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1905, allocations: 15.98 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1905, allocations: 3.938 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.1906, allocations: 7.938 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1906, allocations: 4 kB / 445.9 MB, free: 1.23 MB / 318.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 9.978e-05/0.1907, allocations: 133.8 kB / 446 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.1908, allocations: 11.81 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.1908, allocations: 16.7 kB / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1908, allocations: 4 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1908, allocations: 0 / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1909, allocations: 3.938 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.1912, allocations: 395.3 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1912, allocations: 3.984 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.1913, allocations: 8 kB / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.1913, allocations: 4.375 kB / 446.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1913, allocations: 3.938 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1913, allocations: 4 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1913, allocations: 3.984 kB / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.1915, allocations: 204.5 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.1915, allocations: 85.02 kB / 446.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.1915, allocations: 11.88 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.279e-05/0.1916, allocations: 4 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.1917, allocations: 11.92 kB / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1917, allocations: 4 kB / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.471e-05/0.1918, allocations: 139.2 kB / 446.9 MB, free: 88 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1918, allocations: 0 / 446.9 MB, free: 88 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.192, allocations: 27.91 kB / 447 MB, free: 60 kB / 318.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.001205/0.1932, allocations: 464.4 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.1934, allocations: 59.91 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1935, allocations: 4.062 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.1935, allocations: 32.08 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1939, allocations: 28.12 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.1945, allocations: 231.3 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.1951, allocations: 0.7002 MB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.1951, allocations: 8.891 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.1952, allocations: 19.42 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1952, allocations: 3.938 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Templates: time 0.005838/0.201, allocations: 1.686 MB / 450.2 MB, free: 12.89 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches