Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001346/0.001346, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001456/0.001456, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.385/1.385, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 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.1997/0.1997, allocations: 32.81 MB / 293.5 MB, free: 56 kB / 270.1 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 440.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.236e-05, allocations: 2.281 kB / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003053/0.003076, allocations: 1.875 MB / 442.1 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.005122, allocations: 1.076 MB / 443.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.375e-05/0.005216, allocations: 4 kB / 443.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.005699, allocations: 227.2 kB / 443.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.006191, allocations: 223.1 kB / 443.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.006463, allocations: 111.6 kB / 443.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.00681, allocations: 267.2 kB / 444 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.006931, allocations: 17.95 kB / 444 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.007163, allocations: 147.5 kB / 444.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.007394, allocations: 155.7 kB / 444.3 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.007427, allocations: 16 kB / 444.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.00757, allocations: 63.89 kB / 444.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.007673, allocations: 67.7 kB / 444.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.817e-05/0.007761, allocations: 43.8 kB / 444.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.008129, allocations: 243.1 kB / 444.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.008136, allocations: 3.984 kB / 444.7 MB, free: 3.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.008137, allocations: 0 / 444.7 MB, free: 3.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.008142, allocations: 0 / 444.7 MB, free: 3.547 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008302/0.008972, allocations: 0.4925 MB / 445.2 MB, free: 3.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.009007, allocations: 12.03 kB / 445.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.009076, allocations: 32.75 kB / 445.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.009405, allocations: 221.7 kB / 445.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.009427, allocations: 4.359 kB / 445.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.009463, allocations: 16.31 kB / 445.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.009731, allocations: 111.8 kB / 445.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.009747, allocations: 7.891 kB / 445.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.009763, allocations: 4 kB / 445.6 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.009773, allocations: 0 / 445.6 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.009921, allocations: 55.89 kB / 445.6 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.01049, allocations: 412.6 kB / 446 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.01093, allocations: 129.1 kB / 446.2 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.01104, allocations: 41.81 kB / 446.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.01107, allocations: 4 kB / 446.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.01133, allocations: 125 kB / 446.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.01133, allocations: 0 / 446.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001474/0.01281, allocations: 0.5131 MB / 446.9 MB, free: 1.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.01287, allocations: 85.05 kB / 446.9 MB, free: 1.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/0.01344, allocations: 452.5 kB / 447.4 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.01347, allocations: 33.69 kB / 447.4 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.0136, allocations: 160.6 kB / 447.6 MB, free: 496 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.01367, allocations: 79.38 kB / 447.6 MB, free: 416 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.01375, allocations: 41.7 kB / 447.7 MB, free: 368 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.01391, allocations: 342.8 kB / 448 MB, free: 16 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1866/0.2006, allocations: 62.83 kB / 448.1 MB, free: 21.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.2007, allocations: 90.64 kB / 448.2 MB, free: 21.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.201, allocations: 167.4 kB / 448.3 MB, free: 21.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.201, allocations: 1.125 kB / 448.3 MB, free: 21.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005505/0.2016, allocations: 233.2 kB / 448.6 MB, free: 21.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2016, allocations: 4.906 kB / 448.6 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2016, allocations: 2.578 kB / 448.6 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.2016, allocations: 2.344 kB / 448.6 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.2018, allocations: 46.98 kB / 448.6 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2018, allocations: 6.781 kB / 448.6 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2019, allocations: 18.08 kB / 448.6 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.2019, allocations: 7.578 kB / 448.6 MB, free: 21.31 MB / 366.1 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000207/0.2021, allocations: 167.9 kB / 448.8 MB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.2022, allocations: 34.81 kB / 448.8 MB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005401/0.2027, allocations: 283.1 kB / 449.1 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2027, allocations: 4.188 kB / 449.1 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2027, allocations: 1.312 kB / 449.1 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2027, allocations: 2.469 kB / 449.1 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008391/0.2036, allocations: 0.6758 MB / 449.8 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2036, allocations: 2.062 kB / 449.8 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.2037, allocations: 38.06 kB / 449.8 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2037, allocations: 7.281 kB / 449.9 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2037, allocations: 6.016 kB / 449.9 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2037, allocations: 5.672 kB / 449.9 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.2037, allocations: 2.219 kB / 449.9 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.2042, allocations: 443.3 kB / 450.3 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.2043, allocations: 40.89 kB / 450.3 MB, free: 20.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.2043, allocations: 10.17 kB / 450.3 MB, free: 20.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2044, allocations: 5.453 kB / 450.4 MB, free: 20.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.2045, allocations: 20.88 kB / 450.4 MB, free: 20.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.2045, allocations: 10.5 kB / 450.4 MB, free: 20.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002936/0.2048, allocations: 346.7 kB / 450.7 MB, free: 20.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2048, allocations: 0 / 450.7 MB, free: 20.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000359/0.2052, allocations: 52.36 kB / 450.8 MB, free: 20.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001945/0.2071, allocations: 0.5516 MB / 451.3 MB, free: 20.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.2075, allocations: 158.4 kB / 451.5 MB, free: 20.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2075, allocations: 1.375 kB / 451.5 MB, free: 20.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.2076, allocations: 79.44 kB / 451.6 MB, free: 20 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.2082, allocations: 66.23 kB / 451.6 MB, free: 19.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.2091, allocations: 0.5683 MB / 452.2 MB, free: 19.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.2092, allocations: 171.8 kB / 452.4 MB, free: 19.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.2093, allocations: 44.25 kB / 452.4 MB, free: 19.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.2094, allocations: 28.78 kB / 452.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2094, allocations: 0 / 452.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of Templates: time 0.008274/0.2177, allocations: 3.323 MB / 455.8 MB, free: 19.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.593043569475412]