Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.001299/0.001299, 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.004259/0.004259, allocations: 160.1 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.9128/0.9128, allocations: 177 MB / 204.9 MB, free: 5.719 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.2809/0.2809, allocations: 34.24 MB / 295.6 MB, free: 0.6875 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 443.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.061e-05, allocations: 6.281 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.2014/0.2014, allocations: 1.669 MB / 445.2 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2024, allocations: 0.9586 MB / 446.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.313e-05/0.2025, allocations: 3.938 kB / 446.1 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.2028, allocations: 64.28 kB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.2031, allocations: 107.9 kB / 446.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.2032, allocations: 71.42 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.2034, allocations: 116.9 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.2034, allocations: 3.109 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.338e-05/0.2035, allocations: 63.33 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2036, allocations: 39.27 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.2036, allocations: 5.406 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.367e-05/0.2037, allocations: 34.81 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.2038, allocations: 23.22 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.2038, allocations: 21.22 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.204, allocations: 101.5 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.204, allocations: 2.875 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.204, allocations: 0 / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.204, allocations: 0 / 446.8 MB, free: 42.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004109/0.2044, allocations: 339.5 kB / 447.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2045, allocations: 9.5 kB / 447.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.2045, allocations: 14.91 kB / 447.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.2047, allocations: 149.5 kB / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2047, allocations: 384 / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.2048, allocations: 3.312 kB / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2049, allocations: 49.83 kB / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2049, allocations: 3.625 kB / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2049, allocations: 384 / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2049, allocations: 6.906 kB / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.022e-05/0.205, allocations: 21.34 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.2051, allocations: 131.8 kB / 447.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.2052, allocations: 54.84 kB / 447.5 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.2053, allocations: 20.59 kB / 447.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2053, allocations: 0.5312 kB / 447.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.2055, allocations: 59.83 kB / 447.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.2055, allocations: 1.156 kB / 447.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002874/0.2058, allocations: 110.3 kB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.2058, allocations: 58.06 kB / 447.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.206, allocations: 202.3 kB / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.206, allocations: 25.7 kB / 448 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.206, allocations: 100.5 kB / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.2061, allocations: 18.5 kB / 448.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.2061, allocations: 22.33 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.2062, allocations: 320.7 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-05/0.2062, allocations: 16.08 kB / 448.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.463e-05/0.2063, allocations: 32.41 kB / 448.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.561e-05/0.2063, allocations: 55.28 kB / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2063, allocations: 0 / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001036/0.2064, allocations: 84.09 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2065, allocations: 5.594 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2065, allocations: 3.938 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2065, allocations: 3.062 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.2066, allocations: 12.69 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2066, allocations: 2.578 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.2066, allocations: 10.12 kB / 448.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.2066, allocations: 6.812 kB / 448.7 MB, free: 41.35 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 (7): * Single equations (assignments): 7 * 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.664e-05/0.2067, allocations: 129 kB / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.2067, allocations: 9.828 kB / 448.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.2068, allocations: 95.05 kB / 448.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2068, allocations: 0 / 448.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2068, allocations: 6.75 kB / 448.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2068, allocations: 0 / 448.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.654e-05/0.2069, allocations: 134 kB / 449.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2069, allocations: 2.875 kB / 449.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.761e-05/0.2069, allocations: 2.938 kB / 449.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2069, allocations: 4 kB / 449.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.2069, allocations: 2.844 kB / 449.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2069, allocations: 3.25 kB / 449.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2069, allocations: 3.938 kB / 449.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.151e-05/0.207, allocations: 120.6 kB / 449.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.207, allocations: 6.859 kB / 449.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2071, allocations: 6.875 kB / 449.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/0.2071, allocations: 7.078 kB / 449.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.2071, allocations: 6.875 kB / 449.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.2071, allocations: 2.969 kB / 449.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.58e-05/0.2072, allocations: 156.6 kB / 449.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2072, allocations: 0 / 449.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000145/0.2073, allocations: 22.59 kB / 449.4 MB, free: 40.81 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: 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 (6): * Single equations (assignments): 4 * 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.0007075/0.208, allocations: 429.8 kB / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.2082, allocations: 38.75 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2082, allocations: 0 / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.57e-05/0.2082, allocations: 25.56 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.2084, allocations: 22.25 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.2087, allocations: 243.3 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.826e-05/0.2088, allocations: 92.83 kB / 450.2 MB, free: 40.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.2088, allocations: 18.34 kB / 450.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2088, allocations: 0 / 450.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of Templates: time 0.002501/0.2113, allocations: 1.771 MB / 452 MB, free: 40.17 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.975051125511527]