Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 254.1 MB, free: 15.09 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 47.92 kB / 373.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1111, allocations: 53.33 MB / 426.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2199/0.331, allocations: 10.76 MB / 437.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007884/0.3389, allocations: 3.958 MB / 441.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.3402, allocations: 73.28 kB / 441.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004614/0.3448, allocations: 2.615 MB / 444.2 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.3503, allocations: 1.77 MB / 446 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.3522, allocations: 0.6792 MB / 446.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006323/0.3585, allocations: 3.719 MB / 450.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004292/0.3628, allocations: 2.963 MB / 453.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.3658, allocations: 1.494 MB / 454.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003918/0.3697, allocations: 2.108 MB / 456.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001115/0.3709, allocations: 315 kB / 457.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.3737, allocations: 1.177 MB / 458.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002402/0.3761, allocations: 1.854 MB / 460.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003112/0.3792, allocations: 2.12 MB / 462.4 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.3903, allocations: 6.68 MB / 469.1 MB, free: 4.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3903, allocations: 0 / 469.1 MB, free: 4.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3903, allocations: 0 / 469.1 MB, free: 4.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002852/0.3906, allocations: 3.938 kB / 469.1 MB, free: 4.758 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01212/0.4027, allocations: 4.658 MB / 473.7 MB, free: 1.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4028, allocations: 8.031 kB / 473.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007855/0.4106, allocations: 1.964 MB / 475.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004963/0.4156, allocations: 2.01 MB / 477.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.4158, allocations: 254.2 kB / 478 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.4169, allocations: 387.7 kB / 478.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/0.4376, allocations: 10.11 MB / 488.5 MB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.4377, allocations: 40.19 kB / 488.5 MB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004633/0.4382, allocations: 155.9 kB / 488.7 MB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003159/0.4413, allocations: 1.864 MB / 490.5 MB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01954/0.4609, allocations: 8.366 MB / 498.9 MB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05292/0.5138, allocations: 39.31 MB / 0.5256 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01155/0.5254, allocations: 3.906 MB / 0.5294 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.5275, allocations: 1.331 MB / 0.5307 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/0.5393, allocations: 7.727 MB / 0.5382 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.5394, allocations: 47.5 kB / 0.5383 GB, free: 1.363 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.988e-06/0.5394, allocations: 0 / 0.5383 GB, free: 1.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03533/0.5747, allocations: 12.7 MB / 0.5507 GB, free: 4.488 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001431/0.5761, allocations: 1.69 MB / 0.5523 GB, free: 2.621 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005606/0.5817, allocations: 3.813 MB / 0.5561 GB, free: 14.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003598/0.5821, allocations: 49.69 kB / 0.5561 GB, free: 14.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002457/0.5846, allocations: 3.238 MB / 0.5593 GB, free: 11.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009474/0.5855, allocations: 0.6746 MB / 0.5599 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/0.5873, allocations: 1.27 MB / 0.5612 GB, free: 9.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5874, allocations: 305.2 kB / 0.5615 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/0.591, allocations: 2.054 MB / 0.5635 GB, free: 7.176 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006972/0.5979, allocations: 5.985 MB / 0.5693 GB, free: 15.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.6093, allocations: 8.64 MB / 0.5777 GB, free: 4.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/0.6094, allocations: 43.62 kB / 0.5778 GB, free: 4.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02592/0.6353, allocations: 9.845 MB / 0.5874 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.6355, allocations: 67.98 kB / 0.5875 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01353/0.649, allocations: 3.842 MB / 0.5912 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01339/0.6624, allocations: 2.727 MB / 0.5939 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00542/0.6678, allocations: 1.365 MB / 0.5952 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/0.6875, allocations: 11.57 MB / 0.6065 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005881/0.6934, allocations: 411.4 kB / 0.6069 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/0.6949, allocations: 388.4 kB / 0.6073 GB, free: 5.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.005285/0.7002, allocations: 2.008 MB / 0.6092 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009623/0.7011, allocations: 345.6 kB / 0.6096 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.7026, allocations: 436.4 kB / 0.61 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007102/0.7097, allocations: 2.711 MB / 0.6126 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/0.7097, allocations: 7.938 kB / 0.6126 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-05/0.7098, allocations: 7.969 kB / 0.6126 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2366/0.9464, allocations: 8.562 MB / 0.621 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.9464, allocations: 0.9688 kB / 0.621 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009335/0.9474, allocations: 190.2 kB / 0.6212 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00483/0.9522, allocations: 1.457 MB / 0.6226 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/0.9524, allocations: 39.27 kB / 0.6227 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/0.965, allocations: 9.827 MB / 0.6322 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008271/0.9658, allocations: 1.542 MB / 0.6338 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009345/0.9752, allocations: 5.371 MB / 0.639 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009898/0.9762, allocations: 389.9 kB / 0.6394 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/0.9765, allocations: 30.03 kB / 0.6394 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.9779, allocations: 128.8 kB / 0.6395 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003896/0.9783, allocations: 101.9 kB / 0.6396 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.9784, allocations: 54.81 kB / 0.6397 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003657/0.9821, allocations: 2.332 MB / 0.6419 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9821, allocations: 0 / 0.6419 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005148/0.9872, allocations: 1.07 MB / 0.643 GB, free: 149.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003866/0.9876, allocations: 177.9 kB / 0.6432 GB, free: 149.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007884/0.9955, allocations: 5.552 MB / 0.6486 GB, free: 147 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9955, allocations: 0 / 0.6486 GB, free: 147 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004074/0.9996, allocations: 2.243 MB / 0.6508 GB, free: 146 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/1.002, allocations: 403.9 kB / 0.6512 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/1.014, allocations: 9.094 MB / 0.66 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/1.017, allocations: 3.122 MB / 0.6631 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003357/1.02, allocations: 1.807 MB / 0.6649 GB, free: 136 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/1.021, allocations: 219.4 kB / 0.6651 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/1.021, allocations: 0 / 0.6651 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.06161/1.082, allocations: 39.81 MB / 0.7039 GB, free: 96.26 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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: 6.994679301977158]