Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0006482/0.0006482, 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.003391/0.003391, allocations: 160.7 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.8802/0.8802, 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.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.2839/0.2839, 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.056e-05, allocations: 13.45 kB / 443.5 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.2/0.2, allocations: 1.715 MB / 445.3 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2011, allocations: 0.9956 MB / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.2012, allocations: 0 / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.2015, allocations: 36.03 kB / 446.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.2017, allocations: 96.34 kB / 446.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.2019, allocations: 81.41 kB / 446.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.202, allocations: 112.8 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2021, allocations: 6.062 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.2022, allocations: 71.61 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.104e-05/0.2023, allocations: 32.09 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.2023, allocations: 8.531 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.2025, allocations: 105 kB / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.2025, allocations: 24.52 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.2026, allocations: 23.64 kB / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.2028, allocations: 178.6 kB / 447 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2028, allocations: 2.781 kB / 447 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2028, allocations: 0 / 447 MB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.2028, allocations: 0 / 447 MB, free: 43.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004501/0.2032, allocations: 362.8 kB / 447.4 MB, free: 42.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.2033, allocations: 10.81 kB / 447.4 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.2033, allocations: 12.16 kB / 447.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.2036, allocations: 157.2 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2036, allocations: 384 / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.2036, allocations: 6.938 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.2038, allocations: 99.02 kB / 447.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2038, allocations: 3.938 kB / 447.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2038, allocations: 2.688 kB / 447.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2038, allocations: 0 / 447.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.706e-05/0.2038, allocations: 21.92 kB / 447.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.2041, allocations: 219.6 kB / 447.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.2042, allocations: 64.69 kB / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.2042, allocations: 31.92 kB / 448 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.2042, allocations: 6.625 kB / 448 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.2044, allocations: 72.47 kB / 448.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2044, allocations: 0 / 448.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004112/0.2048, allocations: 213.1 kB / 448.3 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.2048, allocations: 77.11 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2049, allocations: 171.2 kB / 448.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.2049, allocations: 32.48 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.2049, allocations: 102.1 kB / 448.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.205, allocations: 33.42 kB / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.205, allocations: 29.42 kB / 448.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.2051, allocations: 329.1 kB / 449 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.2051, allocations: 31.36 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.2052, allocations: 83.08 kB / 449.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.971e-05/0.2053, allocations: 78.08 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2053, allocations: 0 / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001481/0.2054, allocations: 129.7 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2054, allocations: 6.031 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2054, allocations: 3.938 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2054, allocations: 2.625 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.2055, allocations: 24.22 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2055, allocations: 0 / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.2056, allocations: 2.906 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.2056, allocations: 2.938 kB / 449.4 MB, free: 41.09 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 (13): * Single equations (assignments): 13 * 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 7.236e-05/0.2057, allocations: 134.8 kB / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.2057, allocations: 10.94 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.2059, allocations: 134.5 kB / 449.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2059, allocations: 2.312 kB / 449.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2059, allocations: 0 / 449.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2059, allocations: 5.5 kB / 449.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.2063, allocations: 367.8 kB / 450 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2063, allocations: 2.906 kB / 450 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.2063, allocations: 14.81 kB / 450 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2063, allocations: 1.5 kB / 450 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2063, allocations: 10.81 kB / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2063, allocations: 0 / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2063, allocations: 3.938 kB / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.2065, allocations: 229 kB / 450.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.2065, allocations: 10.83 kB / 450.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2065, allocations: 6.781 kB / 450.3 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.2066, allocations: 9.188 kB / 450.3 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.2066, allocations: 10.14 kB / 450.3 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.2066, allocations: 2.844 kB / 450.3 MB, free: 40.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.145e-05/0.2067, allocations: 137.1 kB / 450.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2067, allocations: 0 / 450.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.207, allocations: 53.3 kB / 450.5 MB, free: 40.29 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.00125/0.2082, allocations: 0.6056 MB / 451.1 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.2084, allocations: 83.7 kB / 451.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2084, allocations: 0 / 451.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.662e-05/0.2085, allocations: 41.5 kB / 451.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.2087, allocations: 22.8 kB / 451.2 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.2092, allocations: 257.1 kB / 451.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.94e-05/0.2092, allocations: 89.2 kB / 451.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.2093, allocations: 23.47 kB / 451.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2093, allocations: 0 / 451.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of Templates: time 0.003099/0.2124, allocations: 2.629 MB / 454.2 MB, free: 39.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.921838290058076]