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.001414/0.001414, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001719/0.001719, allocations: 187 kB / 18.66 MB, free: 4.398 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.413/1.413, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001413/0.001413, allocations: 47.94 kB / 328.5 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.0922, allocations: 46.61 MB / 375.1 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.1951/0.2874, allocations: 10.75 MB / 385.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007566/0.295, allocations: 3.921 MB / 389.8 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.2966, allocations: 62.47 kB / 389.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004427/0.3011, allocations: 2.586 MB / 392.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.3061, allocations: 1.753 MB / 394.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.3077, allocations: 0.6859 MB / 394.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007372/0.3151, allocations: 3.692 MB / 398.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00471/0.3198, allocations: 3.575 MB / 402.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.3229, allocations: 1.479 MB / 403.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003367/0.3263, allocations: 1.957 MB / 405.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007899/0.3271, allocations: 314.5 kB / 405.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.3295, allocations: 1.155 MB / 407.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.331, allocations: 1.833 MB / 408.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.3329, allocations: 2.141 MB / 411 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00662/0.3395, allocations: 6.696 MB / 417.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3395, allocations: 4 kB / 417.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3396, allocations: 0 / 417.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001146/0.3397, allocations: 0 / 417.7 MB, free: 4.828 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.00758/0.3473, allocations: 4.578 MB / 422.3 MB, free: 188 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.3473, allocations: 8.031 kB / 422.3 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006601/0.3539, allocations: 1.875 MB / 424.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/0.3575, allocations: 2.075 MB / 426.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.3577, allocations: 246.2 kB / 426.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007325/0.3584, allocations: 399.6 kB / 426.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.3752, allocations: 10.07 MB / 437 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.3753, allocations: 43.62 kB / 437 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004177/0.3757, allocations: 159.8 kB / 437.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002824/0.3786, allocations: 1.861 MB / 439 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.3967, allocations: 8.32 MB / 447.4 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0491/0.4458, allocations: 39.24 MB / 486.6 MB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.4561, allocations: 3.992 MB / 490.6 MB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.458, allocations: 1.436 MB / 492 MB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.4691, allocations: 7.623 MB / 499.6 MB, free: 292 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.4692, allocations: 55.5 kB / 499.7 MB, free: 228 kB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 3.336e-06/0.4692, allocations: 0 / 499.7 MB, free: 228 kB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03071/0.4999, allocations: 12.39 MB / 0.5001 GB, free: 3.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001405/0.5013, allocations: 1.691 MB / 0.5017 GB, free: 1.758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005123/0.5065, allocations: 3.82 MB / 0.5055 GB, free: 13.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003149/0.5068, allocations: 49.73 kB / 0.5055 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001923/0.5087, allocations: 3.114 MB / 0.5086 GB, free: 10.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008774/0.5096, allocations: 0.6404 MB / 0.5092 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001758/0.5114, allocations: 1.269 MB / 0.5104 GB, free: 8.805 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5115, allocations: 301.1 kB / 0.5107 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/0.5144, allocations: 2.034 MB / 0.5127 GB, free: 6.469 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005214/0.5197, allocations: 5.965 MB / 0.5185 GB, free: 14.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009502/0.5292, allocations: 8.623 MB / 0.5269 GB, free: 3.949 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-05/0.5293, allocations: 40 kB / 0.527 GB, free: 3.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02271/0.552, allocations: 9.73 MB / 0.5365 GB, free: 10.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.433e-05/0.5522, allocations: 64 kB / 0.5365 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01174/0.5639, allocations: 3.749 MB / 0.5402 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01229/0.5762, allocations: 2.606 MB / 0.5428 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004319/0.5806, allocations: 1.365 MB / 0.5441 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2209/0.8015, allocations: 7.709 MB / 0.5516 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/0.8063, allocations: 398.3 kB / 0.552 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006342/0.807, allocations: 389.1 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.00326/0.8102, allocations: 2.018 MB / 0.5543 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005073/0.8107, allocations: 329.9 kB / 0.5547 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006643/0.8174, allocations: 3.124 MB / 0.5577 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005854/0.8233, allocations: 2.68 MB / 0.5603 GB, free: 138.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.8233, allocations: 7.219 kB / 0.5603 GB, free: 138.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.8233, allocations: 8.156 kB / 0.5603 GB, free: 138.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.8384, allocations: 8.557 MB / 0.5687 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.8385, allocations: 1.312 kB / 0.5687 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009013/0.8394, allocations: 191.6 kB / 0.5689 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004351/0.8438, allocations: 1.433 MB / 0.5703 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.8439, allocations: 34.53 kB / 0.5703 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005595/0.8496, allocations: 6.016 MB / 0.5762 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007889/0.8504, allocations: 1.536 MB / 0.5777 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007803/0.8582, allocations: 5.32 MB / 0.5829 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.8594, allocations: 369.3 kB / 0.5832 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/0.8597, allocations: 31 kB / 0.5833 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.861, allocations: 124.5 kB / 0.5834 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/0.8613, allocations: 93.69 kB / 0.5835 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.8614, allocations: 46.98 kB / 0.5835 GB, free: 127.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003362/0.8648, allocations: 2.353 MB / 0.5858 GB, free: 126.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8648, allocations: 0 / 0.5858 GB, free: 126.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004684/0.8695, allocations: 1.029 MB / 0.5868 GB, free: 126.6 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.0004006/0.8699, allocations: 169.7 kB / 0.587 GB, free: 126.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007809/0.8777, allocations: 5.501 MB / 0.5923 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8777, allocations: 0 / 0.5923 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003334/0.8811, allocations: 2.044 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.002143/0.8832, allocations: 390.1 kB / 0.5947 GB, free: 121 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.8943, allocations: 8.961 MB / 0.6035 GB, free: 112 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/0.8965, allocations: 3.115 MB / 0.6065 GB, free: 108.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003069/0.8996, allocations: 1.807 MB / 0.6083 GB, free: 107 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/0.9, allocations: 223.4 kB / 0.6085 GB, free: 106.8 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.9, allocations: 0 / 0.6085 GB, free: 106.8 MB / 478.1 MB Notification: Performance of Templates: time 0.054/0.954, allocations: 35.42 MB / 0.6431 GB, free: 71.52 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