Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008657/0.0008657, allocations: 179.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 222.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009135/0.0009136, allocations: 90.3 kB / 270.9 MB, free: 8.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003623, allocations: 12 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2777, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.03232/0.3101, allocations: 42.54 MB / 417.1 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02475/0.3349, allocations: 9.458 MB / 426.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0108/0.3458, allocations: 203.5 kB / 426.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007908/0.3538, allocations: 2.181 MB / 428.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01878/0.3726, allocations: 6.586 MB / 435.5 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.3759, allocations: 0.6982 MB / 436.2 MB, free: 3.016 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007228/0.3832, allocations: 5.22 MB / 441.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007057/0.3903, allocations: 4.511 MB / 445.9 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/0.3935, allocations: 1.409 MB / 447.4 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003886/0.3975, allocations: 2.189 MB / 449.5 MB, free: 5.598 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.3987, allocations: 164 kB / 449.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.4018, allocations: 0.9791 MB / 450.7 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003535/0.4054, allocations: 1.874 MB / 452.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.4081, allocations: 0.8972 MB / 453.5 MB, free: 1.672 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009959/0.4181, allocations: 5.706 MB / 459.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.4181, allocations: 4 kB / 459.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4181, allocations: 0 / 459.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003854/0.4185, allocations: 0 / 459.2 MB, free: 11.95 MB / 346.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.01252/0.431, allocations: 4.396 MB / 463.6 MB, free: 7.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.4311, allocations: 12.03 kB / 463.6 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009102/0.4402, allocations: 2.162 MB / 465.7 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006135/0.4464, allocations: 2.54 MB / 468.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/0.4468, allocations: 278.8 kB / 468.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001857/0.4487, allocations: 439.5 kB / 469 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0268/0.4755, allocations: 12.21 MB / 481.2 MB, free: 4.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.4758, allocations: 51.52 kB / 481.2 MB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000592/0.4764, allocations: 179.8 kB / 481.4 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003299/0.4797, allocations: 2.158 MB / 483.6 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02293/0.5026, allocations: 10.18 MB / 493.7 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2607/0.7634, allocations: 44.29 MB / 0.5254 GB, free: 75.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009463/0.7729, allocations: 4.602 MB / 0.5299 GB, free: 72.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.7749, allocations: 1.722 MB / 0.5316 GB, free: 71.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009533/0.7844, allocations: 8.235 MB / 0.5396 GB, free: 65.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.7845, allocations: 51.81 kB / 0.5397 GB, free: 65.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=183): time 4.769e-06/0.7845, allocations: 0 / 0.5397 GB, free: 65.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=205): time 0.03394/0.8184, allocations: 15.96 MB / 0.5553 GB, free: 49.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008392/0.8193, allocations: 1.605 MB / 0.5568 GB, free: 47.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/0.8235, allocations: 4.199 MB / 0.5609 GB, free: 43.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.8238, allocations: 57.8 kB / 0.561 GB, free: 43.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.8251, allocations: 3.396 MB / 0.5643 GB, free: 39.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005416/0.8256, allocations: 0.8085 MB / 0.5651 GB, free: 38.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.8258, allocations: 136.9 kB / 0.5652 GB, free: 38.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.8261, allocations: 0.5875 MB / 0.5658 GB, free: 38.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/0.8288, allocations: 2.239 MB / 0.568 GB, free: 35.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003922/0.8327, allocations: 6.375 MB / 0.5742 GB, free: 27.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004005/0.8367, allocations: 3.654 MB / 0.5778 GB, free: 23.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.67e-05/0.8368, allocations: 44 kB / 0.5778 GB, free: 23.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01808/0.8549, allocations: 10 MB / 0.5876 GB, free: 13.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-05/0.855, allocations: 68 kB / 0.5877 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009687/0.8646, allocations: 3.783 MB / 0.5914 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009604/0.8743, allocations: 2.187 MB / 0.5935 GB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004876/0.8792, allocations: 1.579 MB / 0.595 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00696/0.8862, allocations: 6.053 MB / 0.6009 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005366/0.8916, allocations: 432 kB / 0.6014 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/0.8928, allocations: 416.9 kB / 0.6018 GB, free: 14.92 MB / 394.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004231/0.897, allocations: 2.221 MB / 0.6039 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000785/0.8978, allocations: 371.2 kB / 0.6043 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006294/0.9041, allocations: 3.293 MB / 0.6075 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005138/0.9093, allocations: 2.738 MB / 0.6102 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.9093, allocations: 4 kB / 0.6102 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/0.9094, allocations: 11.95 kB / 0.6102 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/0.9274, allocations: 10.35 MB / 0.6203 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/0.9274, allocations: 12 kB / 0.6203 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/0.9298, allocations: 367.4 kB / 0.6206 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/0.9327, allocations: 0.991 MB / 0.6216 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/0.9329, allocations: 55.98 kB / 0.6217 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0049/0.9378, allocations: 4.604 MB / 0.6262 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001037/0.9389, allocations: 1.466 MB / 0.6276 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009269/0.9481, allocations: 5.901 MB / 0.6334 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/0.9498, allocations: 0.66 MB / 0.634 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004596/0.9503, allocations: 55.98 kB / 0.6341 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.9519, allocations: 155.7 kB / 0.6342 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/0.9522, allocations: 172.5 kB / 0.6344 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.9523, allocations: 71.98 kB / 0.6344 GB, free: 12.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004198/0.9566, allocations: 2.586 MB / 0.637 GB, free: 9.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.9566, allocations: 0 / 0.637 GB, free: 9.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005502/0.9621, allocations: 1.165 MB / 0.6381 GB, free: 8.754 MB / 426.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004807/0.9626, allocations: 220.1 kB / 0.6383 GB, free: 8.539 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01032/0.9729, allocations: 5.937 MB / 0.6441 GB, free: 2.559 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.9729, allocations: 4 kB / 0.6441 GB, free: 2.555 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00409/0.977, allocations: 2.184 MB / 0.6462 GB, free: 308 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1745/1.152, allocations: 492 kB / 0.6467 GB, free: 142.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/1.17, allocations: 13.09 MB / 0.6595 GB, free: 137.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003581/1.173, allocations: 3.458 MB / 0.6629 GB, free: 135.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009781/1.174, allocations: 331.6 kB / 0.6632 GB, free: 135.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/1.174, allocations: 0 / 0.6632 GB, free: 135.8 MB / 426.7 MB Notification: Performance of Templates: time 0.1254/1.3, allocations: 140.7 MB / 0.8006 GB, free: 0.793 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches