Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000887/0.0008871, allocations: 96.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.00104, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 247.5 MB, free: 9.691 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002393/0.0002393, allocations: 8 kB / 308.4 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09155, allocations: 51.53 MB / 359.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.1957/0.2873, allocations: 40.75 MB / 400.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0194/0.3067, allocations: 9.019 MB / 409.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006805/0.3136, allocations: 176.3 kB / 409.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.3148, allocations: 417.9 kB / 410.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004041/0.3189, allocations: 1.627 MB / 411.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.3202, allocations: 0.6217 MB / 412.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005429/0.3256, allocations: 5.348 MB / 417.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006204/0.3319, allocations: 4.822 MB / 422.7 MB, free: 12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.3336, allocations: 1.093 MB / 423.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.3357, allocations: 1.814 MB / 425.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003548/0.3361, allocations: 144 kB / 425.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.3379, allocations: 1.03 MB / 426.8 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.3393, allocations: 1.62 MB / 428.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.3409, allocations: 1.919 MB / 430.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004629/0.3455, allocations: 5.067 MB / 435.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3456, allocations: 4 kB / 435.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3456, allocations: 0 / 435.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001026/0.3457, allocations: 0 / 435.4 MB, free: 15.26 MB / 350.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.006166/0.3519, allocations: 3.704 MB / 439.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3519, allocations: 8.031 kB / 439.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006902/0.3588, allocations: 1.972 MB / 441.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.3621, allocations: 1.966 MB / 443 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.3623, allocations: 254.2 kB / 443.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008218/0.3631, allocations: 395.6 kB / 443.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/0.3795, allocations: 10.13 MB / 453.8 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.3797, allocations: 39.62 kB / 453.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.38, allocations: 155.9 kB / 454 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002591/0.3826, allocations: 1.857 MB / 455.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.3985, allocations: 8.395 MB / 464.2 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04312/0.4416, allocations: 39.37 MB / 0.4918 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.4522, allocations: 4.047 MB / 0.4958 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.4542, allocations: 1.433 MB / 0.4972 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009862/0.4641, allocations: 7.733 MB / 0.5047 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4642, allocations: 47.5 kB / 0.5048 GB, free: 11.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.087e-06/0.4642, allocations: 0 / 0.5048 GB, free: 11.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03144/0.4956, allocations: 12.57 MB / 0.517 GB, free: 14.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001167/0.4968, allocations: 1.589 MB / 0.5186 GB, free: 12.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004829/0.5017, allocations: 3.811 MB / 0.5223 GB, free: 8.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002732/0.502, allocations: 49.7 kB / 0.5224 GB, free: 8.715 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001924/0.5039, allocations: 3.107 MB / 0.5254 GB, free: 5.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006888/0.5046, allocations: 0.6521 MB / 0.526 GB, free: 4.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006089/0.5052, allocations: 0.5272 MB / 0.5265 GB, free: 4.367 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.5053, allocations: 301.1 kB / 0.5268 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/0.5083, allocations: 2.054 MB / 0.5288 GB, free: 2.012 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1741/0.6824, allocations: 5.99 MB / 0.5347 GB, free: 139.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009105/0.6915, allocations: 8.656 MB / 0.5431 GB, free: 132.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000215/0.6918, allocations: 40.09 kB / 0.5432 GB, free: 132.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02499/0.7168, allocations: 9.883 MB / 0.5528 GB, free: 129.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.717, allocations: 67.41 kB / 0.5529 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01182/0.7288, allocations: 3.903 MB / 0.5567 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/0.7405, allocations: 2.731 MB / 0.5594 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/0.7446, allocations: 1.372 MB / 0.5607 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.7581, allocations: 10.68 MB / 0.5711 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004685/0.7628, allocations: 402.1 kB / 0.5715 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006594/0.7635, allocations: 394.2 kB / 0.5719 GB, free: 120.8 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.002619/0.7661, allocations: 2.022 MB / 0.5739 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004368/0.7666, allocations: 325.8 kB / 0.5742 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007124/0.7673, allocations: 436.3 kB / 0.5746 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005283/0.7726, allocations: 2.763 MB / 0.5773 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.7726, allocations: 5.125 kB / 0.5773 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.7726, allocations: 7.969 kB / 0.5773 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/0.7852, allocations: 8.639 MB / 0.5857 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.7853, allocations: 0 / 0.5857 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008009/0.7861, allocations: 191.7 kB / 0.5859 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004188/0.7903, allocations: 1.473 MB / 0.5874 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.7905, allocations: 27.98 kB / 0.5874 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009483/0.7999, allocations: 9.168 MB / 0.5963 GB, free: 95.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006544/0.8006, allocations: 1.467 MB / 0.5978 GB, free: 94.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007631/0.8083, allocations: 5.401 MB / 0.6031 GB, free: 88.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007864/0.8091, allocations: 380.6 kB / 0.6034 GB, free: 88.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/0.8094, allocations: 32.69 kB / 0.6034 GB, free: 88.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.8107, allocations: 132 kB / 0.6036 GB, free: 88.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.811, allocations: 105.5 kB / 0.6037 GB, free: 88.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.791e-05/0.8111, allocations: 57.39 kB / 0.6037 GB, free: 87.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002626/0.8137, allocations: 2.333 MB / 0.606 GB, free: 85.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8138, allocations: 4 kB / 0.606 GB, free: 85.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004629/0.8184, allocations: 1.068 MB / 0.6071 GB, free: 84.58 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.0003631/0.8188, allocations: 173.1 kB / 0.6072 GB, free: 84.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007953/0.8267, allocations: 5.744 MB / 0.6128 GB, free: 78.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8267, allocations: 0 / 0.6128 GB, free: 78.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003478/0.8302, allocations: 2.322 MB / 0.6151 GB, free: 76.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.8325, allocations: 380.3 kB / 0.6155 GB, free: 75.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.8461, allocations: 11.59 MB / 0.6268 GB, free: 64.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/0.8487, allocations: 3.127 MB / 0.6298 GB, free: 61.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007096/0.8494, allocations: 267.4 kB / 0.6301 GB, free: 60.79 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.8494, allocations: 0 / 0.6301 GB, free: 60.79 MB / 446.1 MB Notification: Performance of Templates: time 0.2938/1.143, allocations: 143.1 MB / 0.7699 GB, free: 90.94 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches