Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 113.7 kB / 18.45 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 208.7 kB / 19.4 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 227.7 MB / 247.8 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2332, allocations: 50.54 MB / 410.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01254/0.2458, allocations: 10.73 MB / 420.9 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007884/0.2536, allocations: 3.963 MB / 424.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.2548, allocations: 63.75 kB / 425 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004683/0.2595, allocations: 2.597 MB / 427.6 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004401/0.2639, allocations: 1.774 MB / 429.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.2654, allocations: 0.6785 MB / 430 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005429/0.2708, allocations: 3.714 MB / 433.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003544/0.2743, allocations: 2.969 MB / 436.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.2766, allocations: 1.468 MB / 438.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002824/0.2795, allocations: 1.951 MB / 440.1 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000652/0.2801, allocations: 319.9 kB / 440.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.2822, allocations: 1.143 MB / 441.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.284, allocations: 1.85 MB / 443.4 MB, free: 64 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002297/0.2863, allocations: 2.124 MB / 445.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007852/0.2942, allocations: 6.676 MB / 452.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2942, allocations: 0 / 452.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2942, allocations: 0 / 452.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001644/0.2944, allocations: 0 / 452.2 MB, free: 7.223 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.008629/0.303, allocations: 4.659 MB / 456.9 MB, free: 2.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.303, allocations: 8.031 kB / 456.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007247/0.3103, allocations: 1.96 MB / 458.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004347/0.3146, allocations: 1.998 MB / 460.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.3148, allocations: 246.2 kB / 461.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008889/0.3157, allocations: 391.7 kB / 461.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/0.3331, allocations: 10.11 MB / 471.6 MB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.59e-05/0.3332, allocations: 43.58 kB / 471.6 MB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003901/0.3336, allocations: 155.9 kB / 471.8 MB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002933/0.3365, allocations: 1.857 MB / 473.6 MB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/0.3533, allocations: 8.374 MB / 482 MB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04856/0.4019, allocations: 39.31 MB / 0.5091 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.413, allocations: 3.898 MB / 0.5129 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.4151, allocations: 1.341 MB / 0.5142 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.4269, allocations: 7.731 MB / 0.5218 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.427, allocations: 55.5 kB / 0.5218 GB, free: 2.441 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.487e-06/0.427, allocations: 0 / 0.5218 GB, free: 2.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03366/0.4606, allocations: 12.69 MB / 0.5342 GB, free: 5.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00154/0.4622, allocations: 1.676 MB / 0.5358 GB, free: 3.715 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1962/0.6584, allocations: 3.813 MB / 0.5396 GB, free: 123.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003019/0.6587, allocations: 50.77 kB / 0.5396 GB, free: 123.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002382/0.6611, allocations: 3.238 MB / 0.5428 GB, free: 122.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007817/0.6619, allocations: 0.6769 MB / 0.5434 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/0.6636, allocations: 1.266 MB / 0.5447 GB, free: 121.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.508e-05/0.6636, allocations: 307.2 kB / 0.545 GB, free: 120.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002629/0.6662, allocations: 2.052 MB / 0.547 GB, free: 120.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003448/0.6697, allocations: 5.986 MB / 0.5528 GB, free: 114.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00639/0.6761, allocations: 8.64 MB / 0.5613 GB, free: 106.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-05/0.6761, allocations: 39.38 kB / 0.5613 GB, free: 106.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01817/0.6943, allocations: 9.848 MB / 0.5709 GB, free: 101.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.6944, allocations: 67.94 kB / 0.571 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01056/0.7049, allocations: 3.853 MB / 0.5747 GB, free: 97.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/0.7161, allocations: 2.719 MB / 0.5774 GB, free: 94.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003803/0.7199, allocations: 1.368 MB / 0.5787 GB, free: 93.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/0.7338, allocations: 11.58 MB / 0.59 GB, free: 81.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/0.7382, allocations: 402.5 kB / 0.5904 GB, free: 81.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007169/0.7389, allocations: 391.5 kB / 0.5908 GB, free: 80.87 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.00245/0.7413, allocations: 2.016 MB / 0.5928 GB, free: 78.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000427/0.7417, allocations: 345.6 kB / 0.5931 GB, free: 78.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006811/0.7424, allocations: 432.4 kB / 0.5935 GB, free: 78.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005092/0.7475, allocations: 2.712 MB / 0.5962 GB, free: 75.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.7475, allocations: 4 kB / 0.5962 GB, free: 75.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.7475, allocations: 7.969 kB / 0.5962 GB, free: 75.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.7593, allocations: 8.582 MB / 0.6045 GB, free: 66.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.7593, allocations: 4 kB / 0.6045 GB, free: 66.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/0.7601, allocations: 187.7 kB / 0.6047 GB, free: 66.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004057/0.7642, allocations: 1.452 MB / 0.6061 GB, free: 65.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/0.7643, allocations: 35.97 kB / 0.6062 GB, free: 65.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009677/0.774, allocations: 9.833 MB / 0.6158 GB, free: 54.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006375/0.7746, allocations: 1.546 MB / 0.6173 GB, free: 53.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00739/0.782, allocations: 5.361 MB / 0.6225 GB, free: 47.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/0.7827, allocations: 390.7 kB / 0.6229 GB, free: 47.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004872/0.7832, allocations: 27.98 kB / 0.6229 GB, free: 47.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.7847, allocations: 127.8 kB / 0.6231 GB, free: 47.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/0.7849, allocations: 104.8 kB / 0.6232 GB, free: 47.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.96e-05/0.785, allocations: 51.97 kB / 0.6232 GB, free: 47.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002876/0.7879, allocations: 2.337 MB / 0.6255 GB, free: 44.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7879, allocations: 0 / 0.6255 GB, free: 44.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004397/0.7923, allocations: 1.075 MB / 0.6265 GB, free: 43.62 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.0003269/0.7926, allocations: 171 kB / 0.6267 GB, free: 43.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007489/0.8001, allocations: 5.562 MB / 0.6321 GB, free: 37.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8001, allocations: 0.5625 kB / 0.6321 GB, free: 37.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.8036, allocations: 2.245 MB / 0.6343 GB, free: 35.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.8057, allocations: 386.6 kB / 0.6347 GB, free: 35.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.8177, allocations: 9.104 MB / 0.6436 GB, free: 25.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00283/0.8205, allocations: 3.127 MB / 0.6466 GB, free: 22.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00326/0.8238, allocations: 1.807 MB / 0.6484 GB, free: 21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.8243, allocations: 211.4 kB / 0.6486 GB, free: 20.8 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.8243, allocations: 0 / 0.6486 GB, free: 20.8 MB / 462.1 MB Notification: Performance of Templates: time 0.08867/0.9129, allocations: 39.22 MB / 0.6869 GB, free: 13.82 MB / 494.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches