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.001459/0.001459, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.001618/0.001618, allocations: 160.9 kB / 24.26 MB, free: 148 kB / 18.57 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: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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 1.372e-06/1.372e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.606e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009679/0.009705, allocations: 6.59 MB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006524/0.01623, allocations: 3.078 MB / 281.9 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008513/0.01708, allocations: 43.81 kB / 281.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.01961, allocations: 1.066 MB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003556/0.02317, allocations: 1.431 MB / 284.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.02432, allocations: 494.8 kB / 284.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004178/0.02849, allocations: 3.019 MB / 287.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.03098, allocations: 1.617 MB / 289.5 MB, free: 376 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1204/0.1514, allocations: 1.306 MB / 290.8 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.1544, allocations: 1.396 MB / 292.2 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009553/0.1554, allocations: 173.4 kB / 292.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.1581, allocations: 0.9673 MB / 293.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001659/0.1598, allocations: 1.163 MB / 294.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.1618, allocations: 0.718 MB / 295.3 MB, free: 16.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005237/0.167, allocations: 4.373 MB / 299.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.167, allocations: 3 kB / 299.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.167, allocations: 0 / 299.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.79e-05/0.1671, allocations: 2.562 kB / 299.6 MB, free: 15.74 MB / 266.7 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.006242/0.1733, allocations: 3.059 MB / 302.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1734, allocations: 13.95 kB / 302.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007181/0.1805, allocations: 2.264 MB / 305 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00285/0.1834, allocations: 1.341 MB / 306.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/0.1835, allocations: 131.8 kB / 306.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006629/0.1841, allocations: 261.9 kB / 306.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00991/0.1941, allocations: 6.699 MB / 313.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.915e-05/0.1941, allocations: 38.22 kB / 313.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/0.1944, allocations: 88.52 kB / 313.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001746/0.1962, allocations: 1.365 MB / 314.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.2062, allocations: 6.062 MB / 320.9 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04021/0.2464, allocations: 24.21 MB / 345.1 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008073/0.2545, allocations: 2.203 MB / 347.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/0.2564, allocations: 0.9937 MB / 348.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007463/0.2639, allocations: 2.835 MB / 351.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/0.2639, allocations: 39.06 kB / 351.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=112): time 4.589e-06/0.2639, allocations: 3.938 kB / 351.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.03334/0.2973, allocations: 10.36 MB / 361.6 MB, free: 7.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001836/0.2991, allocations: 1.549 MB / 363.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005351/0.3045, allocations: 2.676 MB / 365.8 MB, free: 2.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003185/0.3048, allocations: 48.28 kB / 365.9 MB, free: 2.652 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002275/0.3071, allocations: 2.161 MB / 368 MB, free: 0.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.3081, allocations: 0.5184 MB / 368.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002627/0.3107, allocations: 0.9075 MB / 369.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003337/0.311, allocations: 349.9 kB / 369.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003547/0.3146, allocations: 1.691 MB / 371.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006796/0.3214, allocations: 4.491 MB / 376 MB, free: 7.172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/0.3324, allocations: 6.589 MB / 382.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001588/0.3326, allocations: 28 kB / 382.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02577/0.3583, allocations: 8.378 MB / 391 MB, free: 6.797 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.3585, allocations: 48 kB / 391 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0137/0.3722, allocations: 3.603 MB / 394.6 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/0.3856, allocations: 2.762 MB / 397.4 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00388/0.3895, allocations: 1.033 MB / 398.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/0.4076, allocations: 9.39 MB / 407.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004441/0.4121, allocations: 399.5 kB / 408.2 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/0.4132, allocations: 282.4 kB / 408.5 MB, free: 5.078 MB / 362.7 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.004062/0.4173, allocations: 1.423 MB / 409.9 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009249/0.4182, allocations: 252.7 kB / 410.1 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.4195, allocations: 307.7 kB / 410.4 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00694/0.4264, allocations: 2.513 MB / 412.9 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.351e-05/0.4264, allocations: 8 kB / 413 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/0.4265, allocations: 3.984 kB / 413 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/0.4445, allocations: 6.256 MB / 419.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.4446, allocations: 0 / 419.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009914/0.4455, allocations: 179.7 kB / 419.4 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005863/0.4514, allocations: 1.537 MB / 420.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/0.4517, allocations: 35.64 kB / 421 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/0.4645, allocations: 7.636 MB / 428.6 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1344/0.5989, allocations: 1.404 MB / 430 MB, free: 121.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.6099, allocations: 4.87 MB / 434.9 MB, free: 120.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008727/0.6108, allocations: 219.6 kB / 435.1 MB, free: 120.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007669/0.6116, allocations: 24.23 kB / 435.1 MB, free: 120.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/0.6136, allocations: 152.9 kB / 435.3 MB, free: 120.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004651/0.6141, allocations: 88.3 kB / 435.3 MB, free: 120.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/0.6143, allocations: 36.16 kB / 435.4 MB, free: 120.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003991/0.6183, allocations: 1.544 MB / 436.9 MB, free: 120.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6183, allocations: 1.375 kB / 436.9 MB, free: 120.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006091/0.6243, allocations: 0.8527 MB / 437.8 MB, free: 120 MB / 378.7 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.00078/0.6251, allocations: 173.2 kB / 437.9 MB, free: 119.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007689/0.6328, allocations: 4.24 MB / 442.2 MB, free: 118.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.6328, allocations: 0 / 442.2 MB, free: 118.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003479/0.6363, allocations: 1.576 MB / 443.8 MB, free: 117.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.6391, allocations: 257.7 kB / 444 MB, free: 117.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.6515, allocations: 6.542 MB / 450.6 MB, free: 114.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002906/0.6545, allocations: 1.722 MB / 452.3 MB, free: 113.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003043/0.6575, allocations: 1.379 MB / 453.7 MB, free: 112.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.658, allocations: 167.8 kB / 453.8 MB, free: 112.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.224e-06/0.658, allocations: 0 / 453.8 MB, free: 112.2 MB / 378.7 MB Notification: Performance of Templates: time 0.04268/0.7007, allocations: 28.18 MB / 482 MB, free: 85.5 MB / 378.7 MB " [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.015311849070713]