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.001114/0.001114, allocations: 108 kB / 17.15 MB, free: 6.305 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.001109/0.00111, allocations: 198 kB / 18.07 MB, free: 5.41 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.556/1.556, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001154/0.001154, allocations: 44.14 kB / 280 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09676, allocations: 46.64 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03603/0.1328, allocations: 42.2 MB / 368.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02045/0.1533, allocations: 9.169 MB / 378 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009367/0.1628, allocations: 179.6 kB / 378.1 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2043/0.3672, allocations: 2.558 MB / 380.7 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005939/0.3732, allocations: 1.632 MB / 382.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.375, allocations: 0.6242 MB / 383 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008524/0.3835, allocations: 5.346 MB / 388.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00546/0.389, allocations: 3.533 MB / 391.8 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003867/0.3929, allocations: 1.32 MB / 393.2 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004011/0.3969, allocations: 2.092 MB / 395.3 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.3981, allocations: 228.5 kB / 395.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.4013, allocations: 1.119 MB / 396.6 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.4038, allocations: 1.762 MB / 398.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002882/0.4067, allocations: 2.074 MB / 400.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007061/0.4138, allocations: 6.406 MB / 406.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4138, allocations: 4 kB / 406.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4138, allocations: 0 / 406.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003024/0.4141, allocations: 0 / 406.8 MB, free: 3.473 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.01093/0.4251, allocations: 4.575 MB / 411.4 MB, free: 388 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4251, allocations: 8.25 kB / 411.4 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006458/0.4316, allocations: 1.879 MB / 413.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/0.4359, allocations: 2.039 MB / 415.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.4361, allocations: 246 kB / 415.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.4374, allocations: 399.4 kB / 416 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02274/0.4601, allocations: 10.07 MB / 426 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002962/0.4605, allocations: 37.75 kB / 426.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001723/0.4622, allocations: 158.9 kB / 426.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003468/0.4657, allocations: 1.854 MB / 428.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/0.4872, allocations: 8.338 MB / 436.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05737/0.5446, allocations: 39.39 MB / 475.8 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.5569, allocations: 4.012 MB / 479.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/0.5599, allocations: 1.42 MB / 481.2 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01543/0.5753, allocations: 7.629 MB / 488.9 MB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.968e-05/0.5754, allocations: 54.47 kB / 488.9 MB, free: 2.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 6.152e-06/0.5755, allocations: 4 kB / 488.9 MB, free: 2.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03525/0.6107, allocations: 12.4 MB / 0.4896 GB, free: 6.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001517/0.6123, allocations: 1.59 MB / 0.4911 GB, free: 4.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007274/0.6196, allocations: 3.82 MB / 0.4949 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004341/0.62, allocations: 49.7 kB / 0.4949 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002809/0.6229, allocations: 3.117 MB / 0.498 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009061/0.6238, allocations: 0.6468 MB / 0.4986 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002492/0.6263, allocations: 1.256 MB / 0.4998 GB, free: 11.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6264, allocations: 307.8 kB / 0.5001 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/0.6296, allocations: 2.034 MB / 0.5021 GB, free: 9.449 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006965/0.6366, allocations: 5.967 MB / 0.5079 GB, free: 1.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.6477, allocations: 8.624 MB / 0.5163 GB, free: 7.555 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001486/0.6479, allocations: 40 kB / 0.5164 GB, free: 7.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02348/0.6714, allocations: 9.725 MB / 0.5259 GB, free: 13.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.6716, allocations: 68 kB / 0.5259 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0115/0.6831, allocations: 3.748 MB / 0.5296 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/0.6951, allocations: 2.618 MB / 0.5322 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004794/0.6999, allocations: 1.368 MB / 0.5335 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1815/0.8814, allocations: 7.172 MB / 0.5405 GB, free: 170.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00475/0.8862, allocations: 396.5 kB / 0.5409 GB, free: 170.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/0.8873, allocations: 389.1 kB / 0.5412 GB, free: 170.6 MB / 462.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.003143/0.8904, allocations: 2.019 MB / 0.5432 GB, free: 170.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005755/0.891, allocations: 330.3 kB / 0.5435 GB, free: 170.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006732/0.8977, allocations: 3.118 MB / 0.5466 GB, free: 169.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005661/0.9034, allocations: 2.686 MB / 0.5492 GB, free: 169.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.9034, allocations: 4.016 kB / 0.5492 GB, free: 169.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.9035, allocations: 11.05 kB / 0.5492 GB, free: 169.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.9176, allocations: 8.563 MB / 0.5576 GB, free: 166.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.9177, allocations: 0 / 0.5576 GB, free: 166.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009925/0.9187, allocations: 200.6 kB / 0.5578 GB, free: 166.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00476/0.9234, allocations: 1.431 MB / 0.5592 GB, free: 166 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003055/0.9238, allocations: 35.28 kB / 0.5592 GB, free: 165.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005312/0.9291, allocations: 5.701 MB / 0.5648 GB, free: 162.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007654/0.9299, allocations: 1.471 MB / 0.5662 GB, free: 160.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009169/0.9391, allocations: 5.303 MB / 0.5714 GB, free: 159 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.9405, allocations: 363.9 kB / 0.5717 GB, free: 158.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/0.9416, allocations: 34.59 kB / 0.5718 GB, free: 158.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/0.9436, allocations: 127.3 kB / 0.5719 GB, free: 158.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/0.9439, allocations: 89.69 kB / 0.572 GB, free: 158.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.9441, allocations: 47.53 kB / 0.572 GB, free: 158.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004887/0.949, allocations: 2.351 MB / 0.5743 GB, free: 157.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.949, allocations: 0 / 0.5743 GB, free: 157.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005786/0.9548, allocations: 1.024 MB / 0.5753 GB, free: 157.7 MB / 462.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.0005775/0.9554, allocations: 167.9 kB / 0.5755 GB, free: 157.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008243/0.9636, allocations: 5.481 MB / 0.5808 GB, free: 154 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.9637, allocations: 0 / 0.5808 GB, free: 154 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003361/0.967, allocations: 2.013 MB / 0.5828 GB, free: 151.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/0.97, allocations: 389.4 kB / 0.5832 GB, free: 151.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.9849, allocations: 10.96 MB / 0.5939 GB, free: 140.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003422/0.9884, allocations: 3.115 MB / 0.5969 GB, free: 137.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004086/0.9925, allocations: 1.8 MB / 0.5987 GB, free: 135.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00062/0.9931, allocations: 226.3 kB / 0.5989 GB, free: 135.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/0.9931, allocations: 0 / 0.5989 GB, free: 135.5 MB / 462.1 MB Notification: Performance of Templates: time 0.05991/1.053, allocations: 37.18 MB / 0.6352 GB, free: 98.3 MB / 462.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