Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.0008292/0.0008292, 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.004528/0.004528, allocations: 163 kB / 24.7 MB, free: 9.426 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.8578/0.8578, 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.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.2285/0.2285, allocations: 34.26 MB / 295.7 MB, free: 0.6914 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.702e-05, allocations: 5.234 kB / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.1945/0.1945, allocations: 1.899 MB / 445.4 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1956, allocations: 1.002 MB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.1957, allocations: 7.844 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.196, allocations: 52 kB / 446.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.1963, allocations: 94.91 kB / 446.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.1965, allocations: 99.62 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1967, allocations: 152.3 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1968, allocations: 16.88 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.1969, allocations: 76.48 kB / 446.9 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.585e-05/0.197, allocations: 39.77 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.197, allocations: 13.88 kB / 447 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.96e-05/0.1971, allocations: 45.98 kB / 447 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.1972, allocations: 38.44 kB / 447 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.1972, allocations: 25.84 kB / 447.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1975, allocations: 156.6 kB / 447.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1975, allocations: 0 / 447.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1975, allocations: 0 / 447.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1975, allocations: 0 / 447.2 MB, free: 42.87 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005306/0.198, allocations: 417.5 kB / 447.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.198, allocations: 10.62 kB / 447.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.1981, allocations: 14.12 kB / 447.7 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1983, allocations: 172.7 kB / 447.8 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1984, allocations: 3.062 kB / 447.8 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1984, allocations: 13.56 kB / 447.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1985, allocations: 134.9 kB / 448 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1985, allocations: 6.75 kB / 448 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1986, allocations: 7.422 kB / 448 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1986, allocations: 2.5 kB / 448 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.183e-05/0.1986, allocations: 48.84 kB / 448 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.199, allocations: 454.1 kB / 448.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.1992, allocations: 92.97 kB / 448.6 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.1992, allocations: 40.53 kB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.1993, allocations: 0 / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.1994, allocations: 109.2 kB / 448.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.1994, allocations: 2.875 kB / 448.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002307/0.1996, allocations: 144.2 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.1996, allocations: 54.28 kB / 448.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1997, allocations: 201.8 kB / 449.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.1997, allocations: 33.7 kB / 449.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.1998, allocations: 120 kB / 449.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.1998, allocations: 25.86 kB / 449.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.1998, allocations: 31.64 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.1999, allocations: 332.6 kB / 449.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.366e-05/0.1999, allocations: 31.7 kB / 449.7 MB, free: 40.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.932e-05/0.2, allocations: 70.45 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.493e-05/0.2, allocations: 98.23 kB / 449.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2001, allocations: 0 / 449.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001361/0.2002, allocations: 139.9 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2002, allocations: 8.656 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2002, allocations: 2.906 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2002, allocations: 0 / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.2003, allocations: 31.27 kB / 450 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2003, allocations: 2.906 kB / 450 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.2003, allocations: 14.34 kB / 450 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2003, allocations: 5.656 kB / 450 MB, free: 40.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.914e-05/0.2004, allocations: 126.5 kB / 450.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.2004, allocations: 13.53 kB / 450.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.2005, allocations: 139.9 kB / 450.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2005, allocations: 0.5625 kB / 450.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2005, allocations: 4 kB / 450.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2005, allocations: 0 / 450.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.399e-05/0.2006, allocations: 165.1 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2006, allocations: 0 / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.2007, allocations: 15.53 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.2007, allocations: 3.938 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.2007, allocations: 3 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2007, allocations: 2.875 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2007, allocations: 0 / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.2009, allocations: 199.4 kB / 450.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.2009, allocations: 13.56 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2009, allocations: 0 / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.2009, allocations: 16.67 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.201, allocations: 5.812 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.201, allocations: 6.312 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.096e-05/0.201, allocations: 148.8 kB / 450.9 MB, free: 40.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.201, allocations: 0 / 450.9 MB, free: 40.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.2012, allocations: 24.16 kB / 450.9 MB, free: 40.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000711/0.2019, allocations: 445.6 kB / 451.3 MB, free: 39.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.2021, allocations: 80.03 kB / 451.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2021, allocations: 0 / 451.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.078e-05/0.2021, allocations: 41.41 kB / 451.5 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.2023, allocations: 40.81 kB / 451.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.2026, allocations: 293.6 kB / 451.8 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.2027, allocations: 107 kB / 451.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.2027, allocations: 17.22 kB / 451.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2027, allocations: 0 / 451.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of Templates: time 0.002395/0.2051, allocations: 2.275 MB / 454.2 MB, free: 39.33 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.921490021981299]