Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2359, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.00806/0.244, allocations: 7.416 MB / 417.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005535/0.2496, allocations: 3.246 MB / 420.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005807/0.2502, allocations: 31.94 kB / 420.6 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.2521, allocations: 1.027 MB / 421.7 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.2547, allocations: 1.339 MB / 423 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008657/0.2556, allocations: 459.1 kB / 423.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003003/0.2586, allocations: 2.668 MB / 426.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.2603, allocations: 1.516 MB / 427.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009499/0.2613, allocations: 0.8407 MB / 428.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.2627, allocations: 1.219 MB / 429.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.263, allocations: 172 kB / 429.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.2647, allocations: 1.006 MB / 430.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008555/0.2655, allocations: 1.095 MB / 432 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.2666, allocations: 1.285 MB / 433.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00387/0.2705, allocations: 4.322 MB / 437.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2705, allocations: 4 kB / 437.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.2705, allocations: 0 / 437.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.713e-05/0.2705, allocations: 3.938 kB / 437.6 MB, free: 5.84 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.005067/0.2756, allocations: 3.024 MB / 440.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2757, allocations: 8.031 kB / 440.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006856/0.2825, allocations: 1.791 MB / 442.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.2847, allocations: 1.371 MB / 443.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.2849, allocations: 135.3 kB / 443.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006057/0.2855, allocations: 251.7 kB / 444.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.2956, allocations: 6.683 MB / 450.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.242e-05/0.2957, allocations: 27.72 kB / 450.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/0.2959, allocations: 91.89 kB / 450.9 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002145/0.2981, allocations: 1.359 MB / 452.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.3094, allocations: 6.052 MB / 458.3 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02963/0.339, allocations: 25.52 MB / 483.9 MB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007322/0.3464, allocations: 2.675 MB / 486.5 MB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.3478, allocations: 1.032 MB / 487.6 MB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00556/0.3534, allocations: 3.975 MB / 491.6 MB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.3535, allocations: 59 kB / 491.6 MB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 2.886e-06/0.3535, allocations: 0 / 491.6 MB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02694/0.3804, allocations: 10.3 MB / 0.4901 GB, free: 3.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001297/0.3817, allocations: 1.675 MB / 0.4918 GB, free: 1.691 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003468/0.3852, allocations: 2.721 MB / 0.4944 GB, free: 14.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.3854, allocations: 45.69 kB / 0.4945 GB, free: 14.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.3867, allocations: 2.079 MB / 0.4965 GB, free: 12.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.3872, allocations: 0.5093 MB / 0.497 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.3883, allocations: 0.9165 MB / 0.4979 GB, free: 11.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.947e-05/0.3884, allocations: 305.1 kB / 0.4982 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/0.3909, allocations: 1.66 MB / 0.4998 GB, free: 9.371 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004336/0.3952, allocations: 4.456 MB / 0.5042 GB, free: 3.508 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007364/0.4026, allocations: 6.552 MB / 0.5106 GB, free: 11.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.566e-05/0.4027, allocations: 28 kB / 0.5106 GB, free: 11.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02027/0.423, allocations: 8.074 MB / 0.5185 GB, free: 3.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/0.4231, allocations: 48 kB / 0.5185 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01247/0.4356, allocations: 3.582 MB / 0.522 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01261/0.4482, allocations: 2.678 MB / 0.5246 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003166/0.4514, allocations: 1.014 MB / 0.5256 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/0.4666, allocations: 9.715 MB / 0.5351 GB, free: 2.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/0.4702, allocations: 327.5 kB / 0.5354 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006479/0.4708, allocations: 288 kB / 0.5357 GB, free: 1.496 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002024/0.4729, allocations: 1.43 MB / 0.5371 GB, free: 56 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1993/0.6721, allocations: 226.4 kB / 0.5373 GB, free: 123.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000959/0.6731, allocations: 328.8 kB / 0.5376 GB, free: 123.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006485/0.6796, allocations: 2.53 MB / 0.5401 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.6796, allocations: 4.125 kB / 0.5401 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.6797, allocations: 9 kB / 0.5401 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.6906, allocations: 6.877 MB / 0.5468 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.6906, allocations: 0 / 0.5468 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/0.6914, allocations: 178 kB / 0.547 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004547/0.696, allocations: 1.433 MB / 0.5484 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.6961, allocations: 31.03 kB / 0.5484 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008285/0.7044, allocations: 7.924 MB / 0.5562 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006659/0.7051, allocations: 1.531 MB / 0.5577 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007439/0.7125, allocations: 4.868 MB / 0.5624 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/0.7129, allocations: 294 kB / 0.5627 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/0.7132, allocations: 31.27 kB / 0.5627 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.7144, allocations: 112.4 kB / 0.5628 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/0.7146, allocations: 80.38 kB / 0.5629 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/0.7147, allocations: 43.5 kB / 0.563 GB, free: 109.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001802/0.7165, allocations: 1.685 MB / 0.5646 GB, free: 107.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7165, allocations: 0 / 0.5646 GB, free: 107.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00294/0.7194, allocations: 0.7747 MB / 0.5654 GB, free: 106.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003117/0.7198, allocations: 159.1 kB / 0.5655 GB, free: 106.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00575/0.7255, allocations: 4.468 MB / 0.5699 GB, free: 102.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7255, allocations: 3.25 kB / 0.5699 GB, free: 102.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002672/0.7282, allocations: 1.733 MB / 0.5716 GB, free: 100.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.7297, allocations: 262.5 kB / 0.5718 GB, free: 100.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007593/0.7373, allocations: 6.816 MB / 0.5785 GB, free: 93.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.7388, allocations: 2.301 MB / 0.5807 GB, free: 91.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/0.7393, allocations: 207.3 kB / 0.5809 GB, free: 90.85 MB / 462.1 MB Notification: Performance of SimCode: time 7.02e-07/0.7393, allocations: 0 / 0.5809 GB, free: 90.85 MB / 462.1 MB Notification: Performance of Templates: time 0.06169/0.801, allocations: 75.88 MB / 0.655 GB, free: 15 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches