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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001709/0.001709, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001771/0.001771, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.09743, allocations: 53.32 MB / 426.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1924/0.2898, allocations: 6.984 MB / 433.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00528/0.2951, allocations: 3.126 MB / 436.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000583/0.2957, allocations: 31 kB / 436.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.2972, allocations: 0.6864 MB / 437.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.3003, allocations: 1.379 MB / 438.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3013, allocations: 0.5057 MB / 439.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004546/0.3059, allocations: 3.2 MB / 442.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006322/0.3065, allocations: 375.7 kB / 442.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.3079, allocations: 0.794 MB / 443.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.3094, allocations: 1.336 MB / 445.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006928/0.3101, allocations: 129.7 kB / 445.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.3116, allocations: 0.9666 MB / 446.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.313, allocations: 1.097 MB / 447.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009751/0.314, allocations: 1.222 MB / 448.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004758/0.3188, allocations: 4.027 MB / 452.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3188, allocations: 0 / 452.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3188, allocations: 1.375 kB / 452.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.525e-05/0.3189, allocations: 0 / 452.5 MB, free: 0.6562 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.007984/0.3269, allocations: 3.274 MB / 455.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3269, allocations: 8.719 kB / 455.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006183/0.3275, allocations: 437.9 kB / 456.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008975/0.3365, allocations: 2.045 MB / 458.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006065/0.3426, allocations: 2.052 MB / 460.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.3427, allocations: 114.7 kB / 460.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.3439, allocations: 303.9 kB / 460.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01824/0.3621, allocations: 8.225 MB / 469 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.607e-05/0.3622, allocations: 39.7 kB / 469 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.3625, allocations: 75.89 kB / 469.1 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002561/0.365, allocations: 1.397 MB / 470.5 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0208/0.3858, allocations: 9.537 MB / 480 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04412/0.43, allocations: 30.5 MB / 0.4985 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/0.4426, allocations: 4.334 MB / 0.5028 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00326/0.4458, allocations: 2.078 MB / 0.5048 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.824e-05/0.4459, allocations: 19.92 kB / 0.5048 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.4459, allocations: 50.48 kB / 0.5049 GB, free: 5.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.346e-06/0.4459, allocations: 4 kB / 0.5049 GB, free: 5.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04935/0.4953, allocations: 18.44 MB / 0.5229 GB, free: 2.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003044/0.4983, allocations: 3.236 MB / 0.526 GB, free: 14.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005043/0.5034, allocations: 3.007 MB / 0.529 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005161/0.5039, allocations: 41.7 kB / 0.529 GB, free: 11.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002014/0.5059, allocations: 2.167 MB / 0.5311 GB, free: 9.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009556/0.5069, allocations: 0.5854 MB / 0.5317 GB, free: 8.973 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002057/0.5089, allocations: 1.008 MB / 0.5327 GB, free: 7.953 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.509, allocations: 305.2 kB / 0.533 GB, free: 7.652 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004662/0.5137, allocations: 2.574 MB / 0.5355 GB, free: 5.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007327/0.521, allocations: 5.521 MB / 0.5409 GB, free: 14.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/0.5338, allocations: 8.53 MB / 0.5492 GB, free: 4.082 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.5e-05/0.5339, allocations: 32 kB / 0.5492 GB, free: 4.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02352/0.5574, allocations: 9.861 MB / 0.5589 GB, free: 10.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.725e-05/0.5575, allocations: 48 kB / 0.5589 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01297/0.5705, allocations: 5.104 MB / 0.5639 GB, free: 4.969 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009209/0.5797, allocations: 2.34 MB / 0.5662 GB, free: 2.602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/0.5842, allocations: 1.24 MB / 0.5674 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.5946, allocations: 8.695 MB / 0.5759 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/0.5999, allocations: 0.5615 MB / 0.5764 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/0.6014, allocations: 311.9 kB / 0.5767 GB, free: 7.254 MB / 494.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.003396/0.6048, allocations: 1.418 MB / 0.5781 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006892/0.6055, allocations: 266.2 kB / 0.5784 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.6069, allocations: 411.2 kB / 0.5788 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01245/0.6193, allocations: 5.01 MB / 0.5837 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/0.6193, allocations: 4 kB / 0.5837 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.6194, allocations: 3.984 kB / 0.5837 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.6309, allocations: 5.361 MB / 0.5889 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.6309, allocations: 0 / 0.5889 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/0.6329, allocations: 367.4 kB / 0.5893 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008538/0.6414, allocations: 2.38 MB / 0.5916 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002797/0.6417, allocations: 51.89 kB / 0.5916 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.6532, allocations: 9.445 MB / 0.6009 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002686/0.6558, allocations: 3.077 MB / 0.6039 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/0.674, allocations: 8.757 MB / 0.6124 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.675, allocations: 339.1 kB / 0.6127 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004915/0.6755, allocations: 35.98 kB / 0.6128 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/0.6778, allocations: 323.4 kB / 0.6131 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004123/0.6782, allocations: 107.7 kB / 0.6132 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.6784, allocations: 51.95 kB / 0.6132 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.1866/0.865, allocations: 1.864 MB / 0.6151 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.865, allocations: 3.438 kB / 0.6151 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005106/0.8701, allocations: 0.9403 MB / 0.616 GB, free: 163.8 MB / 0.5137 GB 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.01799/0.8881, allocations: 9.408 MB / 0.6252 GB, free: 162 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01299/0.9011, allocations: 7.057 MB / 0.6321 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.9011, allocations: 4.75 kB / 0.6321 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006455/0.9076, allocations: 3.566 MB / 0.6355 GB, free: 158 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.9101, allocations: 319.2 kB / 0.6358 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06478/0.9748, allocations: 45.17 MB / 0.68 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/0.9764, allocations: 2.29 MB / 0.6822 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003477/0.9799, allocations: 1.67 MB / 0.6838 GB, free: 116.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/0.9812, allocations: 1.155 MB / 0.685 GB, free: 115.4 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.9812, allocations: 0 / 0.685 GB, free: 115.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.958/7.939, allocations: 62.93 MB / 0.7464 GB, free: 52.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.28/29.22, allocations: 7.594 kB / 0.7464 GB, free: 52.71 MB / 0.5137 GB " [Timeout remaining time 631] (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 --stepSize=0.0009996 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 38.453936259262264]