Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009292/0.0009292, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.006299/0.006299, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9632/0.9632, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2587/0.2587, allocations: 34.25 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.384e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.2006/0.2006, allocations: 1.709 MB / 445.2 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.2018, allocations: 0.9714 MB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.2019, allocations: 3.719 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.2023, allocations: 42.69 kB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.2027, allocations: 96.81 kB / 446.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.2029, allocations: 81.03 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.203, allocations: 106.3 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2032, allocations: 13.92 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.741e-05/0.2033, allocations: 57.36 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.75e-05/0.2034, allocations: 25.2 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.2034, allocations: 3.938 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.771e-05/0.2035, allocations: 47.64 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.2035, allocations: 19.3 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.2036, allocations: 19.03 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.2038, allocations: 123.5 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2038, allocations: 4.781 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2038, allocations: 2.844 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.2038, allocations: 0 / 446.8 MB, free: 42.95 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.0005271/0.2043, allocations: 344.4 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2044, allocations: 8.406 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.2044, allocations: 14.06 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.2047, allocations: 147.7 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.2047, allocations: 4.375 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.2047, allocations: 3.125 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.2049, allocations: 66.33 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2049, allocations: 192 / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2049, allocations: 384 / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.2049, allocations: 6.5 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.002e-05/0.205, allocations: 21.53 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.2053, allocations: 232.9 kB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.2054, allocations: 57.97 kB / 447.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.2055, allocations: 28.53 kB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.2055, allocations: 0 / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.2056, allocations: 73.89 kB / 447.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.2056, allocations: 2.438 kB / 447.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004814/0.2061, allocations: 172.1 kB / 448 MB, free: 42.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.2061, allocations: 54.06 kB / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.2063, allocations: 206.5 kB / 448.2 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.2063, allocations: 32.27 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.2063, allocations: 104.5 kB / 448.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.2063, allocations: 21.73 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.2064, allocations: 25.66 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.2064, allocations: 328.2 kB / 448.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-05/0.2065, allocations: 24.44 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.2065, allocations: 36.72 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.2066, allocations: 63.08 kB / 448.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2066, allocations: 0 / 448.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001185/0.2067, allocations: 118.6 kB / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2067, allocations: 5.781 kB / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2067, allocations: 0 / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2067, allocations: 0 / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.2068, allocations: 17.98 kB / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2068, allocations: 0 / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.2068, allocations: 10.88 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.2068, allocations: 2.844 kB / 449 MB, free: 41.18 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 (10): * Single equations (assignments): 10 * 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 6.839e-05/0.2069, allocations: 121.8 kB / 449.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.2069, allocations: 17.86 kB / 449.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.2071, allocations: 125.4 kB / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2071, allocations: 2.906 kB / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.2071, allocations: 2.859 kB / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2071, allocations: 3.938 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.2074, allocations: 355.3 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2074, allocations: 2.719 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.2074, allocations: 7.969 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2074, allocations: 0 / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.2074, allocations: 2.781 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2074, allocations: 4.031 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2074, allocations: 8.641 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.2076, allocations: 213.6 kB / 449.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.2076, allocations: 13.67 kB / 449.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2076, allocations: 10.12 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.2076, allocations: 0 / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.2077, allocations: 6.125 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.2077, allocations: 5.688 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.2078, allocations: 158.4 kB / 450 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2078, allocations: 0 / 450 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00018/0.208, allocations: 20.78 kB / 450.1 MB, free: 40.4 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 (9): * Single equations (assignments): 7 * 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.0009596/0.2089, allocations: 491.2 kB / 450.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.2091, allocations: 65.64 kB / 450.6 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2091, allocations: 0 / 450.6 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.599e-05/0.2091, allocations: 28.75 kB / 450.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.2094, allocations: 36 kB / 450.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.2098, allocations: 262 kB / 450.9 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.2099, allocations: 95.45 kB / 451 MB, free: 39.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.2099, allocations: 17.19 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2099, allocations: 4 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of Templates: time 0.00303/0.213, allocations: 2.002 MB / 453 MB, free: 39.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.0241851937025785]