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.001286/0.001286, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001364/0.001364, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.437/1.437, allocations: 230.5 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.001929/0.001929, allocations: 75.81 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2646, allocations: 53.32 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003786/0.2684, allocations: 2.391 MB / 434.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2695, allocations: 0.6505 MB / 435.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2696, allocations: 8 kB / 435.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.2698, allocations: 39.59 kB / 435.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.27, allocations: 75.33 kB / 435.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.2702, allocations: 59.91 kB / 435.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.2705, allocations: 262.7 kB / 435.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.2707, allocations: 68.31 kB / 435.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.2709, allocations: 103.5 kB / 435.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.2711, allocations: 115.5 kB / 435.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.2711, allocations: 20 kB / 435.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.2712, allocations: 24 kB / 435.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.2713, allocations: 47.84 kB / 435.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.2714, allocations: 115.4 kB / 436 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.2717, allocations: 252.5 kB / 436.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2717, allocations: 3.938 kB / 436.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2717, allocations: 0 / 436.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.2718, allocations: 0 / 436.3 MB, free: 3.188 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.0007927/0.2725, allocations: 0.5221 MB / 436.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2726, allocations: 8.031 kB / 436.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.2727, allocations: 36.8 kB / 436.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.2731, allocations: 252.6 kB / 437.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.2731, allocations: 12.81 kB / 437.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.2732, allocations: 20.38 kB / 437.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.2735, allocations: 218.1 kB / 437.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.2736, allocations: 7.953 kB / 437.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.2736, allocations: 8 kB / 437.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2736, allocations: 8 kB / 437.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.2738, allocations: 125.7 kB / 437.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.275, allocations: 0.7056 MB / 438.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.2752, allocations: 134.5 kB / 438.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.2753, allocations: 64.83 kB / 438.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.2754, allocations: 4 kB / 438.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.2754, allocations: 34.56 kB / 438.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.227e-05/0.2754, allocations: 4 kB / 438.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001604/0.277, allocations: 0.8815 MB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2771, allocations: 55.41 kB / 439.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.2773, allocations: 184.2 kB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.2773, allocations: 29.7 kB / 439.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2774, allocations: 144.4 kB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.2775, allocations: 95.2 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.2775, allocations: 53.69 kB / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.2777, allocations: 330.8 kB / 440.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.2778, allocations: 51.98 kB / 440.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.278, allocations: 108.2 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.2783, allocations: 160.9 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2783, allocations: 4 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004419/0.2787, allocations: 254 kB / 440.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2787, allocations: 11.94 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.2787, allocations: 3.984 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.279, allocations: 36.78 kB / 440.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.2792, allocations: 51.91 kB / 440.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.2805, allocations: 1.486 MB / 442.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2807, allocations: 16.09 kB / 442.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.2807, allocations: 8 kB / 442.3 MB, free: 12.61 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.0001327/0.2808, allocations: 133.8 kB / 442.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.2809, allocations: 23.84 kB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.2809, allocations: 21.88 kB / 442.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.2809, allocations: 7.938 kB / 442.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2809, allocations: 0 / 442.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2809, allocations: 7.984 kB / 442.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009768/0.2819, allocations: 0.651 MB / 443.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2819, allocations: 0 / 443.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.2821, allocations: 43.92 kB / 443.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.2822, allocations: 36.89 kB / 443.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2822, allocations: 4 kB / 443.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.2836, allocations: 1.489 MB / 444.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.2836, allocations: 4.031 kB / 444.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.2842, allocations: 398.2 kB / 445.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.2843, allocations: 101 kB / 445.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.2843, allocations: 0 / 445.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.2844, allocations: 8 kB / 445.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.2845, allocations: 23.91 kB / 445.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2845, allocations: 4 kB / 445.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.2846, allocations: 132 kB / 445.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2846, allocations: 0 / 445.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.2849, allocations: 64 kB / 445.5 MB, free: 9.207 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.0001362/0.285, allocations: 99.25 kB / 445.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005725/0.2856, allocations: 282.4 kB / 445.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2856, allocations: 4 kB / 445.8 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.286, allocations: 210.8 kB / 446 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.2864, allocations: 43.05 kB / 446.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2877, allocations: 0.7196 MB / 446.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.2881, allocations: 0.7482 MB / 447.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.2882, allocations: 19.44 kB / 447.6 MB, free: 7 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2882, allocations: 0 / 447.6 MB, free: 7 MB / 350.1 MB Notification: Performance of Templates: time 0.005722/0.2939, allocations: 3.517 MB / 451.1 MB, free: 3.48 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 -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: 7.201930015813559]