Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3699, allocations: 50.53 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.00779/0.3778, allocations: 6.952 MB / 415.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006493/0.3843, allocations: 3.104 MB / 418.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.3854, allocations: 31.94 kB / 418.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.3875, allocations: 0.6692 MB / 419.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003945/0.3915, allocations: 1.358 MB / 420.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3926, allocations: 0.4951 MB / 421.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004171/0.3968, allocations: 3.206 MB / 424.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007077/0.3975, allocations: 455.1 kB / 425 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.3986, allocations: 0.7861 MB / 425.8 MB, free: 456 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.4, allocations: 1.207 MB / 427 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.4002, allocations: 132 kB / 427.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.4019, allocations: 0.9282 MB / 428.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009101/0.4029, allocations: 1.079 MB / 429.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.4039, allocations: 1.215 MB / 430.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004186/0.4081, allocations: 4.015 MB / 434.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.4081, allocations: 0 / 434.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.4081, allocations: 0 / 434.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.928e-05/0.4082, allocations: 0 / 434.4 MB, free: 7.844 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: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.006845/0.4151, allocations: 3.197 MB / 437.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.4151, allocations: 12.03 kB / 437.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006397/0.4158, allocations: 437.4 kB / 438 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.4262, allocations: 2.025 MB / 440 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/0.4325, allocations: 2.046 MB / 442.1 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.4327, allocations: 114.7 kB / 442.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/0.4342, allocations: 299.4 kB / 442.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02218/0.4564, allocations: 8.23 MB / 450.7 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.4566, allocations: 35.66 kB / 450.8 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005673/0.4572, allocations: 79.89 kB / 450.8 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002454/0.4596, allocations: 1.397 MB / 452.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/0.4794, allocations: 9.538 MB / 461.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04517/0.5246, allocations: 30.45 MB / 492.2 MB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/0.5377, allocations: 4.389 MB / 496.6 MB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/0.5411, allocations: 2.109 MB / 498.7 MB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.5413, allocations: 19.98 kB / 498.7 MB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.5414, allocations: 46.55 kB / 498.8 MB, free: 5.695 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 5.6e-06/0.5414, allocations: 0 / 498.8 MB, free: 5.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04962/0.591, allocations: 18.31 MB / 0.505 GB, free: 3.094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002779/0.5939, allocations: 3.224 MB / 0.5081 GB, free: 15.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006247/0.6002, allocations: 2.999 MB / 0.511 GB, free: 12.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008117/0.601, allocations: 45.61 kB / 0.5111 GB, free: 12.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001917/0.603, allocations: 2.076 MB / 0.5131 GB, free: 10.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001396/0.6044, allocations: 0.5671 MB / 0.5137 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003124/0.6075, allocations: 1.003 MB / 0.5147 GB, free: 8.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6077, allocations: 305.1 kB / 0.5149 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004754/0.6125, allocations: 2.574 MB / 0.5175 GB, free: 5.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006832/0.6194, allocations: 5.521 MB / 0.5228 GB, free: 14.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/0.6314, allocations: 8.515 MB / 0.5312 GB, free: 4.914 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/0.6316, allocations: 36 kB / 0.5312 GB, free: 4.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.2838/0.9154, allocations: 9.864 MB / 0.5408 GB, free: 120.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/0.9155, allocations: 50.12 kB / 0.5409 GB, free: 120.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01054/0.9261, allocations: 5.102 MB / 0.5459 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008261/0.9343, allocations: 2.352 MB / 0.5482 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003855/0.9382, allocations: 1.237 MB / 0.5494 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006835/0.9451, allocations: 8.684 MB / 0.5578 GB, free: 112.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/0.9496, allocations: 0.5594 MB / 0.5584 GB, free: 111.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004415/0.95, allocations: 311.9 kB / 0.5587 GB, free: 111.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (584): * Single equations (assignments): 569 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001601/0.9516, allocations: 1.426 MB / 0.5601 GB, free: 110 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/0.9521, allocations: 251.9 kB / 0.5603 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/0.9527, allocations: 415.2 kB / 0.5607 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01019/0.9629, allocations: 5.014 MB / 0.5656 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/0.9629, allocations: 9.016 kB / 0.5656 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.9629, allocations: 7.969 kB / 0.5656 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007514/0.9705, allocations: 5.345 MB / 0.5708 GB, free: 99.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.9705, allocations: 4 kB / 0.5709 GB, free: 99.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/0.9723, allocations: 368.2 kB / 0.5712 GB, free: 98.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007959/0.9802, allocations: 2.388 MB / 0.5735 GB, free: 96.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005232/0.9808, allocations: 47.95 kB / 0.5736 GB, free: 96.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007378/0.9882, allocations: 9.448 MB / 0.5828 GB, free: 86.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001484/0.9897, allocations: 3.069 MB / 0.5858 GB, free: 82.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.005, allocations: 8.767 MB / 0.5944 GB, free: 74.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.006, allocations: 329.3 kB / 0.5947 GB, free: 73.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006885/1.006, allocations: 35.98 kB / 0.5947 GB, free: 73.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.009, allocations: 323.2 kB / 0.595 GB, free: 73.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004519/1.009, allocations: 115.2 kB / 0.5951 GB, free: 73.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/1.01, allocations: 47.97 kB / 0.5952 GB, free: 73.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003226/1.013, allocations: 1.875 MB / 0.597 GB, free: 71.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.112e-06/1.013, allocations: 0 / 0.597 GB, free: 71.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00466/1.017, allocations: 0.9425 MB / 0.5979 GB, free: 70.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01541/1.033, allocations: 9.407 MB / 0.6071 GB, free: 61.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.044, allocations: 7.26 MB / 0.6142 GB, free: 53.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.044, allocations: 0 / 0.6142 GB, free: 53.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005903/1.05, allocations: 3.658 MB / 0.6178 GB, free: 50.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/1.053, allocations: 315.8 kB / 0.6181 GB, free: 49.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07661/1.13, allocations: 45.07 MB / 0.6621 GB, free: 344 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003778/1.134, allocations: 2.292 MB / 0.6643 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004743/1.139, allocations: 1.667 MB / 0.666 GB, free: 12.34 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002687/1.141, allocations: 1.167 MB / 0.6671 GB, free: 11.18 MB / 478.1 MB Notification: Performance of SimCode: time 1.143e-06/1.141, allocations: 0 / 0.6671 GB, free: 11.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1275/1.269, allocations: 63.87 MB / 0.7295 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.75/20.02, allocations: 7.281 kB / 0.7295 GB, free: 11.6 MB / 0.5294 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches