Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.0008075/0.0008075, allocations: 87.67 kB / 21.44 MB, free: 3.113 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.003245/0.003245, allocations: 152.5 kB / 24.69 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.8618/0.8618, allocations: 177.1 MB / 205 MB, free: 5.738 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.2685/0.2685, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.542e-05, allocations: 4.25 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.1959/0.1959, allocations: 2.232 MB / 445.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1974, allocations: 1.348 MB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1975, allocations: 6.594 kB / 447.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.1979, allocations: 299.5 kB / 447.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.1983, allocations: 344.6 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1986, allocations: 217 kB / 448 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.199, allocations: 0.5724 MB / 448.5 MB, free: 42.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1991, allocations: 35.52 kB / 448.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.1994, allocations: 304.4 kB / 448.9 MB, free: 42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.1996, allocations: 258.9 kB / 449.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.1996, allocations: 19.84 kB / 449.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.1997, allocations: 64.31 kB / 449.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.1998, allocations: 119.4 kB / 449.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.1998, allocations: 101.6 kB / 449.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.2001, allocations: 412.7 kB / 449.8 MB, free: 41.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2001, allocations: 5 kB / 449.8 MB, free: 41.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2001, allocations: 2.906 kB / 449.8 MB, free: 41.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.2001, allocations: 0 / 449.8 MB, free: 41.65 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006657/0.2008, allocations: 0.7319 MB / 450.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.2008, allocations: 8.562 kB / 450.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.2009, allocations: 62.27 kB / 450.6 MB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.2013, allocations: 351.9 kB / 451 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2013, allocations: 10.25 kB / 451 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.2013, allocations: 17.78 kB / 451 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.2015, allocations: 211.1 kB / 451.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2015, allocations: 11.81 kB / 451.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2016, allocations: 10.3 kB / 451.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2016, allocations: 2.969 kB / 451.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.2017, allocations: 107.5 kB / 451.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.2022, allocations: 0.7891 MB / 452.1 MB, free: 40 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.2025, allocations: 286.9 kB / 452.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2026, allocations: 94.91 kB / 452.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.2026, allocations: 5.188 kB / 452.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.2028, allocations: 235.2 kB / 452.7 MB, free: 39.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.2028, allocations: 3.938 kB / 452.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001048/0.2039, allocations: 1.069 MB / 453.8 MB, free: 39.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.2039, allocations: 164 kB / 454 MB, free: 38.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.2043, allocations: 0.6771 MB / 454.6 MB, free: 38.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2043, allocations: 36.23 kB / 454.7 MB, free: 38.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.2044, allocations: 237.4 kB / 454.9 MB, free: 38.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.2045, allocations: 126.2 kB / 455 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.2045, allocations: 74.3 kB / 455.1 MB, free: 38.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.2046, allocations: 376.2 kB / 455.5 MB, free: 37.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2047, allocations: 106.6 kB / 455.6 MB, free: 37.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.2049, allocations: 197 kB / 455.8 MB, free: 37.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.2051, allocations: 301.8 kB / 456.1 MB, free: 37.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2051, allocations: 3.094 kB / 456.1 MB, free: 37.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000384/0.2055, allocations: 419.2 kB / 456.5 MB, free: 37.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2055, allocations: 6.688 kB / 456.5 MB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.2055, allocations: 2.844 kB / 456.5 MB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2055, allocations: 11.03 kB / 456.5 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.2057, allocations: 90.3 kB / 456.6 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2057, allocations: 5.688 kB / 456.6 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/0.2058, allocations: 23.25 kB / 456.6 MB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.2058, allocations: 14.56 kB / 456.6 MB, free: 37.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0001202/0.2059, allocations: 207.8 kB / 456.8 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.206, allocations: 64.75 kB / 456.9 MB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.2065, allocations: 0.4888 MB / 457.4 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2065, allocations: 12.89 kB / 457.4 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2065, allocations: 2.875 kB / 457.4 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2065, allocations: 3.328 kB / 457.4 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.2072, allocations: 1.233 MB / 458.6 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2073, allocations: 11.42 kB / 458.6 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.2073, allocations: 57.81 kB / 458.7 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2073, allocations: 3.156 kB / 458.7 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2074, allocations: 20.31 kB / 458.7 MB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2074, allocations: 6.344 kB / 458.7 MB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2074, allocations: 3.125 kB / 458.7 MB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.2078, allocations: 0.8532 MB / 459.6 MB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.2078, allocations: 54.67 kB / 459.6 MB, free: 35.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.2079, allocations: 16.8 kB / 459.6 MB, free: 35.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.208, allocations: 21.62 kB / 459.7 MB, free: 35.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.2081, allocations: 46.88 kB / 459.7 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.2081, allocations: 23.39 kB / 459.7 MB, free: 35.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002782/0.2084, allocations: 0.4963 MB / 460.2 MB, free: 35.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2084, allocations: 0 / 460.2 MB, free: 35.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.2087, allocations: 85.38 kB / 460.3 MB, free: 35.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0007485/0.2095, allocations: 0.5065 MB / 460.8 MB, free: 35.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.2098, allocations: 296 kB / 461.1 MB, free: 34.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2098, allocations: 0 / 461.1 MB, free: 34.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.21, allocations: 165.2 kB / 461.3 MB, free: 34.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.2106, allocations: 150.3 kB / 461.4 MB, free: 34.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.2114, allocations: 0.9747 MB / 462.4 MB, free: 34.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.2115, allocations: 269.4 kB / 462.7 MB, free: 34.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.2116, allocations: 56.5 kB / 462.7 MB, free: 34.19 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2116, allocations: 0 / 462.7 MB, free: 34.19 MB / 410.7 MB Notification: Performance of Templates: time 0.005009/0.2166, allocations: 6.796 MB / 469.5 MB, free: 33.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.271924815140665]