Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.00162/0.00162, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 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.002149/0.002149, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.485/1.485, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 75.81 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2736, allocations: 53.31 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003834/0.2774, allocations: 2.391 MB / 434.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2786, allocations: 0.6583 MB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2787, allocations: 4 kB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.2789, allocations: 35.59 kB / 435.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.279, allocations: 71.39 kB / 435.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.2793, allocations: 67.86 kB / 435.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.2796, allocations: 262.7 kB / 435.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.2797, allocations: 64.33 kB / 435.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.2799, allocations: 103.6 kB / 435.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.2801, allocations: 115.4 kB / 435.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.2801, allocations: 16 kB / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.156e-05/0.2802, allocations: 28 kB / 435.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.2803, allocations: 43.83 kB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.2804, allocations: 119.4 kB / 436 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.2807, allocations: 256.5 kB / 436.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2807, allocations: 0 / 436.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2807, allocations: 0 / 436.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2808, allocations: 0 / 436.2 MB, free: 3.145 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007829/0.2815, allocations: 0.5221 MB / 436.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2816, allocations: 12.03 kB / 436.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.2817, allocations: 28.8 kB / 436.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.2821, allocations: 248.6 kB / 437.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.2822, allocations: 20.8 kB / 437.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.2822, allocations: 24.38 kB / 437.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.2826, allocations: 218.2 kB / 437.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.2826, allocations: 3.953 kB / 437.3 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.2826, allocations: 8 kB / 437.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2826, allocations: 7.938 kB / 437.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.2829, allocations: 125.7 kB / 437.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.284, allocations: 0.7017 MB / 438.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.2843, allocations: 138.5 kB / 438.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.2844, allocations: 64.83 kB / 438.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2845, allocations: 3.984 kB / 438.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.2845, allocations: 38.5 kB / 438.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.2845, allocations: 4 kB / 438.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001717/0.2862, allocations: 0.8802 MB / 439.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.2863, allocations: 59.41 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.2865, allocations: 180.3 kB / 439.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.2865, allocations: 29.7 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.2867, allocations: 144.4 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.2867, allocations: 87.22 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/0.2868, allocations: 53.69 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.287, allocations: 334.8 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.2871, allocations: 55.92 kB / 440.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.2873, allocations: 104.2 kB / 440.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.2875, allocations: 168.9 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2875, allocations: 4 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004661/0.288, allocations: 254 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.288, allocations: 4 kB / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.288, allocations: 0 / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.2882, allocations: 32.84 kB / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.2884, allocations: 56.03 kB / 440.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.2898, allocations: 1.489 MB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.2899, allocations: 8.031 kB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.2899, allocations: 12 kB / 442.3 MB, free: 12.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.2901, allocations: 129.8 kB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.2901, allocations: 27.84 kB / 442.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.2902, allocations: 25.88 kB / 442.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2902, allocations: 3.938 kB / 442.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2902, allocations: 8.062 kB / 442.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2902, allocations: 0 / 442.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.2912, allocations: 0.648 MB / 443.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2912, allocations: 0 / 443.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.2914, allocations: 43.92 kB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/0.2915, allocations: 40.89 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.2915, allocations: 8 kB / 443.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.2929, allocations: 1.489 MB / 444.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2929, allocations: 0 / 444.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006452/0.2936, allocations: 404.9 kB / 445.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/0.2936, allocations: 97 kB / 445.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.2937, allocations: 8 kB / 445.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.2938, allocations: 4 kB / 445.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.2939, allocations: 23.91 kB / 445.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.2939, allocations: 8 kB / 445.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.294, allocations: 124.1 kB / 445.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.294, allocations: 7.938 kB / 445.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.2944, allocations: 56 kB / 445.5 MB, free: 9.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001424/0.2945, allocations: 105.3 kB / 445.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006327/0.2951, allocations: 290.4 kB / 445.8 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2951, allocations: 4.25 kB / 445.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.2955, allocations: 206.5 kB / 446 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.2959, allocations: 43.91 kB / 446.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2972, allocations: 0.6802 MB / 446.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.2975, allocations: 0.7443 MB / 447.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.176e-05/0.2976, allocations: 33.8 kB / 447.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.2977, allocations: 15.44 kB / 447.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2977, allocations: 0 / 447.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of Templates: time 0.006411/0.3041, allocations: 2.507 MB / 450.1 MB, free: 4.477 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.579156166408211]