Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009774/0.0009774, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004846/0.004846, allocations: 159.9 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8979/0.8979, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2498/0.2498, allocations: 34.26 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 443.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.139e-05, allocations: 2.281 kB / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.1812/0.1812, allocations: 1.79 MB / 445.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1824, allocations: 1.046 MB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.1825, allocations: 3.938 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.1829, allocations: 299.2 kB / 446.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.1832, allocations: 256.6 kB / 446.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.1834, allocations: 108.9 kB / 447 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1836, allocations: 270.2 kB / 447.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.1836, allocations: 11.05 kB / 447.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1838, allocations: 148.3 kB / 447.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1839, allocations: 204.4 kB / 447.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1839, allocations: 5.25 kB / 447.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.672e-05/0.184, allocations: 47.95 kB / 447.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.1841, allocations: 145.6 kB / 447.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.1842, allocations: 69.78 kB / 447.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.1844, allocations: 351 kB / 448.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1845, allocations: 0 / 448.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1845, allocations: 0 / 448.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1845, allocations: 0 / 448.2 MB, free: 42.69 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005923/0.1851, allocations: 0.6741 MB / 448.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1851, allocations: 12.34 kB / 448.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.1851, allocations: 51.2 kB / 449 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.1855, allocations: 382 kB / 449.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1856, allocations: 3.344 kB / 449.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.1856, allocations: 3.25 kB / 449.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1857, allocations: 91.64 kB / 449.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1857, allocations: 3.938 kB / 449.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1857, allocations: 4.5 kB / 449.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1857, allocations: 3.875 kB / 449.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.1858, allocations: 35.92 kB / 449.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.186, allocations: 305.1 kB / 449.8 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1862, allocations: 105.7 kB / 449.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.1862, allocations: 41.53 kB / 449.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1862, allocations: 0 / 449.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.1864, allocations: 115 kB / 450 MB, free: 41.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1864, allocations: 4 kB / 450 MB, free: 41.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002861/0.1867, allocations: 209.4 kB / 450.2 MB, free: 41.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.1867, allocations: 87.89 kB / 450.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.1873, allocations: 1.032 MB / 451.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1873, allocations: 28.58 kB / 451.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.1874, allocations: 230.8 kB / 451.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1874, allocations: 30.16 kB / 451.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.1874, allocations: 29.28 kB / 451.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.1875, allocations: 369 kB / 452 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-05/0.1876, allocations: 32.12 kB / 452.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.891e-05/0.1876, allocations: 63.06 kB / 452.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.671e-05/0.1877, allocations: 92.84 kB / 452.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1877, allocations: 0 / 452.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001681/0.1879, allocations: 176.1 kB / 452.4 MB, free: 40.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1879, allocations: 8.953 kB / 452.4 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1879, allocations: 3.938 kB / 452.4 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1879, allocations: 6.906 kB / 452.4 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.188, allocations: 28.52 kB / 452.4 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.188, allocations: 2.625 kB / 452.4 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.188, allocations: 2.625 kB / 452.4 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.188, allocations: 5.625 kB / 452.4 MB, free: 40.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0001237/0.1882, allocations: 226.8 kB / 452.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.1882, allocations: 52.19 kB / 452.7 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.1884, allocations: 205.1 kB / 452.9 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1884, allocations: 6.031 kB / 452.9 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1884, allocations: 4 kB / 452.9 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1884, allocations: 2.906 kB / 452.9 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.1886, allocations: 265 kB / 453.2 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1886, allocations: 0 / 453.2 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.1886, allocations: 15.77 kB / 453.2 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1886, allocations: 2.719 kB / 453.2 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1886, allocations: 6.75 kB / 453.2 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1886, allocations: 11.69 kB / 453.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1886, allocations: 0 / 453.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1888, allocations: 216 kB / 453.4 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.1888, allocations: 64.88 kB / 453.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1889, allocations: 2.531 kB / 453.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.1889, allocations: 13.8 kB / 453.5 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.1889, allocations: 10.56 kB / 453.5 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.189, allocations: 9.625 kB / 453.5 MB, free: 39.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004205/0.1894, allocations: 0.7724 MB / 454.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1894, allocations: 0 / 454.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.1896, allocations: 45.41 kB / 454.4 MB, free: 39.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006946/0.1903, allocations: 450.2 kB / 454.8 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.1904, allocations: 88.59 kB / 454.9 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1904, allocations: 0 / 454.9 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.1905, allocations: 45.03 kB / 454.9 MB, free: 38.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1907, allocations: 76.66 kB / 455 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.1915, allocations: 0.9134 MB / 455.9 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.1916, allocations: 240.9 kB / 456.1 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.1916, allocations: 29.75 kB / 456.2 MB, free: 38.41 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1916, allocations: 0 / 456.2 MB, free: 38.41 MB / 410.7 MB Notification: Performance of Templates: time 0.004487/0.1961, allocations: 5.251 MB / 461.4 MB, free: 37.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.891114192083478]