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.0009215/0.0009213, allocations: 96.53 kB / 16.94 MB, free: 5.98 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.0008651/0.0008653, allocations: 179.6 kB / 17.82 MB, free: 5.652 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.471/1.471, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004896/0.0004897, allocations: 11.28 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 47.59 MB / 328.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03296/0.1413, allocations: 36.08 MB / 364.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02187/0.1633, allocations: 9.033 MB / 373.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006998/0.1703, allocations: 175.6 kB / 373.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006119/0.1764, allocations: 1.773 MB / 375.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2199/0.3964, allocations: 5.213 MB / 380.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.3993, allocations: 0.5615 MB / 381.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00497/0.4043, allocations: 2.117 MB / 383.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007506/0.4118, allocations: 4.157 MB / 387.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/0.4152, allocations: 0.9944 MB / 388.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.418, allocations: 1.267 MB / 389.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007507/0.4188, allocations: 137.6 kB / 389.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.4214, allocations: 0.8759 MB / 390.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.4233, allocations: 1.483 MB / 392.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.4249, allocations: 0.8049 MB / 393 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008411/0.4333, allocations: 5.117 MB / 398.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4333, allocations: 0 / 398.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4334, allocations: 0 / 398.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003533/0.4337, allocations: 2.844 kB / 398.1 MB, free: 8.98 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.01116/0.4449, allocations: 3.822 MB / 401.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.4449, allocations: 8.375 kB / 401.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008946/0.4539, allocations: 2.222 MB / 404.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005971/0.4599, allocations: 2.2 MB / 406.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.4602, allocations: 252.8 kB / 406.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.4613, allocations: 395.1 kB / 407 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/0.4794, allocations: 10.18 MB / 417.2 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.4795, allocations: 35.78 kB / 417.2 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004491/0.48, allocations: 157.8 kB / 417.4 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002664/0.4826, allocations: 1.857 MB / 419.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/0.4996, allocations: 8.442 MB / 427.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05025/0.5499, allocations: 39.49 MB / 467.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.5603, allocations: 4.017 MB / 471.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.5717, allocations: 7.69 MB / 478.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.5718, allocations: 57.67 kB / 478.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 5.941e-06/0.5718, allocations: 0 / 478.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.03141/0.6033, allocations: 12.71 MB / 491.6 MB, free: 13.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001221/0.6045, allocations: 1.59 MB / 493.2 MB, free: 11.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005624/0.6102, allocations: 3.94 MB / 497.2 MB, free: 7.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004487/0.6106, allocations: 45.7 kB / 497.2 MB, free: 7.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002253/0.6129, allocations: 3.112 MB / 0.4886 GB, free: 4.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009451/0.6138, allocations: 0.6615 MB / 0.4892 GB, free: 3.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.6141, allocations: 120 kB / 0.4893 GB, free: 3.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003648/0.6145, allocations: 0.5625 MB / 0.4899 GB, free: 3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/0.6176, allocations: 2.026 MB / 0.4919 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005483/0.6231, allocations: 5.936 MB / 0.4977 GB, free: 9.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00509/0.6282, allocations: 3.38 MB / 0.501 GB, free: 5.883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.621e-05/0.6283, allocations: 40 kB / 0.501 GB, free: 5.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0235/0.6518, allocations: 9.699 MB / 0.5105 GB, free: 12.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.541e-05/0.6519, allocations: 67.95 kB / 0.5105 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01178/0.6637, allocations: 3.754 MB / 0.5142 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01207/0.6758, allocations: 2.637 MB / 0.5168 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004788/0.6807, allocations: 1.362 MB / 0.5181 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.6914, allocations: 7.487 MB / 0.5254 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005507/0.6969, allocations: 395.3 kB / 0.5258 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/0.6982, allocations: 390.5 kB / 0.5262 GB, free: 12 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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.004184/0.7024, allocations: 2.017 MB / 0.5281 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007078/0.7031, allocations: 323.8 kB / 0.5285 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006865/0.71, allocations: 3.13 MB / 0.5315 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005759/0.7158, allocations: 2.672 MB / 0.5341 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.7158, allocations: 7.984 kB / 0.5341 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.7158, allocations: 3.984 kB / 0.5341 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1994/0.9152, allocations: 8.577 MB / 0.5425 GB, free: 157.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.9153, allocations: 4.094 kB / 0.5425 GB, free: 157.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008719/0.9161, allocations: 185.5 kB / 0.5427 GB, free: 157.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004656/0.9208, allocations: 1.436 MB / 0.5441 GB, free: 157.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/0.921, allocations: 35.78 kB / 0.5441 GB, free: 157.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005871/0.9269, allocations: 5.791 MB / 0.5498 GB, free: 153.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007762/0.9276, allocations: 1.461 MB / 0.5512 GB, free: 152.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008349/0.936, allocations: 5.366 MB / 0.5564 GB, free: 150.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.9371, allocations: 387.5 kB / 0.5568 GB, free: 150.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003418/0.9374, allocations: 31.58 kB / 0.5568 GB, free: 150.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.9388, allocations: 123.5 kB / 0.557 GB, free: 150.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.939, allocations: 96.5 kB / 0.5571 GB, free: 150.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.9391, allocations: 47.23 kB / 0.5571 GB, free: 150.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003459/0.9426, allocations: 2.425 MB / 0.5595 GB, free: 149.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9426, allocations: 0 / 0.5595 GB, free: 149.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004593/0.9472, allocations: 1.048 MB / 0.5605 GB, free: 149.2 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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004354/0.9476, allocations: 190.7 kB / 0.5607 GB, free: 149.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007739/0.9554, allocations: 5.423 MB / 0.566 GB, free: 147.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9554, allocations: 0 / 0.566 GB, free: 147.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00327/0.9587, allocations: 2.02 MB / 0.5679 GB, free: 146.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.9604, allocations: 370.6 kB / 0.5683 GB, free: 146.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.9749, allocations: 10.65 MB / 0.5787 GB, free: 137.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/0.9777, allocations: 3.199 MB / 0.5818 GB, free: 135.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004054/0.9818, allocations: 1.806 MB / 0.5836 GB, free: 133.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/0.9824, allocations: 219.4 kB / 0.5838 GB, free: 133.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/0.9824, allocations: 0 / 0.5838 GB, free: 133.6 MB / 446.1 MB Notification: Performance of Templates: time 0.05616/1.039, allocations: 36.75 MB / 0.6197 GB, free: 96.89 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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