Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001399/0.001399, allocations: 79.73 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.001507/0.001507, allocations: 160.5 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.544/1.544, allocations: 177.1 MB / 204.7 MB, free: 8.984 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.2137/0.2137, allocations: 34.24 MB / 295.4 MB, free: 14.49 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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 91.84 kB / 443.2 MB, free: 6.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.313, allocations: 66.04 MB / 0.4973 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002605/0.3156, allocations: 1.893 MB / 0.4992 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3171, allocations: 1.076 MB / 0.5002 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.649e-05/0.3172, allocations: 3.938 kB / 0.5002 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.3175, allocations: 158.5 kB / 0.5004 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.3179, allocations: 182.6 kB / 0.5006 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.3181, allocations: 120.6 kB / 0.5007 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.3183, allocations: 245.8 kB / 0.5009 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3184, allocations: 26.92 kB / 0.5009 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3185, allocations: 109 kB / 0.501 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.3187, allocations: 136.3 kB / 0.5012 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.3187, allocations: 6.188 kB / 0.5012 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3188, allocations: 72.28 kB / 0.5012 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.15e-05/0.3189, allocations: 57.52 kB / 0.5013 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.319, allocations: 63.22 kB / 0.5014 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.3192, allocations: 232.1 kB / 0.5016 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3192, allocations: 0 / 0.5016 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3192, allocations: 0 / 0.5016 GB, free: 27.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3192, allocations: 0 / 0.5016 GB, free: 27.29 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.0005696/0.3198, allocations: 481.2 kB / 0.502 GB, free: 26.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.3198, allocations: 9.344 kB / 0.5021 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.3198, allocations: 28.78 kB / 0.5021 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.3201, allocations: 218.7 kB / 0.5023 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.3202, allocations: 7.406 kB / 0.5023 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.3202, allocations: 7.438 kB / 0.5023 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.3204, allocations: 114.6 kB / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3204, allocations: 0 / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3204, allocations: 7.188 kB / 0.5024 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3204, allocations: 0 / 0.5024 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3206, allocations: 58.38 kB / 0.5025 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.321, allocations: 405.8 kB / 0.5029 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.3214, allocations: 115.8 kB / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.189e-05/0.3215, allocations: 47.33 kB / 0.503 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.3215, allocations: 3.031 kB / 0.503 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.3217, allocations: 132.6 kB / 0.5031 GB, free: 26.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.3217, allocations: 3.281 kB / 0.5032 GB, free: 26.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001252/0.3229, allocations: 0.4998 MB / 0.5036 GB, free: 25.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.323, allocations: 88.23 kB / 0.5037 GB, free: 25.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.3233, allocations: 383.8 kB / 0.5041 GB, free: 25.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3233, allocations: 33.64 kB / 0.5041 GB, free: 25.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.3234, allocations: 152.8 kB / 0.5043 GB, free: 25.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.3234, allocations: 74.78 kB / 0.5043 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.3235, allocations: 44.22 kB / 0.5044 GB, free: 25.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.3236, allocations: 336.1 kB / 0.5047 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.3237, allocations: 63.23 kB / 0.5048 GB, free: 24.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.3238, allocations: 91.08 kB / 0.5048 GB, free: 24.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.3241, allocations: 167.3 kB / 0.505 GB, free: 24.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3241, allocations: 3.938 kB / 0.505 GB, free: 24.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003817/0.3245, allocations: 234.4 kB / 0.5052 GB, free: 24.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3245, allocations: 5.156 kB / 0.5052 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3245, allocations: 2.75 kB / 0.5052 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3245, allocations: 0 / 0.5052 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3247, allocations: 49.59 kB / 0.5053 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3247, allocations: 2.719 kB / 0.5053 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.343e-05/0.3248, allocations: 16.42 kB / 0.5053 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.3248, allocations: 9.281 kB / 0.5053 GB, free: 24.66 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.0001606/0.3249, allocations: 158.7 kB / 0.5055 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.325, allocations: 27.94 kB / 0.5055 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.3255, allocations: 271 kB / 0.5058 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3255, allocations: 6.938 kB / 0.5058 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3255, allocations: 0 / 0.5058 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3255, allocations: 3 kB / 0.5058 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009478/0.3265, allocations: 0.6705 MB / 0.5064 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3265, allocations: 3.375 kB / 0.5064 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.561e-05/0.3266, allocations: 30.77 kB / 0.5064 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3266, allocations: 3.062 kB / 0.5065 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.3266, allocations: 7.062 kB / 0.5065 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.3266, allocations: 7.062 kB / 0.5065 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3266, allocations: 240 / 0.5065 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.3271, allocations: 455 kB / 0.5069 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.3271, allocations: 20.95 kB / 0.5069 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.3271, allocations: 10.94 kB / 0.5069 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.3273, allocations: 17.41 kB / 0.5069 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.3273, allocations: 19.88 kB / 0.507 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.3273, allocations: 16.59 kB / 0.507 GB, free: 23.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.3276, allocations: 280 kB / 0.5072 GB, free: 23.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3276, allocations: 0 / 0.5072 GB, free: 23.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.3279, allocations: 55.52 kB / 0.5073 GB, free: 23.41 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.002015/0.3299, allocations: 0.5467 MB / 0.5078 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.3303, allocations: 148.7 kB / 0.508 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3303, allocations: 3.062 kB / 0.508 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.3304, allocations: 79.45 kB / 0.5081 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.331, allocations: 74.36 kB / 0.5081 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.3318, allocations: 0.5159 MB / 0.5086 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.3319, allocations: 154.1 kB / 0.5088 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.833e-05/0.332, allocations: 46.34 kB / 0.5088 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.3321, allocations: 34.06 kB / 0.5089 GB, free: 22.59 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3321, allocations: 3.938 kB / 0.5089 GB, free: 22.59 MB / 446.1 MB Notification: Performance of Templates: time 0.007049/0.3391, allocations: 3.287 MB / 0.5121 GB, free: 22.13 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.130609233980067]