Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.001792/0.001792, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 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.002229/0.002229, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 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 1.488/1.488, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] 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.2633/0.2633, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003495/0.003495, allocations: 75.88 kB / 443.2 MB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3812, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002603/0.3838, allocations: 1.887 MB / 0.4992 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3853, allocations: 1.072 MB / 0.5002 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.3854, allocations: 3.156 kB / 0.5002 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.3858, allocations: 226.9 kB / 0.5004 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.3862, allocations: 221 kB / 0.5007 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.3864, allocations: 113.5 kB / 0.5008 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.3866, allocations: 265.8 kB / 0.501 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3867, allocations: 15.7 kB / 0.501 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3869, allocations: 127.4 kB / 0.5012 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.387, allocations: 164.8 kB / 0.5013 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.3871, allocations: 6.656 kB / 0.5013 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.3872, allocations: 70.53 kB / 0.5014 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.3873, allocations: 60.23 kB / 0.5014 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.3873, allocations: 72.97 kB / 0.5015 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3876, allocations: 253 kB / 0.5018 GB, free: 27.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3876, allocations: 3.156 kB / 0.5018 GB, free: 27.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3876, allocations: 0 / 0.5018 GB, free: 27.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3876, allocations: 0 / 0.5018 GB, free: 27.22 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006071/0.3882, allocations: 0.4931 MB / 0.5022 GB, free: 26.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.3882, allocations: 9.469 kB / 0.5023 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.3883, allocations: 36.95 kB / 0.5023 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.3885, allocations: 226.5 kB / 0.5025 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3886, allocations: 11.61 kB / 0.5025 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.3886, allocations: 10.56 kB / 0.5025 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.3888, allocations: 114.9 kB / 0.5026 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3888, allocations: 0 / 0.5026 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3888, allocations: 0 / 0.5026 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3888, allocations: 3.188 kB / 0.5026 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.3889, allocations: 53.53 kB / 0.5027 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.3894, allocations: 416 kB / 0.5031 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.3897, allocations: 118.9 kB / 0.5032 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.04e-05/0.3898, allocations: 47.2 kB / 0.5032 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3898, allocations: 3.156 kB / 0.5032 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.39, allocations: 121.8 kB / 0.5034 GB, free: 25.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.39, allocations: 0 / 0.5034 GB, free: 25.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001157/0.3912, allocations: 0.511 MB / 0.5039 GB, free: 25.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.3912, allocations: 91.23 kB / 0.5039 GB, free: 25.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.3915, allocations: 459.2 kB / 0.5044 GB, free: 25.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3916, allocations: 28.73 kB / 0.5044 GB, free: 25.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.3916, allocations: 170.6 kB / 0.5046 GB, free: 25.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.3917, allocations: 75.03 kB / 0.5046 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.3917, allocations: 40.03 kB / 0.5047 GB, free: 25.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.3918, allocations: 345.2 kB / 0.505 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3919, allocations: 64.52 kB / 0.5051 GB, free: 24.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.392, allocations: 92.36 kB / 0.5052 GB, free: 24.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.3923, allocations: 169.8 kB / 0.5053 GB, free: 24.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3923, allocations: 0 / 0.5053 GB, free: 24.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003381/0.3926, allocations: 231.8 kB / 0.5055 GB, free: 24.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3926, allocations: 6.188 kB / 0.5056 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3926, allocations: 0 / 0.5056 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3926, allocations: 3.25 kB / 0.5056 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3928, allocations: 51.83 kB / 0.5056 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3928, allocations: 2.969 kB / 0.5056 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.926e-05/0.3929, allocations: 21.33 kB / 0.5056 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3929, allocations: 6.188 kB / 0.5056 GB, free: 24.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001074/0.393, allocations: 163.5 kB / 0.5058 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.393, allocations: 30.22 kB / 0.5058 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/0.3935, allocations: 281.6 kB / 0.5061 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3935, allocations: 7.156 kB / 0.5061 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3935, allocations: 0 / 0.5061 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3935, allocations: 0 / 0.5061 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006721/0.3941, allocations: 0.6933 MB / 0.5068 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3941, allocations: 0 / 0.5068 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.3942, allocations: 30.53 kB / 0.5068 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3942, allocations: 0 / 0.5068 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3942, allocations: 13.12 kB / 0.5068 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3942, allocations: 6.906 kB / 0.5068 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3942, allocations: 240 / 0.5068 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.3946, allocations: 450.1 kB / 0.5072 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.3947, allocations: 32.8 kB / 0.5073 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.3947, allocations: 10.19 kB / 0.5073 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3948, allocations: 6.453 kB / 0.5073 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.3949, allocations: 27.56 kB / 0.5073 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.3949, allocations: 12.3 kB / 0.5073 GB, free: 23.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.3952, allocations: 338.1 kB / 0.5077 GB, free: 23.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3952, allocations: 0 / 0.5077 GB, free: 23.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.3955, allocations: 54.84 kB / 0.5077 GB, free: 23.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001999/0.3975, allocations: 0.5434 MB / 0.5082 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.3978, allocations: 163.6 kB / 0.5084 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3978, allocations: 0 / 0.5084 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3979, allocations: 76.22 kB / 0.5085 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.3985, allocations: 57.22 kB / 0.5085 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.3992, allocations: 0.5809 MB / 0.5091 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.3993, allocations: 177.7 kB / 0.5093 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.533e-05/0.3994, allocations: 46.78 kB / 0.5093 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.3995, allocations: 27 kB / 0.5093 GB, free: 22.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3995, allocations: 0 / 0.5093 GB, free: 22.41 MB / 446.1 MB Notification: Performance of Templates: time 0.007436/0.4069, allocations: 3.314 MB / 0.5126 GB, free: 21.95 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.297471755067818]