Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.0008403/0.0008403, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003326/0.003326, allocations: 157.2 kB / 24.7 MB, free: 9.422 MB / 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 0.8376/0.8376, allocations: 177 MB / 204.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.958e-05, allocations: 3.266 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01077/0.01078, allocations: 10.48 MB / 336.3 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005942/0.01673, allocations: 4.02 MB / 340.3 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005149/0.01724, allocations: 83.56 kB / 340.4 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.01967, allocations: 2.814 MB / 343.2 MB, free: 13.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.02174, allocations: 2.06 MB / 345.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.02281, allocations: 0.8809 MB / 346.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002985/0.02579, allocations: 5.393 MB / 351.5 MB, free: 5.559 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.02803, allocations: 3.424 MB / 354.9 MB, free: 2.086 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.02967, allocations: 2.604 MB / 357.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001847/0.03152, allocations: 2.603 MB / 360.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.03183, allocations: 360 kB / 360.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.03299, allocations: 1.221 MB / 361.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.03408, allocations: 2.248 MB / 364 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008984/0.03498, allocations: 1.414 MB / 365.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0047/0.03968, allocations: 7.554 MB / 372.9 MB, free: 44 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.03968, allocations: 0 / 372.9 MB, free: 44 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.03968, allocations: 0 / 372.9 MB, free: 44 kB / 330.7 MB Notification: Performance of Transformations before backend: time 4.535e-05/0.03972, allocations: 0 / 372.9 MB, free: 44 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.007404/0.04713, allocations: 5.373 MB / 378.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.04717, allocations: 15.98 kB / 378.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004626/0.05179, allocations: 2.248 MB / 380.6 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003748/0.05554, allocations: 2.41 MB / 383 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.05571, allocations: 270.8 kB / 383.3 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/0.0568, allocations: 435.6 kB / 383.7 MB, free: 5.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.07327, allocations: 12.35 MB / 396 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/0.07338, allocations: 55.5 kB / 396.1 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003556/0.07373, allocations: 179.8 kB / 396.3 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001835/0.07557, allocations: 2.162 MB / 398.4 MB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.08994, allocations: 10.26 MB / 408.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03852/0.1285, allocations: 41.63 MB / 450.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1431/0.2715, allocations: 3.995 MB / 454.3 MB, free: 113.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.2731, allocations: 1.634 MB / 455.9 MB, free: 112.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006782/0.2799, allocations: 6.639 MB / 462.6 MB, free: 110 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.2799, allocations: 58.42 kB / 462.6 MB, free: 110 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 4.158e-06/0.2799, allocations: 0 / 462.6 MB, free: 110 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.0211/0.301, allocations: 16.56 MB / 479.2 MB, free: 96.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006854/0.3017, allocations: 1.565 MB / 480.8 MB, free: 94.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/0.3048, allocations: 4.138 MB / 484.9 MB, free: 90.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.305, allocations: 53.7 kB / 485 MB, free: 90.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008741/0.3059, allocations: 3.529 MB / 488.5 MB, free: 86.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004396/0.3063, allocations: 0.8367 MB / 489.3 MB, free: 86.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008457/0.3071, allocations: 1.35 MB / 490.7 MB, free: 84.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 1.978e-05/0.3072, allocations: 301.1 kB / 491 MB, free: 84.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.309, allocations: 2.305 MB / 493.3 MB, free: 82.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/0.3115, allocations: 6.442 MB / 499.7 MB, free: 73.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004996/0.3165, allocations: 9.385 MB / 0.4972 GB, free: 62.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.979e-05/0.3166, allocations: 44 kB / 0.4972 GB, free: 62.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01093/0.3275, allocations: 10.18 MB / 0.5071 GB, free: 51.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/0.3276, allocations: 71.94 kB / 0.5072 GB, free: 51.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005154/0.3328, allocations: 3.94 MB / 0.5111 GB, free: 47.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00462/0.3374, allocations: 2.262 MB / 0.5133 GB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003186/0.3406, allocations: 1.591 MB / 0.5148 GB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004532/0.3451, allocations: 6.322 MB / 0.521 GB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/0.3483, allocations: 0.4954 MB / 0.5215 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004276/0.3488, allocations: 423.8 kB / 0.5219 GB, free: 36.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002118/0.3509, allocations: 2.21 MB / 0.524 GB, free: 34.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/0.3513, allocations: 353.7 kB / 0.5244 GB, free: 34.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/0.3547, allocations: 3.278 MB / 0.5276 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002618/0.3573, allocations: 2.769 MB / 0.5303 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3574, allocations: 4 kB / 0.5303 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.3574, allocations: 7.969 kB / 0.5303 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009039/0.3664, allocations: 9.065 MB / 0.5391 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.3664, allocations: 20.23 kB / 0.5392 GB, free: 18.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.3672, allocations: 379.4 kB / 0.5395 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.3686, allocations: 0.9902 MB / 0.5405 GB, free: 17.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.604e-05/0.3687, allocations: 63.72 kB / 0.5406 GB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/0.3711, allocations: 4.652 MB / 0.5451 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003899/0.3715, allocations: 1.431 MB / 0.5465 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/0.3764, allocations: 5.908 MB / 0.5523 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/0.377, allocations: 374.3 kB / 0.5526 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.3773, allocations: 63.66 kB / 0.5527 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009451/0.3782, allocations: 203.6 kB / 0.5529 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.3784, allocations: 172.4 kB / 0.553 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/0.3785, allocations: 87.97 kB / 0.5531 GB, free: 3.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002115/0.3806, allocations: 2.379 MB / 0.5555 GB, free: 1.488 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3806, allocations: 0 / 0.5555 GB, free: 1.488 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003337/0.384, allocations: 1.258 MB / 0.5567 GB, free: 236 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003468/0.3843, allocations: 230.2 kB / 0.5569 GB, free: 0 / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006601/0.3909, allocations: 5.705 MB / 0.5625 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.3909, allocations: 4 kB / 0.5625 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.3932, allocations: 1.975 MB / 0.5644 GB, free: 8.285 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.3951, allocations: 432.4 kB / 0.5648 GB, free: 7.863 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.4079, allocations: 11.06 MB / 0.5756 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002621/0.4105, allocations: 2.926 MB / 0.5785 GB, free: 9.617 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008316/0.4114, allocations: 316.4 kB / 0.5788 GB, free: 9.305 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4114, allocations: 4 kB / 0.5788 GB, free: 9.301 MB / 442.7 MB Notification: Performance of Templates: time 0.2253/0.6367, allocations: 143 MB / 0.7185 GB, free: 61.71 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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: 9.135668222792447]