Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001683/0.001683, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.002/0.002, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.467/1.467, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.91 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1049, allocations: 53.33 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.2026/0.3075, allocations: 7.445 MB / 434.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004554/0.312, allocations: 3.267 MB / 437.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005471/0.3126, allocations: 32.75 kB / 437.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.3144, allocations: 1.056 MB / 439 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.317, allocations: 1.359 MB / 440.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009308/0.3179, allocations: 453.4 kB / 440.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003722/0.3217, allocations: 2.67 MB / 443.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.3235, allocations: 1.315 MB / 444.7 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.3246, allocations: 0.8418 MB / 445.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.3261, allocations: 1.329 MB / 446.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003109/0.3264, allocations: 169.8 kB / 447.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.3283, allocations: 1.05 MB / 448.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.3293, allocations: 1.113 MB / 449.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00096/0.3303, allocations: 1.294 MB / 450.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00468/0.335, allocations: 4.332 MB / 454.9 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.335, allocations: 1.344 kB / 454.9 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.335, allocations: 0 / 454.9 MB, free: 15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000114/0.3351, allocations: 0 / 454.9 MB, free: 15 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.007318/0.3424, allocations: 3.105 MB / 458 MB, free: 12.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3425, allocations: 9.625 kB / 458 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007305/0.3498, allocations: 1.806 MB / 459.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.3529, allocations: 1.38 MB / 461.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.3531, allocations: 141 kB / 461.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007507/0.3538, allocations: 254 kB / 461.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/0.3662, allocations: 6.675 MB / 468.2 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-05/0.3663, allocations: 31.78 kB / 468.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.3665, allocations: 87.39 kB / 468.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002366/0.3689, allocations: 1.367 MB / 469.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.013/0.3819, allocations: 6.047 MB / 475.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0339/0.4158, allocations: 25.58 MB / 0.4896 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007315/0.4231, allocations: 2.612 MB / 0.4921 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4246, allocations: 0.9901 MB / 0.4931 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00628/0.4309, allocations: 3.976 MB / 0.497 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.4309, allocations: 44.19 kB / 0.497 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 2.886e-06/0.4309, allocations: 3.938 kB / 0.497 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02846/0.4594, allocations: 10.44 MB / 0.5072 GB, free: 2.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001543/0.4609, allocations: 1.671 MB / 0.5089 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/0.465, allocations: 2.737 MB / 0.5115 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002831/0.4653, allocations: 41.7 kB / 0.5116 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001668/0.467, allocations: 2.163 MB / 0.5137 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006403/0.4676, allocations: 0.5312 MB / 0.5142 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/0.4689, allocations: 0.925 MB / 0.5151 GB, free: 10.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.469, allocations: 305.1 kB / 0.5154 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002622/0.4716, allocations: 1.664 MB / 0.517 GB, free: 8.344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004882/0.4765, allocations: 4.456 MB / 0.5214 GB, free: 2.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008359/0.4849, allocations: 6.55 MB / 0.5278 GB, free: 10.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.031e-05/0.4849, allocations: 31.94 kB / 0.5278 GB, free: 10.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02168/0.5066, allocations: 8.072 MB / 0.5357 GB, free: 2.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/0.5067, allocations: 52.06 kB / 0.5357 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01218/0.5189, allocations: 3.55 MB / 0.5392 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0128/0.5317, allocations: 2.683 MB / 0.5418 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/0.5351, allocations: 1.006 MB / 0.5428 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/0.5507, allocations: 9.732 MB / 0.5523 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/0.5545, allocations: 331.7 kB / 0.5526 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005242/0.555, allocations: 287.9 kB / 0.5529 GB, free: 0.4961 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002425/0.5574, allocations: 1.422 MB / 0.5543 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004386/0.5578, allocations: 238.4 kB / 0.5545 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006267/0.5585, allocations: 333.9 kB / 0.5548 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006434/0.5649, allocations: 2.505 MB / 0.5573 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.5649, allocations: 4 kB / 0.5573 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.5649, allocations: 16.38 kB / 0.5573 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.5791, allocations: 6.859 MB / 0.564 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.5791, allocations: 4 kB / 0.564 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/0.58, allocations: 175.7 kB / 0.5642 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005101/0.5851, allocations: 1.426 MB / 0.5656 GB, free: 3.379 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/0.5853, allocations: 35.92 kB / 0.5656 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/0.5973, allocations: 7.929 MB / 0.5733 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00135/0.5986, allocations: 1.544 MB / 0.5749 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009834/0.6085, allocations: 4.861 MB / 0.5796 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007652/0.6092, allocations: 303.4 kB / 0.5799 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.6095, allocations: 23.98 kB / 0.5799 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.6107, allocations: 123.8 kB / 0.58 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/0.6111, allocations: 76.39 kB / 0.5801 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.6112, allocations: 39.95 kB / 0.5801 GB, free: 3.984 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002815/0.614, allocations: 1.685 MB / 0.5818 GB, free: 2.289 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.614, allocations: 0 / 0.5818 GB, free: 2.289 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00381/0.6178, allocations: 0.7772 MB / 0.5825 GB, free: 1.512 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003987/0.6182, allocations: 159 kB / 0.5827 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008776/0.627, allocations: 4.266 MB / 0.5869 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.627, allocations: 4.109 kB / 0.5869 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003549/0.6305, allocations: 1.647 MB / 0.5885 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.6325, allocations: 275.4 kB / 0.5887 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.6453, allocations: 6.623 MB / 0.5952 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002555/0.6478, allocations: 2.297 MB / 0.5974 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00331/0.6512, allocations: 1.411 MB / 0.5988 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/0.6517, allocations: 167.4 kB / 0.599 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.6517, allocations: 0 / 0.599 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of Templates: time 0.2737/0.9254, allocations: 28.82 MB / 0.6271 GB, free: 164.2 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.34430040512234]