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.0008608/0.0008608, allocations: 88.84 kB / 16.65 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.0008043/0.0008044, allocations: 176.3 kB / 17.56 MB, free: 6.18 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.408/1.408, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003962, allocations: 7.938 kB / 301.4 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 50.41 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2597/0.3741, allocations: 41.04 MB / 392.9 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02741/0.4015, allocations: 9.113 MB / 402 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01236/0.4139, allocations: 180.4 kB / 402.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.4162, allocations: 417.2 kB / 402.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006558/0.4228, allocations: 1.644 MB / 404.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.425, allocations: 0.6259 MB / 404.8 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008178/0.4332, allocations: 5.324 MB / 410.2 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007943/0.4412, allocations: 4.828 MB / 415 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.4437, allocations: 1.109 MB / 416.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/0.4466, allocations: 1.825 MB / 417.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005295/0.4472, allocations: 136 kB / 418.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.4495, allocations: 1.037 MB / 419.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.4512, allocations: 1.644 MB / 420.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002469/0.4537, allocations: 1.934 MB / 422.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008074/0.4618, allocations: 6.237 MB / 428.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4618, allocations: 0 / 428.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4618, allocations: 0 / 428.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002256/0.4621, allocations: 0 / 428.9 MB, free: 7.168 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.008377/0.4705, allocations: 3.739 MB / 432.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4705, allocations: 8.031 kB / 432.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007712/0.4782, allocations: 1.929 MB / 434.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005091/0.4834, allocations: 1.99 MB / 436.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.4836, allocations: 258.1 kB / 436.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.4847, allocations: 391.7 kB / 437.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.5043, allocations: 10.07 MB / 447.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.5045, allocations: 47.5 kB / 447.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004795/0.505, allocations: 163.8 kB / 447.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002951/0.5079, allocations: 1.857 MB / 449.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01776/0.5257, allocations: 8.332 MB / 457.7 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05021/0.5759, allocations: 39.38 MB / 497.1 MB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.5865, allocations: 4.005 MB / 0.4893 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/0.5885, allocations: 1.427 MB / 0.4907 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.5992, allocations: 7.626 MB / 0.4982 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.5992, allocations: 55.5 kB / 0.4982 GB, free: 3.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 3.977e-06/0.5992, allocations: 0 / 0.4982 GB, free: 3.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03246/0.6317, allocations: 12.39 MB / 0.5103 GB, free: 6.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00134/0.6331, allocations: 1.593 MB / 0.5119 GB, free: 4.914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005057/0.6382, allocations: 3.816 MB / 0.5156 GB, free: 1.109 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.6384, allocations: 45.7 kB / 0.5156 GB, free: 1.059 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.6405, allocations: 3.115 MB / 0.5187 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006541/0.6412, allocations: 0.6482 MB / 0.5193 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006292/0.6418, allocations: 0.5311 MB / 0.5198 GB, free: 12.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.642, allocations: 301.1 kB / 0.5201 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002971/0.6449, allocations: 2.034 MB / 0.5221 GB, free: 10.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005576/0.6505, allocations: 5.973 MB / 0.5279 GB, free: 2.422 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2102/0.8607, allocations: 8.612 MB / 0.5363 GB, free: 139.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001452/0.8609, allocations: 39.41 kB / 0.5364 GB, free: 139.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02661/0.8875, allocations: 9.725 MB / 0.5459 GB, free: 137.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.8877, allocations: 64.83 kB / 0.5459 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01183/0.8995, allocations: 3.752 MB / 0.5496 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/0.9116, allocations: 2.617 MB / 0.5522 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003893/0.9156, allocations: 1.369 MB / 0.5535 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008301/0.9239, allocations: 7.175 MB / 0.5605 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005112/0.9291, allocations: 396.7 kB / 0.5609 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009886/0.9301, allocations: 392.5 kB / 0.5613 GB, free: 131.5 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.003302/0.9334, allocations: 2.017 MB / 0.5632 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005701/0.934, allocations: 320.8 kB / 0.5635 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006072/0.94, allocations: 3.132 MB / 0.5666 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004945/0.945, allocations: 2.681 MB / 0.5692 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.945, allocations: 4 kB / 0.5692 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.9451, allocations: 7.969 kB / 0.5692 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.9591, allocations: 8.574 MB / 0.5776 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.9592, allocations: 0 / 0.5776 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008979/0.9601, allocations: 187.7 kB / 0.5778 GB, free: 116.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00418/0.9643, allocations: 1.44 MB / 0.5792 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.9645, allocations: 40.53 kB / 0.5792 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004951/0.9695, allocations: 5.71 MB / 0.5848 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006864/0.9702, allocations: 1.456 MB / 0.5862 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007804/0.978, allocations: 5.307 MB / 0.5914 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.9791, allocations: 380.6 kB / 0.5918 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.9794, allocations: 32.94 kB / 0.5918 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.9807, allocations: 123.8 kB / 0.5919 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.981, allocations: 92.84 kB / 0.592 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.997e-05/0.9811, allocations: 45.08 kB / 0.592 GB, free: 101.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003036/0.9841, allocations: 2.349 MB / 0.5943 GB, free: 98.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.9841, allocations: 0 / 0.5943 GB, free: 98.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004867/0.989, allocations: 1.033 MB / 0.5953 GB, free: 97.85 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.0004157/0.9894, allocations: 170.8 kB / 0.5955 GB, free: 97.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008661/0.9981, allocations: 5.474 MB / 0.6009 GB, free: 92.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.9981, allocations: 384 / 0.6009 GB, free: 92.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003369/1.002, allocations: 2.021 MB / 0.6028 GB, free: 90.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/1.004, allocations: 381 kB / 0.6032 GB, free: 89.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/1.018, allocations: 11.12 MB / 0.6141 GB, free: 78.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002621/1.021, allocations: 3.103 MB / 0.6171 GB, free: 75.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003795/1.025, allocations: 1.807 MB / 0.6189 GB, free: 73.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/1.025, allocations: 215.4 kB / 0.6191 GB, free: 73.38 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/1.025, allocations: 0 / 0.6191 GB, free: 73.38 MB / 446.1 MB Notification: Performance of Templates: time 0.05539/1.081, allocations: 36.75 MB / 0.6549 GB, free: 36.81 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/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