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.001555/0.001554, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.001713/0.001713, allocations: 192.2 kB / 18.66 MB, free: 4.418 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.498/1.498, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001118/0.001118, allocations: 47.94 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.0872, allocations: 46.62 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2107/0.2979, allocations: 10.74 MB / 385.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007932/0.3059, allocations: 3.922 MB / 389.8 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.3074, allocations: 62.06 kB / 389.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004614/0.312, allocations: 2.589 MB / 392.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.3169, allocations: 1.751 MB / 394.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.3187, allocations: 0.6875 MB / 394.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006564/0.3253, allocations: 3.693 MB / 398.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004613/0.3299, allocations: 3.569 MB / 402.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.3334, allocations: 1.479 MB / 403.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/0.3367, allocations: 1.96 MB / 405.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007697/0.3375, allocations: 314.2 kB / 405.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.3403, allocations: 1.151 MB / 407.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001933/0.3422, allocations: 1.844 MB / 408.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002441/0.3447, allocations: 2.147 MB / 411.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007529/0.3522, allocations: 6.689 MB / 417.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3523, allocations: 0 / 417.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3523, allocations: 0 / 417.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001569/0.3524, allocations: 0 / 417.7 MB, free: 4.844 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.008393/0.3608, allocations: 4.574 MB / 422.3 MB, free: 208 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3609, allocations: 8.031 kB / 422.3 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006751/0.3676, allocations: 1.875 MB / 424.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/0.3713, allocations: 2.075 MB / 426.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.3715, allocations: 250.2 kB / 426.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000775/0.3722, allocations: 399.6 kB / 426.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/0.3903, allocations: 10.06 MB / 437 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.3904, allocations: 39.62 kB / 437 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004305/0.3908, allocations: 159.8 kB / 437.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002873/0.3937, allocations: 1.864 MB / 439 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/0.4116, allocations: 8.321 MB / 447.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04478/0.4564, allocations: 39.25 MB / 486.6 MB, free: 14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.4668, allocations: 3.994 MB / 490.6 MB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.4688, allocations: 1.431 MB / 492 MB, free: 8.414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00989/0.4787, allocations: 7.63 MB / 499.6 MB, free: 308 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.4787, allocations: 47.56 kB / 499.7 MB, free: 252 kB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 4.238e-06/0.4787, allocations: 0 / 499.7 MB, free: 252 kB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03174/0.5105, allocations: 12.4 MB / 0.5001 GB, free: 3.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001376/0.5119, allocations: 1.683 MB / 0.5017 GB, free: 1.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005093/0.517, allocations: 3.824 MB / 0.5055 GB, free: 13.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002363/0.5173, allocations: 49.7 kB / 0.5055 GB, free: 13.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002152/0.5194, allocations: 3.111 MB / 0.5086 GB, free: 10.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007657/0.5202, allocations: 0.6443 MB / 0.5092 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.5218, allocations: 1.265 MB / 0.5104 GB, free: 8.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5219, allocations: 301.1 kB / 0.5107 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/0.5249, allocations: 2.034 MB / 0.5127 GB, free: 6.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006129/0.531, allocations: 5.962 MB / 0.5185 GB, free: 14.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/0.5411, allocations: 8.631 MB / 0.5269 GB, free: 3.973 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.738e-05/0.5412, allocations: 40 kB / 0.527 GB, free: 3.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02214/0.5634, allocations: 9.738 MB / 0.5365 GB, free: 10.17 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/0.5635, allocations: 64 kB / 0.5366 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01172/0.5752, allocations: 3.738 MB / 0.5402 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01202/0.5873, allocations: 2.61 MB / 0.5428 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/0.5915, allocations: 1.376 MB / 0.5441 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2192/0.8107, allocations: 7.7 MB / 0.5516 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005987/0.8167, allocations: 397.5 kB / 0.552 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000893/0.8177, allocations: 388.9 kB / 0.5524 GB, free: 140.4 MB / 478.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.003537/0.8212, allocations: 2.013 MB / 0.5543 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006247/0.8218, allocations: 328.4 kB / 0.5546 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007205/0.829, allocations: 3.13 MB / 0.5577 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006159/0.8352, allocations: 2.691 MB / 0.5603 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/0.8353, allocations: 3.453 kB / 0.5603 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.65e-05/0.8353, allocations: 8.047 kB / 0.5603 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/0.8523, allocations: 8.552 MB / 0.5687 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.8524, allocations: 0 / 0.5687 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009474/0.8533, allocations: 188.2 kB / 0.5689 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004467/0.8578, allocations: 1.435 MB / 0.5703 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/0.858, allocations: 35.44 kB / 0.5703 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005675/0.8637, allocations: 6.006 MB / 0.5762 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000721/0.8644, allocations: 1.549 MB / 0.5777 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008055/0.8725, allocations: 5.32 MB / 0.5829 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009493/0.8735, allocations: 370 kB / 0.5832 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/0.8738, allocations: 23.78 kB / 0.5833 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.8751, allocations: 117 kB / 0.5834 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/0.8754, allocations: 96.14 kB / 0.5835 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.8756, allocations: 45.22 kB / 0.5835 GB, free: 127.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003692/0.8793, allocations: 2.349 MB / 0.5858 GB, free: 126.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8793, allocations: 0 / 0.5858 GB, free: 126.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005104/0.8844, allocations: 1.037 MB / 0.5868 GB, free: 126.7 MB / 478.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.8848, allocations: 167.7 kB / 0.587 GB, free: 126.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007935/0.8927, allocations: 5.508 MB / 0.5923 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/0.8928, allocations: 0 / 0.5923 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003461/0.8963, allocations: 2.042 MB / 0.5943 GB, free: 121.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.8987, allocations: 397.6 kB / 0.5947 GB, free: 121.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.9115, allocations: 8.963 MB / 0.6035 GB, free: 112.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/0.914, allocations: 3.107 MB / 0.6065 GB, free: 108.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003329/0.9173, allocations: 1.807 MB / 0.6083 GB, free: 107.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/0.9178, allocations: 215.4 kB / 0.6085 GB, free: 106.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.9178, allocations: 0 / 0.6085 GB, free: 106.9 MB / 478.1 MB Notification: Performance of Templates: time 0.05644/0.9742, allocations: 35.48 MB / 0.6431 GB, free: 71.49 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches