Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.0008631/0.0008631, allocations: 87.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.003971/0.003971, allocations: 160.9 kB / 24.7 MB, free: 9.41 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.9321/0.9321, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3073/0.3073, allocations: 32.79 MB / 294.2 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 440.9 MB, free: 3.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.218e-05, allocations: 6.781 kB / 441 MB, free: 3.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002762/0.002794, allocations: 1.725 MB / 442.7 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003972, allocations: 0.9781 MB / 443.7 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.004049, allocations: 0 / 443.7 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.004384, allocations: 103.6 kB / 443.8 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.004688, allocations: 139.4 kB / 443.9 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.004858, allocations: 79.66 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.00503, allocations: 131.5 kB / 444.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.005141, allocations: 15.91 kB / 444.1 MB, free: 460 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.005234, allocations: 67.81 kB / 444.2 MB, free: 392 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.005335, allocations: 71.78 kB / 444.2 MB, free: 320 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.005352, allocations: 4 kB / 444.3 MB, free: 316 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.005458, allocations: 63.86 kB / 444.3 MB, free: 252 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.005511, allocations: 27.91 kB / 444.3 MB, free: 224 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.005553, allocations: 23.88 kB / 444.4 MB, free: 200 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.005755, allocations: 147.5 kB / 444.5 MB, free: 52 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005758, allocations: 0 / 444.5 MB, free: 52 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.00576, allocations: 0 / 444.5 MB, free: 52 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005765, allocations: 0 / 444.5 MB, free: 52 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.1947/0.2004, allocations: 372.7 kB / 444.9 MB, free: 46.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.2005, allocations: 13.8 kB / 444.9 MB, free: 46.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.2005, allocations: 14.47 kB / 444.9 MB, free: 46.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.2008, allocations: 158.1 kB / 445.1 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2008, allocations: 1.5 kB / 445.1 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.2009, allocations: 11.83 kB / 445.1 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.201, allocations: 58.39 kB / 445.1 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.201, allocations: 2.562 kB / 445.1 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.201, allocations: 4.438 kB / 445.1 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.2011, allocations: 0 / 445.1 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.262e-05/0.2011, allocations: 32.42 kB / 445.2 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.2015, allocations: 250.3 kB / 445.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.2017, allocations: 58.56 kB / 445.5 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.2017, allocations: 23.42 kB / 445.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2017, allocations: 1.312 kB / 445.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.2019, allocations: 79 kB / 445.6 MB, free: 46.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.2019, allocations: 1.969 kB / 445.6 MB, free: 46.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000651/0.2025, allocations: 254.7 kB / 445.8 MB, free: 46.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.2026, allocations: 51.41 kB / 445.9 MB, free: 46.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2027, allocations: 255.8 kB / 446.1 MB, free: 46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.2027, allocations: 28.55 kB / 446.1 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.2028, allocations: 114.2 kB / 446.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.2028, allocations: 37.38 kB / 446.3 MB, free: 45.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.2029, allocations: 30.56 kB / 446.3 MB, free: 45.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.2029, allocations: 327 kB / 446.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-05/0.2029, allocations: 31.69 kB / 446.7 MB, free: 45.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.324e-05/0.203, allocations: 48.5 kB / 446.7 MB, free: 45.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.2031, allocations: 82.56 kB / 446.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2031, allocations: 3.719 kB / 446.8 MB, free: 45.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001543/0.2033, allocations: 141.9 kB / 446.9 MB, free: 45.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2033, allocations: 5.375 kB / 446.9 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2033, allocations: 0 / 446.9 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2033, allocations: 6.094 kB / 447 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.2034, allocations: 23.06 kB / 447 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2034, allocations: 2.562 kB / 447 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.2034, allocations: 0 / 447 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.2034, allocations: 5.656 kB / 447 MB, free: 45.39 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.475e-05/0.2035, allocations: 140 kB / 447.1 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.2035, allocations: 24.06 kB / 447.1 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.2037, allocations: 152.6 kB / 447.3 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2037, allocations: 6.609 kB / 447.3 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2037, allocations: 0 / 447.3 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2037, allocations: 0 / 447.3 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.2041, allocations: 409.2 kB / 447.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2041, allocations: 1.812 kB / 447.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.2041, allocations: 21.84 kB / 447.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2041, allocations: 0 / 447.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2041, allocations: 2.906 kB / 447.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2041, allocations: 0 / 447.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2041, allocations: 3.031 kB / 447.7 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.2043, allocations: 255 kB / 448 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.2043, allocations: 13.41 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.2043, allocations: 6.844 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.406e-05/0.2044, allocations: 6.281 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.2044, allocations: 10.98 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.2044, allocations: 13.81 kB / 448 MB, free: 44.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.398e-05/0.2045, allocations: 189.1 kB / 448.2 MB, free: 44.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2045, allocations: 0 / 448.2 MB, free: 44.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.2047, allocations: 33.97 kB / 448.2 MB, free: 44.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001007/0.2057, allocations: 0.5529 MB / 448.8 MB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.2059, allocations: 76.48 kB / 448.9 MB, free: 44.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2059, allocations: 0 / 448.9 MB, free: 44.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.74e-05/0.206, allocations: 42.91 kB / 448.9 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2063, allocations: 33.31 kB / 448.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.2068, allocations: 340.5 kB / 449.3 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.289e-05/0.2069, allocations: 110.8 kB / 449.4 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.2069, allocations: 20.19 kB / 449.4 MB, free: 44.03 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2069, allocations: 0 / 449.4 MB, free: 44.03 MB / 410.7 MB Notification: Performance of Templates: time 0.003667/0.2106, allocations: 2.378 MB / 451.8 MB, free: 43.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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: 5.146342524327338]