Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.0007953/0.0007953, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003471/0.003471, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.8708/0.8708, 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.2472/0.2472, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 3.938 kB / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.403e-05, allocations: 2.281 kB / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.1959/0.1959, allocations: 1.664 MB / 445.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.1969, allocations: 0.9612 MB / 446.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.1969, allocations: 0.5625 kB / 446.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.1972, allocations: 66.33 kB / 446.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.1974, allocations: 106.7 kB / 446.3 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.1975, allocations: 74.27 kB / 446.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1977, allocations: 116.2 kB / 446.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.1977, allocations: 6.844 kB / 446.5 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.504e-05/0.1978, allocations: 50.78 kB / 446.6 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.1979, allocations: 53.58 kB / 446.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1979, allocations: 2.812 kB / 446.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.126e-05/0.198, allocations: 36.75 kB / 446.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.198, allocations: 19.62 kB / 446.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.198, allocations: 21.16 kB / 446.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1982, allocations: 100.2 kB / 446.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1982, allocations: 0 / 446.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1982, allocations: 1.094 kB / 446.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1982, allocations: 0 / 446.8 MB, free: 43.18 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003736/0.1986, allocations: 346.2 kB / 447.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1986, allocations: 10.06 kB / 447.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.1986, allocations: 15.62 kB / 447.2 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.1988, allocations: 143.5 kB / 447.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1988, allocations: 384 / 447.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.1988, allocations: 384 / 447.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.781e-05/0.1989, allocations: 60.17 kB / 447.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1989, allocations: 3.938 kB / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.199, allocations: 5.844 kB / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.199, allocations: 0 / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.199, allocations: 19.08 kB / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.1991, allocations: 122.8 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.533e-05/0.1992, allocations: 57.7 kB / 447.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.1992, allocations: 20.72 kB / 447.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.1992, allocations: 3.938 kB / 447.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.057e-05/0.1993, allocations: 60.62 kB / 447.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 6.81e-07/0.1993, allocations: 0 / 447.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001782/0.1995, allocations: 108.5 kB / 447.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.1995, allocations: 54.5 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.1996, allocations: 195.2 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.261e-06/0.1996, allocations: 29.7 kB / 448 MB, free: 42.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.1997, allocations: 105.2 kB / 448.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.1997, allocations: 22.7 kB / 448.1 MB, free: 42.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.1997, allocations: 19.47 kB / 448.2 MB, free: 42.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.211e-05/0.1997, allocations: 323.9 kB / 448.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.1998, allocations: 12.94 kB / 448.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.1998, allocations: 32.69 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.251e-05/0.1999, allocations: 41.56 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1999, allocations: 2.938 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.737e-05/0.1999, allocations: 88.2 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1999, allocations: 5.469 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1999, allocations: 3.938 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.2, allocations: 0 / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.347e-05/0.2, allocations: 13.84 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2, allocations: 3.938 kB / 448.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.2, allocations: 5.984 kB / 448.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.2, allocations: 2.281 kB / 448.7 MB, free: 41.57 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 (7): * Single equations (assignments): 7 * 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.033e-05/0.2001, allocations: 133.2 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.2001, allocations: 13.27 kB / 448.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.2002, allocations: 99.73 kB / 448.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2002, allocations: 0 / 448.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2002, allocations: 3.281 kB / 448.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2002, allocations: 0 / 448.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.584e-05/0.2003, allocations: 129.7 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2003, allocations: 0 / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.2003, allocations: 8.938 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.2003, allocations: 0 / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.2003, allocations: 0 / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2003, allocations: 6.844 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2003, allocations: 4 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.059e-05/0.2004, allocations: 120.6 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.2004, allocations: 9.906 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.2004, allocations: 6.844 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.2004, allocations: 6.094 kB / 449.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.2005, allocations: 6.297 kB / 449.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2005, allocations: 2.656 kB / 449.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.945e-05/0.2005, allocations: 155.7 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2005, allocations: 0 / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001331/0.2007, allocations: 22.03 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006331/0.2013, allocations: 439 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.2014, allocations: 47.34 kB / 449.9 MB, free: 40.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.2014, allocations: 0 / 449.9 MB, free: 40.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.183e-05/0.2014, allocations: 22.05 kB / 449.9 MB, free: 40.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.2016, allocations: 23.42 kB / 449.9 MB, free: 40.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.2019, allocations: 242.7 kB / 450.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.974e-05/0.2019, allocations: 90.75 kB / 450.2 MB, free: 40.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.2019, allocations: 18.38 kB / 450.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of SimCode: time 4.5e-07/0.2019, allocations: 0 / 450.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of Templates: time 0.00206/0.204, allocations: 1.767 MB / 452 MB, free: 40.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.733617939054966]