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.001047/0.001047, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 56 kB / 306.9 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.0972, allocations: 50.53 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008565/0.1058, allocations: 7.407 MB / 364.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00647/0.1123, allocations: 3.269 MB / 368.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009837/0.1134, allocations: 35.88 kB / 368.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.1155, allocations: 1.028 MB / 369.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.1185, allocations: 1.335 MB / 370.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009496/0.1194, allocations: 455.1 kB / 371 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1634/0.2829, allocations: 2.657 MB / 373.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.2848, allocations: 1.525 MB / 375.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.2859, allocations: 0.8377 MB / 376 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.2872, allocations: 1.215 MB / 377.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003317/0.2876, allocations: 170 kB / 377.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.2892, allocations: 1.014 MB / 378.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.2903, allocations: 1.092 MB / 379.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009669/0.2913, allocations: 1.294 MB / 380.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003954/0.2952, allocations: 4.145 MB / 384.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2952, allocations: 0 / 384.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2952, allocations: 0 / 384.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.241e-05/0.2953, allocations: 1.438 kB / 384.9 MB, free: 7.156 MB / 302.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.005539/0.3009, allocations: 3.028 MB / 388 MB, free: 5.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3009, allocations: 10.12 kB / 388 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006661/0.3076, allocations: 1.786 MB / 389.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.3099, allocations: 1.361 MB / 391.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/0.31, allocations: 132.6 kB / 391.2 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006093/0.3107, allocations: 261 kB / 391.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008647/0.3193, allocations: 6.665 MB / 398.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-05/0.3194, allocations: 28.5 kB / 398.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/0.3197, allocations: 93.72 kB / 398.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002055/0.3217, allocations: 1.365 MB / 399.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.3335, allocations: 6.045 MB / 405.7 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03179/0.3653, allocations: 25.63 MB / 431.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007365/0.3727, allocations: 2.675 MB / 434 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.3742, allocations: 1.045 MB / 435 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006001/0.3802, allocations: 3.971 MB / 439 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3803, allocations: 47.06 kB / 439.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=112): time 3.496e-06/0.3803, allocations: 0 / 439.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.02737/0.4077, allocations: 10.32 MB / 449.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001224/0.4089, allocations: 1.682 MB / 451.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/0.4132, allocations: 2.721 MB / 453.8 MB, free: 7.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002903/0.4135, allocations: 41.7 kB / 453.8 MB, free: 7.516 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.4151, allocations: 2.074 MB / 455.9 MB, free: 5.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006391/0.4158, allocations: 0.504 MB / 456.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/0.4173, allocations: 0.9231 MB / 457.3 MB, free: 4.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4174, allocations: 309.1 kB / 457.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/0.42, allocations: 1.656 MB / 459.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004306/0.4243, allocations: 4.459 MB / 463.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007225/0.4316, allocations: 6.549 MB / 470.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.836e-05/0.4316, allocations: 28 kB / 470.3 MB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01943/0.4511, allocations: 8.072 MB / 478.4 MB, free: 12.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/0.4512, allocations: 48 kB / 478.4 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01191/0.4631, allocations: 3.577 MB / 482 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01254/0.4756, allocations: 2.687 MB / 484.7 MB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003469/0.4791, allocations: 1.006 MB / 485.7 MB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/0.4938, allocations: 9.729 MB / 495.4 MB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004017/0.4979, allocations: 333.6 kB / 495.8 MB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009324/0.4988, allocations: 280 kB / 496 MB, free: 10.21 MB / 414.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.002978/0.5018, allocations: 1.428 MB / 497.5 MB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005293/0.5024, allocations: 229 kB / 497.7 MB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007771/0.5031, allocations: 333.9 kB / 498 MB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006177/0.5093, allocations: 2.517 MB / 0.4888 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.5094, allocations: 4 kB / 0.4888 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.5094, allocations: 11.97 kB / 0.4888 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.5231, allocations: 6.887 MB / 0.4955 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.5231, allocations: 4 kB / 0.4955 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/0.5239, allocations: 179.7 kB / 0.4957 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004952/0.5289, allocations: 1.432 MB / 0.4971 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/0.529, allocations: 31.98 kB / 0.4971 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/0.5395, allocations: 7.924 MB / 0.5049 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001035/0.5405, allocations: 1.545 MB / 0.5064 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009432/0.55, allocations: 4.863 MB / 0.5111 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007537/0.5508, allocations: 294 kB / 0.5114 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005769/0.5514, allocations: 27.92 kB / 0.5114 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.5528, allocations: 115.8 kB / 0.5115 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/0.5532, allocations: 80.38 kB / 0.5116 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.5533, allocations: 38.36 kB / 0.5117 GB, free: 13.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003241/0.5565, allocations: 1.693 MB / 0.5133 GB, free: 11.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5565, allocations: 0 / 0.5133 GB, free: 11.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004145/0.5607, allocations: 0.7736 MB / 0.5141 GB, free: 11.21 MB / 446.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.0004647/0.5612, allocations: 162.7 kB / 0.5142 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008695/0.5699, allocations: 4.768 MB / 0.5189 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.5699, allocations: 0 / 0.5189 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003453/0.5734, allocations: 1.732 MB / 0.5206 GB, free: 4.473 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.5756, allocations: 274.6 kB / 0.5208 GB, free: 4.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2012/0.7768, allocations: 6.589 MB / 0.5273 GB, free: 144.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003837/0.7807, allocations: 2.295 MB / 0.5295 GB, free: 144.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00361/0.7843, allocations: 1.406 MB / 0.5309 GB, free: 144 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.7847, allocations: 168.1 kB / 0.531 GB, free: 144 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7848, allocations: 3.906 kB / 0.531 GB, free: 144 MB / 446.1 MB Notification: Performance of Templates: time 0.05238/0.8371, allocations: 30.58 MB / 0.5609 GB, free: 127.9 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/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