Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002043/0.002043, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0038/0.0038, allocations: 204.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.912/2.912, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6929/0.6954, allocations: 50.55 MB / 409.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.02596/0.7214, allocations: 10.69 MB / 420.6 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.7378, allocations: 3.951 MB / 424.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004244/0.7421, allocations: 59.81 kB / 424.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0146/0.7568, allocations: 2.57 MB / 427.2 MB, free: 208 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01455/0.7714, allocations: 1.727 MB / 428.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004784/0.7763, allocations: 0.6863 MB / 429.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01238/0.7887, allocations: 3.716 MB / 433.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01947/0.8083, allocations: 3.558 MB / 436.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006678/0.815, allocations: 1.468 MB / 438.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006581/0.8217, allocations: 1.951 MB / 440.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005907/0.8277, allocations: 316 kB / 440.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006281/0.834, allocations: 1.139 MB / 441.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004902/0.839, allocations: 1.819 MB / 443.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01175/0.8508, allocations: 2.116 MB / 445.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.8685, allocations: 6.638 MB / 452.3 MB, free: 6.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-05/0.8687, allocations: 4 kB / 452.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.8687, allocations: 0 / 452.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004176/0.8691, allocations: 3.938 kB / 452.3 MB, free: 6.938 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.03135/0.9005, allocations: 4.542 MB / 456.9 MB, free: 2.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001007/0.9006, allocations: 8.031 kB / 456.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/0.9152, allocations: 1.929 MB / 458.8 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.9271, allocations: 2.001 MB / 460.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005366/0.9277, allocations: 246.2 kB / 461.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003272/0.931, allocations: 387.7 kB / 461.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03908/0.9701, allocations: 10.11 MB / 471.6 MB, free: 2.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004425/0.9706, allocations: 39.59 kB / 471.6 MB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002514/0.9732, allocations: 159.9 kB / 471.7 MB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006128/0.9794, allocations: 1.868 MB / 473.6 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03325/1.013, allocations: 8.358 MB / 482 MB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09028/1.103, allocations: 39.24 MB / 0.509 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01953/1.123, allocations: 4.027 MB / 0.5129 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003987/1.127, allocations: 1.431 MB / 0.5143 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02414/1.151, allocations: 7.717 MB / 0.5219 GB, free: 2.238 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/1.151, allocations: 63.44 kB / 0.5219 GB, free: 2.168 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 1.363e-05/1.151, allocations: 0 / 0.5219 GB, free: 2.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.06358/1.215, allocations: 12.5 MB / 0.5341 GB, free: 5.473 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002557/1.218, allocations: 1.676 MB / 0.5358 GB, free: 3.617 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6753/1.893, allocations: 3.807 MB / 0.5395 GB, free: 124.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006967/1.894, allocations: 54.16 kB / 0.5395 GB, free: 124 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00636/1.9, allocations: 3.1 MB / 0.5426 GB, free: 122.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00243/1.903, allocations: 0.652 MB / 0.5432 GB, free: 122 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008016/1.911, allocations: 1.252 MB / 0.5444 GB, free: 121.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/1.911, allocations: 301.1 kB / 0.5447 GB, free: 121.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008593/1.919, allocations: 2.053 MB / 0.5467 GB, free: 120.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01335/1.933, allocations: 5.987 MB / 0.5526 GB, free: 114.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01941/1.952, allocations: 8.654 MB / 0.561 GB, free: 107 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004086/1.953, allocations: 40.84 kB / 0.561 GB, free: 107 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.04606/1.999, allocations: 9.847 MB / 0.5707 GB, free: 101.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004739/2, allocations: 67.94 kB / 0.5707 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02097/2.021, allocations: 3.87 MB / 0.5745 GB, free: 97.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02142/2.042, allocations: 2.723 MB / 0.5772 GB, free: 94.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008887/2.051, allocations: 1.362 MB / 0.5785 GB, free: 93.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02797/2.079, allocations: 11.57 MB / 0.5898 GB, free: 81.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/2.091, allocations: 403.5 kB / 0.5902 GB, free: 81.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002354/2.093, allocations: 394.1 kB / 0.5906 GB, free: 80.82 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.008221/2.101, allocations: 2.018 MB / 0.5925 GB, free: 78.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001721/2.103, allocations: 332.7 kB / 0.5928 GB, free: 78.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/2.105, allocations: 428.4 kB / 0.5933 GB, free: 78.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01156/2.117, allocations: 2.736 MB / 0.5959 GB, free: 75.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.09e-05/2.117, allocations: 0 / 0.5959 GB, free: 75.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.572e-05/2.117, allocations: 11.97 kB / 0.5959 GB, free: 75.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03616/2.153, allocations: 8.599 MB / 0.6043 GB, free: 66.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.762e-05/2.153, allocations: 0 / 0.6043 GB, free: 66.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/2.155, allocations: 195.7 kB / 0.6045 GB, free: 66.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008922/2.164, allocations: 1.455 MB / 0.6059 GB, free: 64.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004743/2.165, allocations: 35.98 kB / 0.606 GB, free: 64.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/2.187, allocations: 9.817 MB / 0.6156 GB, free: 54.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001809/2.189, allocations: 1.547 MB / 0.6171 GB, free: 52.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01912/2.208, allocations: 5.372 MB / 0.6223 GB, free: 47.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002258/2.21, allocations: 372.9 kB / 0.6227 GB, free: 47.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/2.212, allocations: 31.98 kB / 0.6227 GB, free: 47.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004229/2.216, allocations: 131.8 kB / 0.6228 GB, free: 47.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009987/2.217, allocations: 108.8 kB / 0.6229 GB, free: 46.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004276/2.218, allocations: 44.09 kB / 0.623 GB, free: 46.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01087/2.229, allocations: 2.341 MB / 0.6253 GB, free: 44.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.033e-06/2.229, allocations: 0 / 0.6253 GB, free: 44.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0143/2.243, allocations: 1.073 MB / 0.6263 GB, free: 43.5 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.001056/2.244, allocations: 164.8 kB / 0.6265 GB, free: 43.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01764/2.262, allocations: 5.796 MB / 0.6321 GB, free: 37.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/2.262, allocations: 0 / 0.6321 GB, free: 37.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007854/2.27, allocations: 2.319 MB / 0.6344 GB, free: 35.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00608/2.276, allocations: 399.9 kB / 0.6348 GB, free: 34.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03653/2.313, allocations: 9.413 MB / 0.644 GB, free: 25.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009999/2.323, allocations: 3.127 MB / 0.647 GB, free: 22.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/2.325, allocations: 263.4 kB / 0.6473 GB, free: 21.84 MB / 462.1 MB Notification: Performance of SimCode: time 2.405e-06/2.325, allocations: 4 kB / 0.6473 GB, free: 21.84 MB / 462.1 MB Notification: Performance of Templates: time 0.8865/3.211, allocations: 145.1 MB / 0.789 GB, free: 126.5 MB / 0.5137 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches