Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 191.5 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 226.6 MB / 244.7 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007207/0.0007207, allocations: 96.59 kB / 296.8 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000249/0.0002491, allocations: 4 kB / 356.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1969, allocations: 51.3 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.02597/0.2229, allocations: 38.21 MB / 446.3 MB, free: 5.402 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01685/0.2398, allocations: 8.699 MB / 455 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005862/0.2457, allocations: 175.6 kB / 455.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00535/0.2511, allocations: 1.979 MB / 457.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01481/0.2659, allocations: 5.918 MB / 463 MB, free: 4.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.2689, allocations: 0.6124 MB / 463.6 MB, free: 3.977 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005546/0.2745, allocations: 4.333 MB / 468 MB, free: 15.63 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006733/0.2812, allocations: 4.651 MB / 472.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002465/0.2837, allocations: 1.195 MB / 473.8 MB, free: 9.688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.2866, allocations: 1.803 MB / 475.6 MB, free: 7.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008279/0.2875, allocations: 136 kB / 475.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.29, allocations: 1.014 MB / 476.8 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002138/0.2922, allocations: 1.601 MB / 478.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002863/0.2951, allocations: 1.823 MB / 480.2 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00561/0.3007, allocations: 5.106 MB / 485.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3007, allocations: 0 / 485.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3008, allocations: 0 / 485.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002454/0.301, allocations: 0 / 485.3 MB, free: 14.17 MB / 362.7 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.007973/0.309, allocations: 3.737 MB / 489 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.309, allocations: 8.031 kB / 489 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007074/0.3161, allocations: 1.98 MB / 491 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00452/0.3207, allocations: 1.973 MB / 493 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.321, allocations: 242.2 kB / 493.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.3224, allocations: 395.8 kB / 493.6 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/0.3427, allocations: 10.06 MB / 0.4919 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002069/0.343, allocations: 35.69 kB / 0.4919 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/0.3441, allocations: 155.9 kB / 0.4921 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002881/0.347, allocations: 1.86 MB / 0.4939 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/0.3649, allocations: 8.289 MB / 0.502 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.24/0.6049, allocations: 39.39 MB / 0.5404 GB, free: 60.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008817/0.6138, allocations: 3.979 MB / 0.5443 GB, free: 56.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/0.6156, allocations: 1.421 MB / 0.5457 GB, free: 55.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009457/0.6251, allocations: 7.632 MB / 0.5532 GB, free: 47.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.6252, allocations: 47.56 kB / 0.5532 GB, free: 47.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 5.551e-06/0.6252, allocations: 3.938 kB / 0.5532 GB, free: 47.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=159): time 0.02614/0.6513, allocations: 12.39 MB / 0.5653 GB, free: 34.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008824/0.6522, allocations: 1.589 MB / 0.5669 GB, free: 32.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004034/0.6563, allocations: 3.792 MB / 0.5706 GB, free: 28.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003049/0.6566, allocations: 49.8 kB / 0.5706 GB, free: 28.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.6579, allocations: 3.119 MB / 0.5737 GB, free: 25.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005508/0.6584, allocations: 0.6472 MB / 0.5743 GB, free: 25.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.6587, allocations: 124 kB / 0.5744 GB, free: 25.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.6589, allocations: 0.5704 MB / 0.575 GB, free: 24.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/0.6613, allocations: 2.007 MB / 0.5769 GB, free: 22.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/0.6649, allocations: 5.946 MB / 0.5827 GB, free: 14.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007072/0.6719, allocations: 8.607 MB / 0.5911 GB, free: 3.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/0.6721, allocations: 40 kB / 0.5912 GB, free: 3.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0213/0.6934, allocations: 9.738 MB / 0.6007 GB, free: 10.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/0.6935, allocations: 64 kB / 0.6008 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01086/0.7044, allocations: 3.815 MB / 0.6045 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/0.7157, allocations: 2.712 MB / 0.6071 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004377/0.7201, allocations: 1.368 MB / 0.6085 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00991/0.73, allocations: 7.217 MB / 0.6155 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/0.7347, allocations: 403.2 kB / 0.6159 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/0.7359, allocations: 391.9 kB / 0.6163 GB, free: 9.902 MB / 410.7 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 (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 prepare postOptimizeDAE: time 0.004758/0.7406, allocations: 2.017 MB / 0.6182 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008294/0.7415, allocations: 327.7 kB / 0.6186 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007505/0.749, allocations: 3.137 MB / 0.6216 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005735/0.7548, allocations: 2.675 MB / 0.6242 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/0.7548, allocations: 8 kB / 0.6242 GB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/0.7549, allocations: 7.969 kB / 0.6242 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.7718, allocations: 8.562 MB / 0.6326 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.7718, allocations: 0 / 0.6326 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009186/0.7727, allocations: 187.7 kB / 0.6328 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004438/0.7772, allocations: 1.428 MB / 0.6342 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/0.7774, allocations: 39.73 kB / 0.6342 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006049/0.7835, allocations: 5.703 MB / 0.6398 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009826/0.7845, allocations: 1.456 MB / 0.6412 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008974/0.7935, allocations: 5.309 MB / 0.6464 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008766/0.7944, allocations: 380.7 kB / 0.6468 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006099/0.795, allocations: 31.98 kB / 0.6468 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.7966, allocations: 123.8 kB / 0.6469 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/0.7969, allocations: 88.86 kB / 0.647 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.797, allocations: 47.92 kB / 0.647 GB, free: 9.758 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004359/0.8014, allocations: 2.326 MB / 0.6493 GB, free: 7.449 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.8014, allocations: 0 / 0.6493 GB, free: 7.449 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005022/0.8064, allocations: 1.026 MB / 0.6503 GB, free: 6.43 MB / 442.7 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.0005294/0.807, allocations: 180.1 kB / 0.6505 GB, free: 6.254 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009812/0.8168, allocations: 5.469 MB / 0.6558 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8169, allocations: 0 / 0.6558 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003943/0.8208, allocations: 2.027 MB / 0.6578 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/0.824, allocations: 377.7 kB / 0.6582 GB, free: 14.28 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/0.8422, allocations: 11.13 MB / 0.669 GB, free: 3.086 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1732/1.015, allocations: 3.096 MB / 0.6721 GB, free: 153.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.016, allocations: 265.9 kB / 0.6723 GB, free: 153.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.393e-06/1.016, allocations: 0 / 0.6723 GB, free: 153.9 MB / 458.7 MB Notification: Performance of Templates: time 0.123/1.139, allocations: 142.7 MB / 0.8116 GB, free: 27.29 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches