Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,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.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,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.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 99.34 kB / 16.95 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009011/0.0009015, allocations: 177.7 kB / 17.84 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000469/0.000469, allocations: 8 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.09662, allocations: 47.6 MB / 328.4 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.0354/0.1321, allocations: 38.19 MB / 366.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01832/0.1504, allocations: 8.675 MB / 375.2 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005893/0.1564, allocations: 175.6 kB / 375.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006862/0.1633, allocations: 1.971 MB / 377.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2103/0.3737, allocations: 5.892 MB / 383.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.3766, allocations: 0.5633 MB / 383.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006855/0.3835, allocations: 4.267 MB / 388.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006994/0.3905, allocations: 4.183 MB / 392.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.3931, allocations: 1.197 MB / 393.5 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.396, allocations: 1.799 MB / 395.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005678/0.3966, allocations: 138.9 kB / 395.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.3987, allocations: 0.8958 MB / 396.3 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.4002, allocations: 1.609 MB / 397.9 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.4012, allocations: 0.802 MB / 398.7 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005589/0.4068, allocations: 5.102 MB / 403.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4068, allocations: 0 / 403.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4069, allocations: 3.188 kB / 403.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001741/0.407, allocations: 0 / 403.8 MB, free: 7.422 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.006743/0.4138, allocations: 3.804 MB / 407.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4138, allocations: 6.5 kB / 407.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00589/0.4197, allocations: 1.922 MB / 409.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/0.4233, allocations: 2.007 MB / 411.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.4235, allocations: 251.8 kB / 411.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007596/0.4243, allocations: 389.3 kB / 412.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/0.4392, allocations: 10.06 MB / 422.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.591e-05/0.4394, allocations: 43.58 kB / 422.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003923/0.4398, allocations: 159.6 kB / 422.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002554/0.4423, allocations: 1.862 MB / 424.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.4577, allocations: 8.289 MB / 432.6 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04434/0.5021, allocations: 39.37 MB / 472 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009585/0.5117, allocations: 3.998 MB / 476 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.5137, allocations: 1.418 MB / 477.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.5238, allocations: 7.626 MB / 485 MB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.5238, allocations: 51.48 kB / 485.1 MB, free: 2.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.438e-06/0.5238, allocations: 4 kB / 485.1 MB, free: 2.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.03001/0.5539, allocations: 12.36 MB / 497.4 MB, free: 6.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001277/0.5552, allocations: 1.589 MB / 499 MB, free: 4.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004967/0.5602, allocations: 3.808 MB / 0.491 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.5603, allocations: 45.7 kB / 0.4911 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002294/0.5626, allocations: 3.113 MB / 0.4941 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007064/0.5633, allocations: 0.6544 MB / 0.4948 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.5636, allocations: 123.9 kB / 0.4949 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004112/0.564, allocations: 0.5685 MB / 0.4954 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003166/0.5672, allocations: 2.011 MB / 0.4974 GB, free: 10.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005426/0.5727, allocations: 5.94 MB / 0.5032 GB, free: 2.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004645/0.5773, allocations: 3.368 MB / 0.5065 GB, free: 14.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.039e-05/0.5774, allocations: 40 kB / 0.5065 GB, free: 14.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02087/0.5983, allocations: 9.681 MB / 0.516 GB, free: 5.109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.5984, allocations: 70.92 kB / 0.516 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01023/0.6087, allocations: 3.735 MB / 0.5197 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/0.6191, allocations: 2.645 MB / 0.5223 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004225/0.6234, allocations: 1.368 MB / 0.5236 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009452/0.6329, allocations: 7.196 MB / 0.5306 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/0.6372, allocations: 407.1 kB / 0.531 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006408/0.6378, allocations: 388 kB / 0.5314 GB, free: 4.996 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (742): * Single equations (assignments): 732 * 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: 2 * 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: 1 {6 29} Notification: Performance of prepare postOptimizeDAE: time 0.003189/0.641, allocations: 2.017 MB / 0.5334 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/0.6415, allocations: 323.8 kB / 0.5337 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2/0.8415, allocations: 3.131 MB / 0.5367 GB, free: 157.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00559/0.8471, allocations: 2.669 MB / 0.5393 GB, free: 157.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.8472, allocations: 2.594 kB / 0.5393 GB, free: 157.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/0.8472, allocations: 9.25 kB / 0.5394 GB, free: 157.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.8624, allocations: 8.557 MB / 0.5477 GB, free: 155.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.8624, allocations: 5.328 kB / 0.5477 GB, free: 155.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008709/0.8633, allocations: 190 kB / 0.5479 GB, free: 155.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003995/0.8673, allocations: 1.431 MB / 0.5493 GB, free: 155.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.8675, allocations: 41.11 kB / 0.5493 GB, free: 155.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005238/0.8727, allocations: 5.703 MB / 0.5549 GB, free: 151.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006897/0.8734, allocations: 1.458 MB / 0.5563 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007214/0.8806, allocations: 5.289 MB / 0.5615 GB, free: 148.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008855/0.8815, allocations: 380.7 kB / 0.5619 GB, free: 148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.8819, allocations: 30.3 kB / 0.5619 GB, free: 148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.883, allocations: 120.7 kB / 0.562 GB, free: 148 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.8832, allocations: 96.38 kB / 0.5621 GB, free: 148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.8834, allocations: 47.05 kB / 0.5621 GB, free: 148 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003796/0.8872, allocations: 2.326 MB / 0.5644 GB, free: 147.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8872, allocations: 0 / 0.5644 GB, free: 147.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005045/0.8922, allocations: 1.03 MB / 0.5654 GB, free: 147.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (91): * Single equations (assignments): 83 * 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: 2 * 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: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.000449/0.8927, allocations: 168 kB / 0.5656 GB, free: 147 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00904/0.9017, allocations: 5.472 MB / 0.5709 GB, free: 144.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.9018, allocations: 0 / 0.5709 GB, free: 144.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003418/0.9052, allocations: 2.02 MB / 0.5729 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.9077, allocations: 393.6 kB / 0.5733 GB, free: 143 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.9205, allocations: 10.7 MB / 0.5837 GB, free: 132.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002487/0.923, allocations: 3.115 MB / 0.5868 GB, free: 129.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00391/0.927, allocations: 1.8 MB / 0.5885 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/0.9275, allocations: 219.4 kB / 0.5887 GB, free: 127.2 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.9275, allocations: 0 / 0.5887 GB, free: 127.2 MB / 446.1 MB Notification: Performance of Templates: time 0.05428/0.9818, allocations: 35.98 MB / 0.6239 GB, free: 91.28 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches