Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0007617/0.0007617, allocations: 93.7 kB / 17.31 MB, free: 6.535 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.0008243/0.0008242, allocations: 175.9 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.104/1.104, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002089/0.0002089, allocations: 13.16 kB / 302.1 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06824/0.06846, allocations: 50.42 MB / 352.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.1564/0.2249, allocations: 41.04 MB / 393.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.2395, allocations: 9.106 MB / 402.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005239/0.2447, allocations: 176.3 kB / 402.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009004/0.2456, allocations: 421.7 kB / 403.2 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.2486, allocations: 1.647 MB / 404.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.2497, allocations: 0.6216 MB / 405.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003945/0.2537, allocations: 5.328 MB / 410.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004709/0.2584, allocations: 4.829 MB / 415.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.2594, allocations: 1.109 MB / 416.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.2611, allocations: 1.825 MB / 418.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.2613, allocations: 136 kB / 418.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.2627, allocations: 1.045 MB / 419.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.2638, allocations: 1.636 MB / 421.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.2651, allocations: 1.938 MB / 423.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003476/0.2686, allocations: 5.114 MB / 428.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.2686, allocations: 0 / 428.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.2686, allocations: 4 kB / 428.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.825e-05/0.2686, allocations: 0 / 428.5 MB, free: 8.316 MB / 334.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.004971/0.2736, allocations: 3.739 MB / 432.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2736, allocations: 8.031 kB / 432.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00582/0.2795, allocations: 1.926 MB / 434.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.2819, allocations: 1.989 MB / 436.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.282, allocations: 246.2 kB / 436.4 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000703/0.2828, allocations: 395.9 kB / 436.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.2954, allocations: 10.08 MB / 446.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.69e-05/0.2955, allocations: 39.62 kB / 446.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003217/0.2958, allocations: 159.8 kB / 447 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/0.2981, allocations: 1.853 MB / 448.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.3106, allocations: 8.339 MB / 457.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03217/0.3428, allocations: 39.39 MB / 496.6 MB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008914/0.3517, allocations: 3.992 MB / 0.4889 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.3534, allocations: 1.429 MB / 0.4903 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008385/0.3618, allocations: 7.638 MB / 0.4977 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.3618, allocations: 47.56 kB / 0.4978 GB, free: 4.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 2.825e-06/0.3618, allocations: 0 / 0.4978 GB, free: 4.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.02663/0.3884, allocations: 12.39 MB / 0.5099 GB, free: 7.836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001026/0.3895, allocations: 1.6 MB / 0.5114 GB, free: 6.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003995/0.3935, allocations: 3.808 MB / 0.5151 GB, free: 2.266 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-05/0.3936, allocations: 49.7 kB / 0.5152 GB, free: 2.211 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.3953, allocations: 3.114 MB / 0.5182 GB, free: 15.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000461/0.3958, allocations: 0.6482 MB / 0.5189 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005088/0.3963, allocations: 0.5272 MB / 0.5194 GB, free: 13.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.579e-05/0.3964, allocations: 301.1 kB / 0.5197 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/0.3989, allocations: 2.034 MB / 0.5217 GB, free: 11.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/0.4034, allocations: 5.969 MB / 0.5275 GB, free: 3.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1327/0.5361, allocations: 8.612 MB / 0.5359 GB, free: 140.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.735e-05/0.5362, allocations: 40.44 kB / 0.5359 GB, free: 140.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01804/0.5543, allocations: 9.734 MB / 0.5454 GB, free: 137.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.5543, allocations: 68.73 kB / 0.5455 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009837/0.5642, allocations: 3.743 MB / 0.5492 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009997/0.5742, allocations: 2.616 MB / 0.5517 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.577, allocations: 1.369 MB / 0.5531 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006671/0.5837, allocations: 7.173 MB / 0.5601 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/0.5867, allocations: 396.5 kB / 0.5604 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/0.587, allocations: 389.6 kB / 0.5608 GB, free: 132.3 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 (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.00177/0.5888, allocations: 2.021 MB / 0.5628 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.589, allocations: 321.6 kB / 0.5631 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005086/0.5941, allocations: 3.132 MB / 0.5661 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004315/0.5985, allocations: 2.681 MB / 0.5688 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5985, allocations: 4 kB / 0.5688 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.5985, allocations: 7.969 kB / 0.5688 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009839/0.6083, allocations: 8.567 MB / 0.5771 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.6083, allocations: 3.984 kB / 0.5771 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/0.609, allocations: 187.7 kB / 0.5773 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003651/0.6127, allocations: 1.444 MB / 0.5787 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-05/0.6128, allocations: 42.16 kB / 0.5788 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003959/0.6167, allocations: 5.708 MB / 0.5844 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005407/0.6173, allocations: 1.453 MB / 0.5858 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006123/0.6234, allocations: 5.31 MB / 0.591 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.6237, allocations: 380.6 kB / 0.5913 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.624, allocations: 33.16 kB / 0.5914 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.6251, allocations: 119.8 kB / 0.5915 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.6253, allocations: 96.86 kB / 0.5916 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.953e-05/0.6254, allocations: 45.22 kB / 0.5916 GB, free: 102.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00204/0.6274, allocations: 2.341 MB / 0.5939 GB, free: 100.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6274, allocations: 3.172 kB / 0.5939 GB, free: 100.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003042/0.6305, allocations: 1.033 MB / 0.5949 GB, free: 99.04 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 (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002665/0.6307, allocations: 177.1 kB / 0.5951 GB, free: 98.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005714/0.6364, allocations: 5.47 MB / 0.6004 GB, free: 93.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6365, allocations: 384 / 0.6004 GB, free: 93.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002799/0.6393, allocations: 2.034 MB / 0.6024 GB, free: 91.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.641, allocations: 375.3 kB / 0.6028 GB, free: 90.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008925/0.65, allocations: 11.56 MB / 0.614 GB, free: 79.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/0.652, allocations: 3.106 MB / 0.6171 GB, free: 76.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/0.6524, allocations: 263.4 kB / 0.6173 GB, free: 75.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6524, allocations: 3.938 kB / 0.6173 GB, free: 75.89 MB / 446.1 MB Notification: Performance of Templates: time 0.2232/0.8756, allocations: 142.5 MB / 0.7565 GB, free: 111.1 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches