Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.0008801/0.0008801, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004662/0.004662, allocations: 160.9 kB / 24.7 MB, free: 8.898 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.8812/0.8812, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2346/0.2346, allocations: 32.79 MB / 294.2 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 3.938 kB / 440.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.09e-05, allocations: 2.281 kB / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002069/0.00209, allocations: 1.714 MB / 442.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003177, allocations: 0.9703 MB / 443.6 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.003244, allocations: 3.938 kB / 443.6 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.003561, allocations: 39.77 kB / 443.7 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.003848, allocations: 99.47 kB / 443.8 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.003995, allocations: 79.59 kB / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.004179, allocations: 103.6 kB / 443.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.004296, allocations: 7.984 kB / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.004387, allocations: 59.83 kB / 444 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.004475, allocations: 27.91 kB / 444 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.004492, allocations: 4 kB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.004576, allocations: 47.91 kB / 444.1 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.004634, allocations: 19.88 kB / 444.1 MB, free: 488 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.004673, allocations: 19.92 kB / 444.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.004842, allocations: 119.5 kB / 444.2 MB, free: 348 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.004845, allocations: 4 kB / 444.2 MB, free: 344 kB / 410.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004846, allocations: 0 / 444.2 MB, free: 344 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.00485, allocations: 0 / 444.2 MB, free: 344 kB / 410.7 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.1767/0.1816, allocations: 344.1 kB / 444.6 MB, free: 46.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1816, allocations: 8.625 kB / 444.6 MB, free: 46.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.1817, allocations: 10.73 kB / 444.6 MB, free: 46.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1819, allocations: 148.9 kB / 444.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1819, allocations: 384 / 444.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.182, allocations: 5.453 kB / 444.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1821, allocations: 63.66 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1821, allocations: 0 / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1821, allocations: 0 / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1821, allocations: 0 / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/0.1822, allocations: 21 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.1825, allocations: 235.1 kB / 445.1 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1826, allocations: 57.52 kB / 445.1 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.1826, allocations: 21.41 kB / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.1826, allocations: 0 / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.1827, allocations: 76.53 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1827, allocations: 0 / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004378/0.1832, allocations: 177.7 kB / 445.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1832, allocations: 53.34 kB / 445.4 MB, free: 46.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1833, allocations: 188.9 kB / 445.6 MB, free: 46.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.597e-06/0.1833, allocations: 30.19 kB / 445.7 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.1834, allocations: 100.9 kB / 445.8 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.1834, allocations: 27.66 kB / 445.8 MB, free: 46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.1834, allocations: 27.73 kB / 445.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.547e-05/0.1834, allocations: 328.1 kB / 446.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.1835, allocations: 22.67 kB / 446.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.1835, allocations: 40.56 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.492e-05/0.1836, allocations: 59.39 kB / 446.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1836, allocations: 0 / 446.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001009/0.1837, allocations: 104.3 kB / 446.3 MB, free: 45.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1837, allocations: 6.062 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1837, allocations: 3.562 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1837, allocations: 9.578 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.1838, allocations: 19.33 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1838, allocations: 0 / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.1838, allocations: 6.594 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1838, allocations: 6.406 kB / 446.4 MB, free: 45.6 MB / 410.7 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 5.361e-05/0.1839, allocations: 122.1 kB / 446.5 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.1839, allocations: 14.25 kB / 446.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.1841, allocations: 124.9 kB / 446.7 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1841, allocations: 2.875 kB / 446.7 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1841, allocations: 1.812 kB / 446.7 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1841, allocations: 3.281 kB / 446.7 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.1843, allocations: 342 kB / 447 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1843, allocations: 0 / 447 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.1843, allocations: 8.719 kB / 447 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1843, allocations: 6.016 kB / 447 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1843, allocations: 7.844 kB / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1843, allocations: 6.172 kB / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1843, allocations: 3.938 kB / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.1845, allocations: 210.6 kB / 447.2 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.1845, allocations: 14.27 kB / 447.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1845, allocations: 2.906 kB / 447.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.1845, allocations: 4 kB / 447.3 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1846, allocations: 13.23 kB / 447.3 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1846, allocations: 5.5 kB / 447.3 MB, free: 44.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.507e-05/0.1846, allocations: 144 kB / 447.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1846, allocations: 9.438 kB / 447.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.1848, allocations: 23.28 kB / 447.4 MB, free: 44.88 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: 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 (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.00097/0.1858, allocations: 499.8 kB / 447.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.186, allocations: 57.67 kB / 448 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.186, allocations: 3.938 kB / 448 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.439e-05/0.186, allocations: 32.2 kB / 448 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.1863, allocations: 33.2 kB / 448.1 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.1866, allocations: 255.6 kB / 448.3 MB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.176e-05/0.1866, allocations: 88.94 kB / 448.4 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.1867, allocations: 21.34 kB / 448.4 MB, free: 44.41 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1867, allocations: 3.828 kB / 448.4 MB, free: 44.41 MB / 410.7 MB Notification: Performance of Templates: time 0.002324/0.189, allocations: 1.982 MB / 450.4 MB, free: 44.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.873984433710575]