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.002301/0.002301, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002265/0.002265, allocations: 216 kB / 23.73 MB, free: 4.406 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.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 0.001957/0.001957, allocations: 63.89 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2779, allocations: 53.4 MB / 431.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01422/0.2921, allocations: 10.46 MB / 442.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009553/0.3016, allocations: 4.013 MB / 446.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.3035, allocations: 83.56 kB / 446.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006308/0.3099, allocations: 2.686 MB / 448.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006076/0.3159, allocations: 1.996 MB / 450.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.3184, allocations: 0.8073 MB / 451.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00787/0.3263, allocations: 4.687 MB / 456.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004333/0.3306, allocations: 2.929 MB / 459.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003291/0.3339, allocations: 1.709 MB / 461 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004177/0.3381, allocations: 2.379 MB / 463.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.3392, allocations: 352 kB / 463.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.3424, allocations: 1.162 MB / 464.9 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003404/0.3458, allocations: 2.138 MB / 467 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003243/0.349, allocations: 1.809 MB / 468.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.3595, allocations: 7.527 MB / 476.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3595, allocations: 0 / 476.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3595, allocations: 0 / 476.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002075/0.3597, allocations: 0 / 476.4 MB, free: 9.617 MB / 382.1 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.01235/0.3721, allocations: 5.302 MB / 481.7 MB, free: 4.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.3721, allocations: 11.98 kB / 481.7 MB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009382/0.3815, allocations: 2.201 MB / 483.9 MB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007569/0.3891, allocations: 2.437 MB / 486.3 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004623/0.3895, allocations: 270.9 kB / 486.6 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/0.3916, allocations: 427.6 kB / 487 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02748/0.4191, allocations: 12.34 MB / 499.3 MB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001597/0.4192, allocations: 59.5 kB / 499.4 MB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005554/0.4198, allocations: 175.8 kB / 499.6 MB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003664/0.4235, allocations: 2.166 MB / 0.49 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02458/0.448, allocations: 10.22 MB / 0.5 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2802/0.7282, allocations: 41.42 MB / 0.5404 GB, free: 71.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.7394, allocations: 3.822 MB / 0.5441 GB, free: 71.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.7415, allocations: 1.622 MB / 0.5457 GB, free: 71.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009829/0.7513, allocations: 6.493 MB / 0.5521 GB, free: 69.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.7513, allocations: 53.06 kB / 0.5521 GB, free: 69.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.979e-06/0.7513, allocations: 0 / 0.5521 GB, free: 69.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03657/0.7879, allocations: 16 MB / 0.5677 GB, free: 59.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008988/0.7888, allocations: 1.568 MB / 0.5693 GB, free: 57.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/0.7929, allocations: 3.995 MB / 0.5732 GB, free: 53.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003319/0.7933, allocations: 53.7 kB / 0.5732 GB, free: 53.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.7945, allocations: 3.572 MB / 0.5767 GB, free: 50.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/0.7951, allocations: 0.8396 MB / 0.5775 GB, free: 49.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.7964, allocations: 1.373 MB / 0.5789 GB, free: 48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.504e-05/0.7964, allocations: 301.1 kB / 0.5792 GB, free: 47.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/0.7992, allocations: 2.282 MB / 0.5814 GB, free: 45.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004115/0.8033, allocations: 6.422 MB / 0.5877 GB, free: 37.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007709/0.811, allocations: 9.339 MB / 0.5968 GB, free: 25.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/0.8111, allocations: 44 kB / 0.5968 GB, free: 25.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02046/0.8316, allocations: 10.15 MB / 0.6067 GB, free: 15.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/0.8317, allocations: 70.66 kB / 0.6068 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01058/0.8423, allocations: 3.889 MB / 0.6106 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009821/0.8521, allocations: 2.261 MB / 0.6128 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004825/0.8569, allocations: 1.591 MB / 0.6144 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007494/0.8644, allocations: 6.309 MB / 0.6205 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004996/0.8694, allocations: 439.5 kB / 0.6209 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/0.8705, allocations: 419.8 kB / 0.6213 GB, free: 444 kB / 446.1 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.004574/0.8751, allocations: 2.214 MB / 0.6235 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009093/0.876, allocations: 365.7 kB / 0.6239 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007511/0.8835, allocations: 3.274 MB / 0.627 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005961/0.8895, allocations: 2.761 MB / 0.6297 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.8895, allocations: 4 kB / 0.6297 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.842e-05/0.8895, allocations: 7.969 kB / 0.6298 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/0.9102, allocations: 9.012 MB / 0.6386 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.385e-05/0.9102, allocations: 12 kB / 0.6386 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/0.912, allocations: 375.4 kB / 0.6389 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003176/0.9152, allocations: 0.9826 MB / 0.6399 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/0.9154, allocations: 63.97 kB / 0.6399 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005628/0.9211, allocations: 4.643 MB / 0.6445 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001166/0.9222, allocations: 1.431 MB / 0.6459 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/0.9328, allocations: 5.947 MB / 0.6517 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/0.9339, allocations: 333.5 kB / 0.652 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006921/0.9346, allocations: 55.97 kB / 0.6521 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/0.9365, allocations: 155.8 kB / 0.6522 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003743/0.9369, allocations: 180.5 kB / 0.6524 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.9371, allocations: 72.45 kB / 0.6524 GB, free: 15.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004413/0.9415, allocations: 2.262 MB / 0.6547 GB, free: 13.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9415, allocations: 0 / 0.6547 GB, free: 13.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006111/0.9476, allocations: 1.144 MB / 0.6558 GB, free: 12.38 MB / 494.1 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.0007041/0.9483, allocations: 214.8 kB / 0.656 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01263/0.9609, allocations: 5.669 MB / 0.6615 GB, free: 6.488 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/0.961, allocations: 0 / 0.6615 GB, free: 6.488 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004482/0.9654, allocations: 1.979 MB / 0.6634 GB, free: 4.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004105/0.9695, allocations: 438.2 kB / 0.6639 GB, free: 4.051 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/0.9891, allocations: 10.86 MB / 0.6745 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004522/0.9937, allocations: 2.915 MB / 0.6773 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004617/0.9983, allocations: 1.977 MB / 0.6792 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006988/0.999, allocations: 255.4 kB / 0.6795 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/0.999, allocations: 3.938 kB / 0.6795 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of Templates: time 0.07856/1.078, allocations: 38.86 MB / 0.7174 GB, free: 13.45 MB / 0.545 GB " [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: 6.856702137738466]