Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.0008613/0.0008613, 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.004181/0.004181, allocations: 165.8 kB / 24.7 MB, free: 9.43 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.8918/0.8918, 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.2738/0.2738, allocations: 34.26 MB / 295.7 MB, free: 0.6836 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.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 3.938 kB / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.7e-05, allocations: 2.281 kB / 443.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.1964/0.1965, allocations: 1.592 MB / 445 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1981, allocations: 1.252 MB / 446.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.1982, allocations: 0 / 446.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1985, allocations: 27.14 kB / 446.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.1988, allocations: 92.48 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1991, allocations: 111.6 kB / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1993, allocations: 75.95 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1994, allocations: 10.02 kB / 446.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.011e-05/0.1995, allocations: 35.92 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1996, allocations: 19.58 kB / 446.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1997, allocations: 9.281 kB / 446.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1998, allocations: 97.69 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.1999, allocations: 16.91 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.1999, allocations: 12.61 kB / 446.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.2002, allocations: 146.8 kB / 446.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2002, allocations: 0 / 446.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2002, allocations: 0 / 446.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.2002, allocations: 0 / 446.9 MB, free: 42.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004743/0.2007, allocations: 325.2 kB / 447.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2007, allocations: 9.219 kB / 447.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.2008, allocations: 8.016 kB / 447.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.201, allocations: 136 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.201, allocations: 5.094 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.201, allocations: 3.594 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.2012, allocations: 84.38 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.2012, allocations: 6.453 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2012, allocations: 14.94 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2012, allocations: 3.938 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.2013, allocations: 26.44 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.2017, allocations: 224 kB / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.2019, allocations: 42.66 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.2019, allocations: 20.86 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.2019, allocations: 7.938 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.2019, allocations: 33.59 kB / 447.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.2019, allocations: 0 / 447.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004908/0.2024, allocations: 155.4 kB / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.2025, allocations: 81.11 kB / 448.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2026, allocations: 146 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.2026, allocations: 25.7 kB / 448.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.2026, allocations: 91.02 kB / 448.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.2026, allocations: 17.91 kB / 448.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.2027, allocations: 19.72 kB / 448.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.2027, allocations: 320.8 kB / 448.7 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.2028, allocations: 18.42 kB / 448.7 MB, free: 41.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.2028, allocations: 63.17 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.877e-05/0.2029, allocations: 56.61 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2029, allocations: 3.938 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001526/0.2031, allocations: 89.73 kB / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2031, allocations: 11.12 kB / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2031, allocations: 0 / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2031, allocations: 0 / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.2032, allocations: 15.12 kB / 449 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2032, allocations: 0 / 449 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.2032, allocations: 5.984 kB / 449 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.2032, allocations: 5.75 kB / 449 MB, free: 41.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.281e-05/0.2033, allocations: 124.2 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.2033, allocations: 6.609 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.2035, allocations: 103.6 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2035, allocations: 3 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2035, allocations: 0 / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2035, allocations: 0 / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.2038, allocations: 305.5 kB / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2038, allocations: 4.031 kB / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.2039, allocations: 16.52 kB / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2039, allocations: 0 / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2039, allocations: 0 / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2039, allocations: 3.938 kB / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2039, allocations: 2.781 kB / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.204, allocations: 183.8 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.2041, allocations: 10.7 kB / 449.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.2041, allocations: 3.75 kB / 449.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.2041, allocations: 9.922 kB / 449.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.2042, allocations: 6.016 kB / 449.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.2042, allocations: 2.656 kB / 449.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.933e-05/0.2042, allocations: 109.8 kB / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2042, allocations: 0 / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.2046, allocations: 34.17 kB / 449.9 MB, free: 40.53 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001144/0.2057, allocations: 0.5259 MB / 450.4 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.2059, allocations: 64.05 kB / 450.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2059, allocations: 4 kB / 450.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.024e-05/0.2059, allocations: 24.59 kB / 450.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.2063, allocations: 15.75 kB / 450.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.2067, allocations: 202.3 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.125e-05/0.2068, allocations: 83.97 kB / 450.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.2069, allocations: 17.67 kB / 450.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2069, allocations: 0 / 450.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of Templates: time 0.004164/0.211, allocations: 1.996 MB / 452.8 MB, free: 39.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.922408959828317]