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.0008779/0.0008779, allocations: 181.2 kB / 17.41 MB, free: 4.402 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.278/1.278, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007036/0.0007036, allocations: 97.47 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2, allocations: 47.58 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.3021, allocations: 97.42 MB / 473.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/0.3026, allocations: 95.95 kB / 473.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3653/0.6679, allocations: 92.5 MB / 0.5525 GB, free: 63.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.668, allocations: 0 / 0.5525 GB, free: 63.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002161/0.6682, allocations: 88 kB / 0.5526 GB, free: 63.8 MB / 378.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.01584/0.6841, allocations: 4.909 MB / 0.5574 GB, free: 58.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6841, allocations: 8.219 kB / 0.5574 GB, free: 58.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.6956, allocations: 2.576 MB / 0.5599 GB, free: 56.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009691/0.7053, allocations: 4.455 MB / 0.5642 GB, free: 51.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003462/0.7057, allocations: 361.8 kB / 0.5646 GB, free: 51.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/0.7078, allocations: 480.2 kB / 0.565 GB, free: 50.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02661/0.7344, allocations: 12.56 MB / 0.5773 GB, free: 37.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003337/0.7348, allocations: 71.28 kB / 0.5774 GB, free: 37.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/0.737, allocations: 235.9 kB / 0.5776 GB, free: 36.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001775/0.7387, allocations: 1.206 MB / 0.5788 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01963/0.7584, allocations: 10.26 MB / 0.5888 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05386/0.8123, allocations: 52.86 MB / 0.6404 GB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1823/0.9947, allocations: 4.534 MB / 0.6449 GB, free: 96.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.9968, allocations: 1.685 MB / 0.6465 GB, free: 96.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/1.007, allocations: 8.228 MB / 0.6545 GB, free: 93.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/1.007, allocations: 48.56 kB / 0.6546 GB, free: 93.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 4.658e-06/1.007, allocations: 0 / 0.6546 GB, free: 93.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.03558/1.043, allocations: 15.95 MB / 0.6702 GB, free: 90.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008709/1.044, allocations: 1.597 MB / 0.6717 GB, free: 89.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00524/1.049, allocations: 4.248 MB / 0.6759 GB, free: 88.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003276/1.05, allocations: 60.41 kB / 0.6759 GB, free: 88.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.052, allocations: 3.414 MB / 0.6793 GB, free: 85.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/1.053, allocations: 0.8064 MB / 0.68 GB, free: 84.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003679/1.053, allocations: 130.6 kB / 0.6802 GB, free: 84.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003745/1.054, allocations: 0.5854 MB / 0.6807 GB, free: 84.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003413/1.057, allocations: 2.249 MB / 0.6829 GB, free: 83.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00469/1.062, allocations: 6.355 MB / 0.6891 GB, free: 77.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009421/1.071, allocations: 9.246 MB / 0.6982 GB, free: 70.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001237/1.071, allocations: 40.81 kB / 0.6982 GB, free: 70.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.01651/1.088, allocations: 9.096 MB / 0.7071 GB, free: 66.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.153e-05/1.088, allocations: 64 kB / 0.7071 GB, free: 66.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004835/1.093, allocations: 2.823 MB / 0.7099 GB, free: 64.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002982/1.096, allocations: 1.066 MB / 0.7109 GB, free: 63.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004951/1.101, allocations: 1.593 MB / 0.7125 GB, free: 62.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/1.105, allocations: 4.383 MB / 0.7168 GB, free: 58.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006066/1.111, allocations: 0.4922 MB / 0.7173 GB, free: 57.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/1.112, allocations: 417.4 kB / 0.7177 GB, free: 57.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * 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 (845): * Single equations (assignments): 836 * 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.004076/1.116, allocations: 2.208 MB / 0.7198 GB, free: 55.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00072/1.117, allocations: 385.9 kB / 0.7202 GB, free: 54.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005556/1.122, allocations: 3.259 MB / 0.7234 GB, free: 52.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004287/1.127, allocations: 2.718 MB / 0.726 GB, free: 50.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.127, allocations: 4 kB / 0.726 GB, free: 50.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/1.127, allocations: 10.03 kB / 0.726 GB, free: 50.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.143, allocations: 10.35 MB / 0.7361 GB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/1.143, allocations: 12.97 kB / 0.7362 GB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.145, allocations: 362.9 kB / 0.7365 GB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002679/1.147, allocations: 0.985 MB / 0.7375 GB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002938/1.148, allocations: 61.7 kB / 0.7375 GB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/1.152, allocations: 4.612 MB / 0.742 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006523/1.152, allocations: 1.467 MB / 0.7435 GB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007862/1.16, allocations: 5.884 MB / 0.7492 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/1.162, allocations: 0.66 MB / 0.7498 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000632/1.163, allocations: 55.98 kB / 0.7499 GB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/1.164, allocations: 181.7 kB / 0.7501 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/1.165, allocations: 176.4 kB / 0.7502 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.165, allocations: 83.91 kB / 0.7503 GB, free: 27.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004192/1.169, allocations: 2.633 MB / 0.7529 GB, free: 25.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.169, allocations: 0 / 0.7529 GB, free: 25.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005763/1.175, allocations: 1.156 MB / 0.754 GB, free: 24.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (179): * Single equations (assignments): 172 * 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 {(3,100.0%),(4,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.0005364/1.175, allocations: 231.2 kB / 0.7542 GB, free: 23.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009199/1.185, allocations: 5.87 MB / 0.76 GB, free: 18.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/1.185, allocations: 4 kB / 0.76 GB, free: 18.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003544/1.188, allocations: 2.187 MB / 0.7621 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01037/1.199, allocations: 484.5 kB / 0.7626 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/1.217, allocations: 13.09 MB / 0.7754 GB, free: 2.121 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003815/1.221, allocations: 3.468 MB / 0.7787 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.222, allocations: 323.4 kB / 0.7791 GB, free: 14.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/1.222, allocations: 4 kB / 0.7791 GB, free: 14.32 MB / 426.7 MB Notification: Performance of Templates: time 0.3189/1.541, allocations: 139.8 MB / 0.9156 GB, free: 36.11 MB / 442.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/jenkins1/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