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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002089/0.002089, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002839/0.002839, allocations: 204.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.594/2.594, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6022/0.6044, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.02444/0.6289, allocations: 11.96 MB / 421.9 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.017/0.646, allocations: 4.211 MB / 426.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004621/0.6507, allocations: 67.81 kB / 426.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.661, allocations: 2.752 MB / 428.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.6718, allocations: 1.926 MB / 430.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004432/0.6763, allocations: 0.8033 MB / 431.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01438/0.6907, allocations: 4.683 MB / 436.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01085/0.7017, allocations: 3.548 MB / 439.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005825/0.7076, allocations: 1.674 MB / 441.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007106/0.7147, allocations: 2.336 MB / 443.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00233/0.7171, allocations: 352 kB / 444.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005595/0.7228, allocations: 1.256 MB / 445.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005239/0.7281, allocations: 2.092 MB / 447.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007927/0.7361, allocations: 2.404 MB / 450 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02147/0.7576, allocations: 7.464 MB / 457.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.7578, allocations: 0 / 457.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.7578, allocations: 3.938 kB / 457.5 MB, free: 1.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004643/0.7583, allocations: 7.984 kB / 457.5 MB, free: 1.844 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.02887/0.7872, allocations: 5.243 MB / 462.7 MB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.699e-05/0.7873, allocations: 8.031 kB / 462.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/0.8047, allocations: 2.171 MB / 464.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.816, allocations: 2.477 MB / 467.4 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005838/0.8167, allocations: 274.9 kB / 467.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0035/0.8203, allocations: 427.6 kB / 468.1 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04936/0.8697, allocations: 12.26 MB / 480.3 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003717/0.8701, allocations: 55.52 kB / 480.4 MB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00242/0.8726, allocations: 175.8 kB / 480.5 MB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007338/0.88, allocations: 2.154 MB / 482.7 MB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04161/0.9216, allocations: 10.24 MB / 492.9 MB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1087/1.03, allocations: 44.12 MB / 0.5245 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02275/1.053, allocations: 4.661 MB / 0.529 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005342/1.059, allocations: 1.722 MB / 0.5307 GB, free: 9.434 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0287/1.087, allocations: 8.302 MB / 0.5388 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/1.088, allocations: 47.88 kB / 0.5389 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=183): time 1.276e-05/1.088, allocations: 3.938 kB / 0.5389 GB, free: 0.668 MB / 462.1 MB Notification: Performance of matching and sorting (n=205): time 0.6953/1.783, allocations: 16.07 MB / 0.5546 GB, free: 120.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002222/1.785, allocations: 1.687 MB / 0.5562 GB, free: 118.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01582/1.801, allocations: 4.19 MB / 0.5603 GB, free: 116 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009269/1.802, allocations: 53.7 kB / 0.5603 GB, free: 116 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004666/1.807, allocations: 3.398 MB / 0.5637 GB, free: 112.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002228/1.809, allocations: 0.8087 MB / 0.5645 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006944/1.816, allocations: 1.357 MB / 0.5658 GB, free: 110.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/1.816, allocations: 301.1 kB / 0.5661 GB, free: 110.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006129/1.823, allocations: 2.285 MB / 0.5683 GB, free: 108.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/1.833, allocations: 6.414 MB / 0.5746 GB, free: 99.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/1.85, allocations: 9.358 MB / 0.5837 GB, free: 88.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004107/1.85, allocations: 40 kB / 0.5837 GB, free: 88.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.04883/1.899, allocations: 10.16 MB / 0.5937 GB, free: 78.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000185/1.899, allocations: 68 kB / 0.5937 GB, free: 78.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02127/1.92, allocations: 3.893 MB / 0.5975 GB, free: 74.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01987/1.94, allocations: 2.265 MB / 0.5997 GB, free: 71.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009899/1.95, allocations: 1.589 MB / 0.6013 GB, free: 70.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/1.964, allocations: 6.623 MB / 0.6078 GB, free: 63.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01236/1.977, allocations: 443.3 kB / 0.6082 GB, free: 62.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002628/1.979, allocations: 416 kB / 0.6086 GB, free: 62.54 MB / 462.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.008879/1.988, allocations: 2.231 MB / 0.6108 GB, free: 60.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00168/1.99, allocations: 371.2 kB / 0.6111 GB, free: 59.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/2.009, allocations: 3.309 MB / 0.6143 GB, free: 56.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01763/2.027, allocations: 2.772 MB / 0.6171 GB, free: 53.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.95e-05/2.027, allocations: 4 kB / 0.6171 GB, free: 53.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.739e-05/2.027, allocations: 19.89 kB / 0.6171 GB, free: 53.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03371/2.06, allocations: 10.36 MB / 0.6272 GB, free: 43.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.342e-05/2.061, allocations: 20.03 kB / 0.6272 GB, free: 43.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002604/2.063, allocations: 371.4 kB / 0.6276 GB, free: 42.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004607/2.068, allocations: 0.9863 MB / 0.6285 GB, free: 41.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007138/2.069, allocations: 67.91 kB / 0.6286 GB, free: 41.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008063/2.077, allocations: 4.91 MB / 0.6334 GB, free: 36.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001369/2.078, allocations: 1.565 MB / 0.6349 GB, free: 34.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02362/2.102, allocations: 5.963 MB / 0.6407 GB, free: 28.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/2.104, allocations: 444 kB / 0.6412 GB, free: 28.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001696/2.106, allocations: 63.91 kB / 0.6412 GB, free: 28.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004178/2.11, allocations: 147.8 kB / 0.6414 GB, free: 28.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008812/2.111, allocations: 176.4 kB / 0.6415 GB, free: 27.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00033/2.111, allocations: 75.66 kB / 0.6416 GB, free: 27.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008189/2.12, allocations: 2.589 MB / 0.6441 GB, free: 25.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.282e-06/2.12, allocations: 0 / 0.6441 GB, free: 25.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01421/2.134, allocations: 1.146 MB / 0.6453 GB, free: 24.03 MB / 462.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.001417/2.135, allocations: 217 kB / 0.6455 GB, free: 23.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01744/2.153, allocations: 6.069 MB / 0.6514 GB, free: 17.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.659e-05/2.153, allocations: 0 / 0.6514 GB, free: 17.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00624/2.159, allocations: 2.213 MB / 0.6535 GB, free: 15.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006844/2.166, allocations: 0.4941 MB / 0.654 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03793/2.204, allocations: 11.11 MB / 0.6649 GB, free: 3.641 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008959/2.213, allocations: 3.454 MB / 0.6683 GB, free: 152 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/2.215, allocations: 323.4 kB / 0.6686 GB, free: 15.83 MB / 478.1 MB Notification: Performance of SimCode: time 1.313e-06/2.215, allocations: 0 / 0.6686 GB, free: 15.83 MB / 478.1 MB Notification: Performance of Templates: time 1.104/3.32, allocations: 142.2 MB / 0.8074 GB, free: 106.2 MB / 0.5137 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches