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.001312/0.001312, allocations: 112.3 kB / 17.74 MB, free: 5.336 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.001173/0.001173, allocations: 187 kB / 18.67 MB, free: 4.41 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009992/0.0009993, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3163, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01246/0.3288, allocations: 10.74 MB / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009392/0.3383, allocations: 3.935 MB / 416.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.3408, allocations: 63.81 kB / 416.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005615/0.3466, allocations: 2.573 MB / 418.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006151/0.3528, allocations: 1.769 MB / 420.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.3548, allocations: 0.6824 MB / 421.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006472/0.3613, allocations: 3.681 MB / 424.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005476/0.3668, allocations: 3.559 MB / 428.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/0.3699, allocations: 1.476 MB / 429.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003286/0.3732, allocations: 1.951 MB / 431.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.3745, allocations: 312 kB / 432.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002987/0.3775, allocations: 1.174 MB / 433.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002664/0.3802, allocations: 1.839 MB / 435.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00416/0.3843, allocations: 2.14 MB / 437.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009173/0.3935, allocations: 6.692 MB / 444 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3936, allocations: 4 kB / 444 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3936, allocations: 0 / 444 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002994/0.3939, allocations: 0 / 444 MB, free: 14.09 MB / 366.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.01305/0.407, allocations: 4.569 MB / 448.6 MB, free: 9.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.407, allocations: 16.03 kB / 448.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007423/0.4145, allocations: 1.871 MB / 450.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006765/0.4213, allocations: 2.024 MB / 452.5 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003377/0.4217, allocations: 246.2 kB / 452.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002216/0.4239, allocations: 399.6 kB / 453.1 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02577/0.4497, allocations: 10.06 MB / 463.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/0.45, allocations: 39.62 kB / 463.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001371/0.4514, allocations: 155.9 kB / 463.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003565/0.455, allocations: 1.861 MB / 465.2 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.4744, allocations: 8.324 MB / 473.5 MB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05121/0.5256, allocations: 39.24 MB / 0.5008 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.536, allocations: 3.997 MB / 0.5047 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002235/0.5383, allocations: 1.439 MB / 0.5061 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.5501, allocations: 7.622 MB / 0.5135 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.5501, allocations: 51.56 kB / 0.5136 GB, free: 9.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.9e-06/0.5502, allocations: 0 / 0.5136 GB, free: 9.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03208/0.5822, allocations: 12.37 MB / 0.5257 GB, free: 12.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001378/0.5837, allocations: 1.687 MB / 0.5273 GB, free: 11.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005477/0.5891, allocations: 3.816 MB / 0.531 GB, free: 7.293 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003718/0.5895, allocations: 49.64 kB / 0.5311 GB, free: 7.238 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002224/0.5918, allocations: 3.103 MB / 0.5341 GB, free: 4.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008181/0.5926, allocations: 0.656 MB / 0.5347 GB, free: 3.426 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001607/0.5942, allocations: 1.257 MB / 0.536 GB, free: 2.156 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5944, allocations: 309.2 kB / 0.5363 GB, free: 1.852 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2419/0.8363, allocations: 2.027 MB / 0.5382 GB, free: 129.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00644/0.8428, allocations: 5.972 MB / 0.5441 GB, free: 124.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007956/0.8508, allocations: 8.612 MB / 0.5525 GB, free: 116.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001276/0.8509, allocations: 42.94 kB / 0.5525 GB, free: 116.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02018/0.8711, allocations: 9.726 MB / 0.562 GB, free: 113.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.653e-05/0.8713, allocations: 68.09 kB / 0.5621 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009899/0.8812, allocations: 3.746 MB / 0.5658 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.8916, allocations: 2.619 MB / 0.5683 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003723/0.8954, allocations: 1.365 MB / 0.5696 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008013/0.9034, allocations: 7.713 MB / 0.5772 GB, free: 98.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004404/0.9078, allocations: 394.9 kB / 0.5775 GB, free: 98.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006848/0.9086, allocations: 389.6 kB / 0.5779 GB, free: 98.16 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.002742/0.9113, allocations: 2.015 MB / 0.5799 GB, free: 96.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005755/0.9119, allocations: 329.3 kB / 0.5802 GB, free: 96.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005718/0.9176, allocations: 3.124 MB / 0.5833 GB, free: 92.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00469/0.9223, allocations: 2.679 MB / 0.5859 GB, free: 90.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.9224, allocations: 7.172 kB / 0.5859 GB, free: 90.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.9224, allocations: 8.531 kB / 0.5859 GB, free: 90.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.9356, allocations: 8.548 MB / 0.5942 GB, free: 81.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.9357, allocations: 3.938 kB / 0.5942 GB, free: 81.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/0.9365, allocations: 195.7 kB / 0.5944 GB, free: 81.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003844/0.9403, allocations: 1.425 MB / 0.5958 GB, free: 79.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/0.9405, allocations: 35.98 kB / 0.5958 GB, free: 79.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004742/0.9453, allocations: 6.017 MB / 0.6017 GB, free: 73.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006649/0.946, allocations: 1.542 MB / 0.6032 GB, free: 71.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007227/0.9532, allocations: 5.304 MB / 0.6084 GB, free: 66.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/0.9541, allocations: 372.7 kB / 0.6088 GB, free: 66.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/0.9544, allocations: 31.98 kB / 0.6088 GB, free: 66.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.9557, allocations: 119.8 kB / 0.6089 GB, free: 66.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.9559, allocations: 95.94 kB / 0.609 GB, free: 66.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.956, allocations: 55.97 kB / 0.6091 GB, free: 66.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002771/0.9588, allocations: 2.333 MB / 0.6113 GB, free: 63.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9588, allocations: 0 / 0.6113 GB, free: 63.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00464/0.9634, allocations: 1.034 MB / 0.6123 GB, free: 62.73 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.0003944/0.9638, allocations: 172 kB / 0.6125 GB, free: 62.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007598/0.9715, allocations: 5.506 MB / 0.6179 GB, free: 57.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9715, allocations: 0 / 0.6179 GB, free: 57.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003084/0.9746, allocations: 2.05 MB / 0.6199 GB, free: 54.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.9767, allocations: 395 kB / 0.6203 GB, free: 54.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.9888, allocations: 9.39 MB / 0.6294 GB, free: 45.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/0.9912, allocations: 3.106 MB / 0.6325 GB, free: 41.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/0.9919, allocations: 271.4 kB / 0.6327 GB, free: 41.68 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.9919, allocations: 0 / 0.6327 GB, free: 41.68 MB / 462.1 MB Notification: Performance of Templates: time 0.3704/1.362, allocations: 144.5 MB / 0.7739 GB, free: 144.5 MB / 0.5137 GB 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