Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 102.5 kB / 16.27 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.001846/0.001847, allocations: 188.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.791/1.791, 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.2258/0.2258, allocations: 43.53 MB / 313.9 MB, free: 0.5117 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.001423/0.001424, allocations: 77.58 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1753, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004726/0.1801, allocations: 1.897 MB / 442.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.182, allocations: 0.8388 MB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1822, allocations: 4 kB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.1826, allocations: 47.7 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1829, allocations: 55.7 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.1834, allocations: 107.7 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1836, allocations: 131.6 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1838, allocations: 37.69 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1839, allocations: 55.73 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.1841, allocations: 47.7 kB / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.1841, allocations: 8 kB / 443.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1842, allocations: 43.98 kB / 443.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.656e-05/0.1843, allocations: 31.86 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.1844, allocations: 51.67 kB / 443.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1847, allocations: 147.5 kB / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.1847, allocations: 0 / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1847, allocations: 4 kB / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1847, allocations: 0 / 444 MB, free: 3.375 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007332/0.1855, allocations: 476.5 kB / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.1856, allocations: 11.89 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.1857, allocations: 16.75 kB / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.186, allocations: 220 kB / 444.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.1861, allocations: 4.375 kB / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.1861, allocations: 12.12 kB / 444.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.1865, allocations: 112.2 kB / 444.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1865, allocations: 3.938 kB / 444.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.1866, allocations: 0 / 444.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1866, allocations: 4 kB / 444.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.1868, allocations: 47.97 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008048/0.1877, allocations: 0.5086 MB / 445.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.1882, allocations: 90.66 kB / 445.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1884, allocations: 36.84 kB / 445.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.1885, allocations: 11.92 kB / 445.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004443/0.1889, allocations: 83.31 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.535e-06/0.1889, allocations: 3.938 kB / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006244/0.1896, allocations: 137.5 kB / 445.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.1896, allocations: 63.34 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.1899, allocations: 191.4 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.1899, allocations: 25.7 kB / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.983e-05/0.19, allocations: 116 kB / 446.2 MB, free: 1.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.1901, allocations: 31.62 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.1902, allocations: 25.72 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.1903, allocations: 330.8 kB / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1904, allocations: 31.98 kB / 446.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.1906, allocations: 67.59 kB / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.1909, allocations: 100.2 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1909, allocations: 4 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004225/0.1913, allocations: 137.3 kB / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1914, allocations: 4.469 kB / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1914, allocations: 0 / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.1914, allocations: 4 kB / 446.9 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.1916, allocations: 27.86 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1917, allocations: 8.125 kB / 446.9 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1918, allocations: 19.83 kB / 446.9 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.1918, allocations: 4 kB / 446.9 MB, free: 184 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001246/0.192, allocations: 125.8 kB / 447.1 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.192, allocations: 19.8 kB / 447.1 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.1921, allocations: 21.38 kB / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1921, allocations: 3.938 kB / 447.1 MB, free: 0 / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1922, allocations: 4.047 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1922, allocations: 0 / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.1925, allocations: 213.5 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1925, allocations: 0 / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.1926, allocations: 15.92 kB / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1926, allocations: 0 / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.1927, allocations: 4 kB / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1927, allocations: 3.938 kB / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1927, allocations: 0 / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.1932, allocations: 184.8 kB / 447.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.1933, allocations: 85.05 kB / 447.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.1934, allocations: 7.922 kB / 447.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1935, allocations: 7.938 kB / 447.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.1936, allocations: 11.98 kB / 447.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.1936, allocations: 4 kB / 447.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1938, allocations: 137.2 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1938, allocations: 0 / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004401/0.1943, allocations: 27.91 kB / 447.8 MB, free: 15.22 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001775/0.1961, allocations: 419.7 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004539/0.1965, allocations: 83.83 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1966, allocations: 0 / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.1968, allocations: 35.92 kB / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.1973, allocations: 32.59 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.1981, allocations: 264 kB / 448.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.1986, allocations: 0.7201 MB / 449.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.1987, allocations: 17.42 kB / 449.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.1988, allocations: 23.42 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1988, allocations: 0 / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of Templates: time 0.008282/0.2071, allocations: 1.868 MB / 451.2 MB, free: 11.8 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches