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.0008964/0.0008964, 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.004568/0.004568, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.9271/0.9271, allocations: 177.1 MB / 205 MB, free: 5.723 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.2619/0.2619, allocations: 32.79 MB / 294.2 MB, free: 1.215 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.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.363e-06/1.363e-06, allocations: 0 / 440.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.24e-05, allocations: 6.844 kB / 440.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002159/0.002182, allocations: 1.874 MB / 442.8 MB, free: 1.742 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003398, allocations: 1.072 MB / 443.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.041e-05/0.003478, allocations: 7.938 kB / 443.9 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.003835, allocations: 223.3 kB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.004156, allocations: 223.1 kB / 444.3 MB, free: 224 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.004319, allocations: 119.5 kB / 444.5 MB, free: 104 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1943/0.1986, allocations: 258.5 kB / 444.7 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.1988, allocations: 20.27 kB / 444.7 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.1991, allocations: 149.9 kB / 444.9 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.1993, allocations: 155 kB / 445 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.1993, allocations: 9.094 kB / 445 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.1995, allocations: 67.31 kB / 445.1 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.004e-05/0.1995, allocations: 62.73 kB / 445.2 MB, free: 44.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.1996, allocations: 50.52 kB / 445.2 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1999, allocations: 237.7 kB / 445.4 MB, free: 44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1999, allocations: 0 / 445.4 MB, free: 44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1999, allocations: 2.656 kB / 445.4 MB, free: 44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1999, allocations: 0 / 445.4 MB, free: 44 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005779/0.2005, allocations: 0.5037 MB / 445.9 MB, free: 43.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2005, allocations: 10.16 kB / 446 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.2006, allocations: 31.5 kB / 446 MB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.2009, allocations: 221.1 kB / 446.2 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2009, allocations: 4.188 kB / 446.2 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.2009, allocations: 11.88 kB / 446.2 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.2011, allocations: 112.2 kB / 446.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2011, allocations: 3.953 kB / 446.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2011, allocations: 7.812 kB / 446.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2011, allocations: 6.094 kB / 446.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.258e-05/0.2012, allocations: 50.22 kB / 446.4 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.2016, allocations: 409.3 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.2019, allocations: 126.9 kB / 446.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.2019, allocations: 43.19 kB / 447 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.202, allocations: 2.562 kB / 447 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.2021, allocations: 117.7 kB / 447.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.2021, allocations: 0 / 447.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008047/0.2029, allocations: 0.524 MB / 447.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.203, allocations: 83.55 kB / 447.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.2032, allocations: 463.4 kB / 448.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2032, allocations: 31.89 kB / 448.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.2033, allocations: 154 kB / 448.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.2033, allocations: 74.56 kB / 448.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.2034, allocations: 42.44 kB / 448.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.2034, allocations: 348.1 kB / 448.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.2035, allocations: 58.33 kB / 448.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.2036, allocations: 100.4 kB / 448.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.2037, allocations: 162.2 kB / 449.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2037, allocations: 0 / 449.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002172/0.2039, allocations: 241.3 kB / 449.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.204, allocations: 8.469 kB / 449.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.204, allocations: 0 / 449.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.204, allocations: 3.25 kB / 449.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.2041, allocations: 46.09 kB / 449.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2041, allocations: 7 kB / 449.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.2041, allocations: 10.69 kB / 449.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2041, allocations: 11.2 kB / 449.4 MB, free: 42.02 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.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 9.055e-05/0.2042, allocations: 175.2 kB / 449.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.2042, allocations: 33.86 kB / 449.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.2045, allocations: 283.8 kB / 449.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2045, allocations: 2.781 kB / 449.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2045, allocations: 0 / 449.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2045, allocations: 8 kB / 449.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.205, allocations: 0.6709 MB / 450.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.205, allocations: 6.844 kB / 450.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.2051, allocations: 31.38 kB / 450.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.2051, allocations: 2.938 kB / 450.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2051, allocations: 9.953 kB / 450.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.2051, allocations: 2.875 kB / 450.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2051, allocations: 2.875 kB / 450.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.2053, allocations: 449.7 kB / 451.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.2053, allocations: 39.36 kB / 451.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.2054, allocations: 6.812 kB / 451.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.2054, allocations: 10.55 kB / 451.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.2055, allocations: 22.28 kB / 451.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.2055, allocations: 11.78 kB / 451.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.2057, allocations: 343 kB / 451.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2057, allocations: 0 / 451.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.2059, allocations: 49.69 kB / 451.5 MB, free: 40.9 MB / 410.7 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.0009644/0.2069, allocations: 0.558 MB / 452.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.2071, allocations: 156.6 kB / 452.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2071, allocations: 2.969 kB / 452.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.2072, allocations: 78.23 kB / 452.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.2075, allocations: 73.27 kB / 452.4 MB, free: 40.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.2081, allocations: 0.5947 MB / 453 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2082, allocations: 167.5 kB / 453.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.2083, allocations: 31.05 kB / 453.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2083, allocations: 4 kB / 453.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of Templates: time 0.003627/0.2119, allocations: 3.902 MB / 457.1 MB, free: 39.68 MB / 410.7 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] "" Variables in the reference: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 Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 5.14344197511673]