Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.0008148/0.0008148, 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.003253/0.003253, allocations: 163.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.841/0.841, allocations: 177.1 MB / 205 MB, free: 5.727 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.2355/0.2355, allocations: 34.25 MB / 295.7 MB, free: 0.6758 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.129e-05, allocations: 5.094 kB / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.1974/0.1974, allocations: 1.722 MB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1994, allocations: 1.666 MB / 446.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1995, allocations: 2.875 kB / 446.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.1998, allocations: 40.5 kB / 447 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.2002, allocations: 102.8 kB / 447.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.2003, allocations: 80.22 kB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.2005, allocations: 118 kB / 447.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.2006, allocations: 9.172 kB / 447.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.927e-05/0.2006, allocations: 60.48 kB / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.2007, allocations: 37.17 kB / 447.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2007, allocations: 8.031 kB / 447.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2009, allocations: 113.8 kB / 447.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.2009, allocations: 24.23 kB / 447.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.2009, allocations: 27.69 kB / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.2011, allocations: 183 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.2011, allocations: 0.5625 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2011, allocations: 3.344 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2012, allocations: 0 / 447.7 MB, free: 42.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004075/0.2016, allocations: 367.2 kB / 448.1 MB, free: 42.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2016, allocations: 8.531 kB / 448.1 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.2016, allocations: 10.73 kB / 448.1 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.2018, allocations: 154.8 kB / 448.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.2018, allocations: 2.969 kB / 448.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.2019, allocations: 7.062 kB / 448.2 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.202, allocations: 100.8 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.202, allocations: 3.938 kB / 448.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.202, allocations: 2.375 kB / 448.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.202, allocations: 2.953 kB / 448.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/0.2021, allocations: 34.83 kB / 448.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.2023, allocations: 253 kB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.2025, allocations: 70.97 kB / 448.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.2025, allocations: 26.67 kB / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.2025, allocations: 0.5625 kB / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.755e-05/0.2026, allocations: 79.94 kB / 448.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.2026, allocations: 3.969 kB / 448.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003862/0.203, allocations: 210.1 kB / 449 MB, free: 41.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.203, allocations: 79.7 kB / 449.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.941e-05/0.2031, allocations: 187.7 kB / 449.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.2031, allocations: 25.7 kB / 449.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.2032, allocations: 105.5 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.2032, allocations: 29.56 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.2032, allocations: 26.5 kB / 449.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.067e-05/0.2032, allocations: 324.4 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.2033, allocations: 25.89 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.2033, allocations: 79.39 kB / 449.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.207e-05/0.2034, allocations: 82.56 kB / 450 MB, free: 40.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2034, allocations: 0 / 450 MB, free: 40.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001132/0.2035, allocations: 115.2 kB / 450.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2035, allocations: 5.75 kB / 450.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2035, allocations: 2.844 kB / 450.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2035, allocations: 3.234 kB / 450.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.2036, allocations: 18.28 kB / 450.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2036, allocations: 3.938 kB / 450.1 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.2036, allocations: 6.312 kB / 450.1 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2036, allocations: 4.625 kB / 450.1 MB, free: 40.56 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 (11): * Single equations (assignments): 11 * 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.074e-05/0.2037, allocations: 126.3 kB / 450.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.2037, allocations: 16.59 kB / 450.3 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.2039, allocations: 139.2 kB / 450.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2039, allocations: 4.375 kB / 450.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.2039, allocations: 0 / 450.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2039, allocations: 0 / 450.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.2041, allocations: 391.1 kB / 450.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2041, allocations: 0 / 450.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.2041, allocations: 11.47 kB / 450.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2041, allocations: 0 / 450.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2041, allocations: 2.906 kB / 450.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2042, allocations: 3.281 kB / 450.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2042, allocations: 3.047 kB / 450.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.2043, allocations: 241.4 kB / 451 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.2043, allocations: 17.73 kB / 451.1 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.2043, allocations: 13.03 kB / 451.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.004e-05/0.2043, allocations: 6.844 kB / 451.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.2044, allocations: 6.109 kB / 451.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2044, allocations: 8.906 kB / 451.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.2044, allocations: 138 kB / 451.2 MB, free: 39.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2044, allocations: 0 / 451.2 MB, free: 39.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001914/0.2046, allocations: 53.67 kB / 451.3 MB, free: 39.75 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 (11): * Single equations (assignments): 9 * 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.0008315/0.2055, allocations: 0.5761 MB / 451.8 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.2056, allocations: 80.69 kB / 451.9 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.2056, allocations: 0 / 451.9 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.348e-05/0.2056, allocations: 37.92 kB / 452 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.2058, allocations: 27.16 kB / 452 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.2062, allocations: 250.9 kB / 452.2 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.2062, allocations: 96.72 kB / 452.3 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.2063, allocations: 20.75 kB / 452.4 MB, free: 39.23 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.2063, allocations: 3.938 kB / 452.4 MB, free: 39.22 MB / 410.7 MB Notification: Performance of Templates: time 0.002815/0.2091, allocations: 2.606 MB / 455 MB, free: 38.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.919065251946449]