Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.001663/0.001663, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.001959/0.001959, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.486/1.486, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.PointGravityWithPointMasses,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002846/0.002846, allocations: 67.88 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1413, allocations: 53.33 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.2652/0.4065, allocations: 7.967 MB / 434.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004444/0.4109, allocations: 2.581 MB / 437.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004585/0.4114, allocations: 35 kB / 437.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.414, allocations: 1.452 MB / 438.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.4159, allocations: 1.018 MB / 439.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006725/0.4166, allocations: 264.8 kB / 440 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.4193, allocations: 2.161 MB / 442.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.4212, allocations: 1.329 MB / 443.5 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.4223, allocations: 0.8343 MB / 444.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.4243, allocations: 1.301 MB / 445.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000407/0.4248, allocations: 159.4 kB / 445.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.4263, allocations: 0.6936 MB / 446.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.4276, allocations: 1.172 MB / 447.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.4289, allocations: 1.363 MB / 449 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005196/0.4341, allocations: 4.285 MB / 453.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4341, allocations: 0 / 453.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4341, allocations: 1.375 kB / 453.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.38e-05/0.4341, allocations: 0 / 453.3 MB, free: 15.52 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.005537/0.4397, allocations: 3.01 MB / 456.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.4397, allocations: 9.156 kB / 456.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006943/0.4404, allocations: 0.5243 MB / 456.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006501/0.4469, allocations: 1.8 MB / 458.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/0.4497, allocations: 1.169 MB / 459.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.4498, allocations: 154.7 kB / 459.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004211/0.4502, allocations: 205.6 kB / 460.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0196/0.4698, allocations: 8.613 MB / 468.8 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.47, allocations: 40.89 kB / 468.8 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/0.4703, allocations: 101.7 kB / 468.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003183/0.4735, allocations: 1.665 MB / 470.6 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01928/0.4928, allocations: 7.193 MB / 477.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04028/0.533, allocations: 30.13 MB / 0.496 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02245/0.5555, allocations: 4.993 MB / 0.5009 GB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002276/0.5578, allocations: 1.193 MB / 0.502 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008602/0.5664, allocations: 3.838 MB / 0.5058 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.031e-05/0.5664, allocations: 55.69 kB / 0.5058 GB, free: 3.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=111): time 5.79e-06/0.5664, allocations: 0 / 0.5058 GB, free: 3.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=111): time 0.04564/0.6121, allocations: 9.293 MB / 0.5149 GB, free: 10.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.6122, allocations: 203.8 kB / 0.5151 GB, free: 10.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005199/0.6174, allocations: 3.035 MB / 0.5181 GB, free: 7.137 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002459/0.6177, allocations: 41.7 kB / 0.5181 GB, free: 7.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002205/0.6199, allocations: 2.531 MB / 0.5206 GB, free: 4.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006517/0.6205, allocations: 0.5119 MB / 0.5211 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/0.622, allocations: 1.092 MB / 0.5221 GB, free: 2.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.6222, allocations: 301.1 kB / 0.5224 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.6246, allocations: 1.615 MB / 0.524 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005536/0.6301, allocations: 5.169 MB / 0.529 GB, free: 10.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009648/0.6398, allocations: 7.333 MB / 0.5362 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.979e-05/0.6399, allocations: 36 kB / 0.5362 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01208/0.6519, allocations: 6.463 MB / 0.5426 GB, free: 10.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.174e-05/0.652, allocations: 60 kB / 0.5426 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001524/0.6522, allocations: 128 kB / 0.5427 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.6524, allocations: 164 kB / 0.5429 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004949/0.6573, allocations: 1.459 MB / 0.5443 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002342/0.6576, allocations: 255 kB / 0.5446 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004062/0.6616, allocations: 0.7678 MB / 0.5453 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005867/0.6622, allocations: 344.1 kB / 0.5456 GB, free: 7.242 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],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 (681): * Single equations (assignments): 678 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003124/0.6653, allocations: 1.579 MB / 0.5472 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005633/0.6659, allocations: 265.6 kB / 0.5474 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/0.6665, allocations: 312.7 kB / 0.5477 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/0.6665, allocations: 12 kB / 0.5477 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.6665, allocations: 3.938 kB / 0.5477 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.6665, allocations: 7.984 kB / 0.5477 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007188/0.6737, allocations: 3.396 MB / 0.5511 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.6737, allocations: 3.938 kB / 0.5511 GB, free: 1.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/0.6761, allocations: 415.4 kB / 0.5515 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.6761, allocations: 4.375 kB / 0.5515 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-05/0.6762, allocations: 35.97 kB / 0.5515 GB, free: 1.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.6762, allocations: 8 kB / 0.5515 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6762, allocations: 4 kB / 0.5515 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/0.6798, allocations: 2.816 MB / 0.5543 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/0.6805, allocations: 323 kB / 0.5546 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.6808, allocations: 35.97 kB / 0.5546 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008387/0.6816, allocations: 39.95 kB / 0.5546 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.6817, allocations: 51.92 kB / 0.5547 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/0.6818, allocations: 35.98 kB / 0.5547 GB, free: 13.81 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003161/0.685, allocations: 1.836 MB / 0.5565 GB, free: 11.97 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.685, allocations: 0 / 0.5565 GB, free: 11.97 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004454/0.6894, allocations: 0.8226 MB / 0.5573 GB, free: 11.14 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[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 (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004385/0.6938, allocations: 3.458 MB / 0.5607 GB, free: 7.652 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006501/0.7003, allocations: 3.478 MB / 0.5641 GB, free: 4.207 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.7003, allocations: 4.062 kB / 0.5641 GB, free: 4.203 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.7014, allocations: 0.688 MB / 0.5648 GB, free: 3.516 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.7033, allocations: 263.7 kB / 0.565 GB, free: 3.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05218/0.7555, allocations: 34.3 MB / 0.5985 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002783/0.7583, allocations: 2.387 MB / 0.6009 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00382/0.7621, allocations: 1.637 MB / 0.6025 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.7637, allocations: 1.218 MB / 0.6036 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of SimCode: time 1.192e-06/0.7637, allocations: 0 / 0.6036 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.836/2.6, allocations: 43.58 MB / 0.6462 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.31/21.91, allocations: 17.89 kB / 0.6462 GB, free: 180.3 MB / 0.5294 GB " [Timeout remaining time 638] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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: 28.223287492990494]