Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009442/0.0009439, allocations: 96.16 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.0008729/0.0008728, allocations: 185.2 kB / 16.92 MB, free: 6.934 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.492/1.492, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.3833/0.3833, allocations: 43.57 MB / 315 MB, free: 9.027 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.0005991/0.0005991, allocations: 16.38 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1755, allocations: 58.87 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003134/0.1787, allocations: 1.622 MB / 445.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1805, allocations: 0.8002 MB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1806, allocations: 7.938 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.181, allocations: 35.83 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.1813, allocations: 51.77 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.1816, allocations: 87.83 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1818, allocations: 135.6 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.182, allocations: 25.77 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1821, allocations: 51.72 kB / 446.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1822, allocations: 43.7 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.1822, allocations: 7.938 kB / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1823, allocations: 39.98 kB / 446.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.1824, allocations: 19.92 kB / 446.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.1825, allocations: 73.33 kB / 446.4 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1828, allocations: 143.5 kB / 446.6 MB, free: 9.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1828, allocations: 3.938 kB / 446.6 MB, free: 9.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.1828, allocations: 0 / 446.6 MB, free: 9.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1828, allocations: 0 / 446.6 MB, free: 9.746 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007743/0.1836, allocations: 460.5 kB / 447 MB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.1837, allocations: 12.03 kB / 447 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.1837, allocations: 12.75 kB / 447.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.1841, allocations: 220.8 kB / 447.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.1841, allocations: 12.36 kB / 447.3 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.1841, allocations: 8.125 kB / 447.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.1845, allocations: 108.2 kB / 447.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1845, allocations: 0 / 447.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1846, allocations: 7.984 kB / 447.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1846, allocations: 4 kB / 447.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.1848, allocations: 59.91 kB / 447.5 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.1855, allocations: 0.5048 MB / 448 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.1859, allocations: 94.59 kB / 448.1 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.956e-05/0.186, allocations: 40.78 kB / 448.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.1861, allocations: 4 kB / 448.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.1864, allocations: 87.38 kB / 448.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.1864, allocations: 0 / 448.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004347/0.1868, allocations: 149.4 kB / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.1869, allocations: 59.34 kB / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.1871, allocations: 191.5 kB / 448.6 MB, free: 7.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1871, allocations: 29.64 kB / 448.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.1872, allocations: 119.9 kB / 448.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.1872, allocations: 23.7 kB / 448.8 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.1873, allocations: 21.7 kB / 448.8 MB, free: 7.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1874, allocations: 326.8 kB / 449.1 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.704e-05/0.1875, allocations: 32.36 kB / 449.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1877, allocations: 64.27 kB / 449.2 MB, free: 6.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.188, allocations: 108.1 kB / 449.3 MB, free: 6.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.188, allocations: 0 / 449.3 MB, free: 6.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002824/0.1883, allocations: 133.4 kB / 449.4 MB, free: 6.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.1883, allocations: 16.11 kB / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1883, allocations: 0 / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1884, allocations: 4 kB / 449.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1885, allocations: 27.86 kB / 449.5 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.1885, allocations: 4 kB / 449.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.1886, allocations: 19.84 kB / 449.5 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1886, allocations: 4 kB / 449.5 MB, free: 6.547 MB / 382.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.000137/0.1887, allocations: 129.8 kB / 449.6 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.1888, allocations: 11.91 kB / 449.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.574e-05/0.1888, allocations: 17.41 kB / 449.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1888, allocations: 3.938 kB / 449.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1889, allocations: 0 / 449.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1889, allocations: 0 / 449.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.1891, allocations: 209.5 kB / 449.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1891, allocations: 3.984 kB / 449.9 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.1892, allocations: 12 kB / 449.9 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1892, allocations: 0 / 449.9 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1892, allocations: 4 kB / 449.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1892, allocations: 7.938 kB / 449.9 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1892, allocations: 7.938 kB / 449.9 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.1896, allocations: 184.9 kB / 450.1 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.1897, allocations: 92.89 kB / 450.2 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1897, allocations: 4 kB / 450.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.1898, allocations: 23.97 kB / 450.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1899, allocations: 7.984 kB / 450.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1899, allocations: 0 / 450.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.19, allocations: 141.2 kB / 450.3 MB, free: 5.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.19, allocations: 0 / 450.3 MB, free: 5.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1903, allocations: 24 kB / 450.4 MB, free: 5.582 MB / 382.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.001102/0.1914, allocations: 433.9 kB / 450.8 MB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.1917, allocations: 83.89 kB / 450.9 MB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1917, allocations: 0 / 450.9 MB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1918, allocations: 39.92 kB / 450.9 MB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1921, allocations: 32.22 kB / 450.9 MB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/0.1928, allocations: 309.8 kB / 451.2 MB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1932, allocations: 0.7201 MB / 452 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.1932, allocations: 17.41 kB / 452 MB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.1933, allocations: 15.44 kB / 452 MB, free: 3.922 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1933, allocations: 0 / 452 MB, free: 3.922 MB / 382.1 MB Notification: Performance of Templates: time 0.005724/0.199, allocations: 1.766 MB / 453.8 MB, free: 2.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches