Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.006129/0.006129, allocations: 100.7 kB / 21.96 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 207.7 MB / 236.1 MB, free: 9.82 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 63.91 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2417, allocations: 49.15 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.006568/0.2483, allocations: 6.995 MB / 404.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004221/0.2525, allocations: 2.44 MB / 406.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009701/0.2535, allocations: 44.94 kB / 406.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.256, allocations: 1.385 MB / 408 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.2581, allocations: 1.023 MB / 409 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.2587, allocations: 270.6 kB / 409.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002259/0.261, allocations: 2.183 MB / 411.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.2623, allocations: 1.352 MB / 412.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.2633, allocations: 0.8565 MB / 413.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.2648, allocations: 1.302 MB / 415 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003137/0.2652, allocations: 160.2 kB / 415.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.2663, allocations: 0.5741 MB / 415.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.2673, allocations: 1.19 MB / 416.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.2683, allocations: 0.9867 MB / 417.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004287/0.2726, allocations: 4.337 MB / 422.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2726, allocations: 1.062 kB / 422.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2726, allocations: 0 / 422.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.073e-05/0.2727, allocations: 0 / 422.2 MB, free: 9.801 MB / 334.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.00487/0.2775, allocations: 2.961 MB / 425.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2776, allocations: 19.97 kB / 425.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.563e-05/0.2777, allocations: 72.12 kB / 425.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005753/0.2782, allocations: 0.526 MB / 425.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00628/0.2845, allocations: 1.797 MB / 427.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.2866, allocations: 1.117 MB / 428.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.2868, allocations: 147.8 kB / 428.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/0.2871, allocations: 207.8 kB / 429.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.3053, allocations: 8.625 MB / 437.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.5e-05/0.3054, allocations: 35.7 kB / 437.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000271/0.3057, allocations: 103.9 kB / 437.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002829/0.3085, allocations: 1.667 MB / 439.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.3255, allocations: 7.186 MB / 446.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0343/0.3598, allocations: 29.13 MB / 475.8 MB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02128/0.3811, allocations: 4.508 MB / 480.3 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.3827, allocations: 1.197 MB / 481.5 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004985/0.3877, allocations: 3.099 MB / 484.6 MB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.3877, allocations: 54.81 kB / 484.7 MB, free: 9.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=111): time 3.316e-06/0.3877, allocations: 0 / 484.7 MB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=111): time 0.04432/0.4321, allocations: 8.973 MB / 493.6 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.4322, allocations: 195.9 kB / 493.8 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/0.4365, allocations: 3.04 MB / 496.9 MB, free: 13.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.4367, allocations: 41.7 kB / 496.9 MB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001806/0.4385, allocations: 2.527 MB / 499.4 MB, free: 10.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005417/0.439, allocations: 0.5197 MB / 500 MB, free: 10.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.4404, allocations: 1.096 MB / 0.4893 GB, free: 9.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4406, allocations: 301.1 kB / 0.4896 GB, free: 9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.4428, allocations: 1.6 MB / 0.4912 GB, free: 7.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00492/0.4477, allocations: 5.173 MB / 0.4962 GB, free: 428 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008416/0.4561, allocations: 7.331 MB / 0.5034 GB, free: 7.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.357e-05/0.4562, allocations: 36 kB / 0.5034 GB, free: 7.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.009845/0.466, allocations: 6.447 MB / 0.5097 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.869e-05/0.4661, allocations: 60 kB / 0.5098 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/0.4662, allocations: 124 kB / 0.5099 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.4664, allocations: 171.9 kB / 0.51 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004582/0.471, allocations: 1.454 MB / 0.5115 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001959/0.4712, allocations: 247.4 kB / 0.5117 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/0.4743, allocations: 0.7759 MB / 0.5125 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/0.4747, allocations: 344 kB / 0.5128 GB, free: 13.65 MB / 446.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.002193/0.4769, allocations: 1.567 MB / 0.5143 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/0.4773, allocations: 262.2 kB / 0.5146 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.4785, allocations: 0.8443 MB / 0.5154 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.4786, allocations: 16.05 kB / 0.5154 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.4786, allocations: 11.98 kB / 0.5154 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.4786, allocations: 3.984 kB / 0.5154 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005417/0.484, allocations: 3.223 MB / 0.5186 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/0.484, allocations: 4 kB / 0.5186 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/0.4863, allocations: 411.5 kB / 0.519 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.4863, allocations: 4 kB / 0.519 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.002e-05/0.4864, allocations: 35.97 kB / 0.519 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.4864, allocations: 4 kB / 0.519 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4864, allocations: 0 / 0.519 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/0.4896, allocations: 2.803 MB / 0.5217 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.4901, allocations: 234 kB / 0.522 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.4903, allocations: 31.98 kB / 0.522 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008324/0.4911, allocations: 43.95 kB / 0.522 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.4913, allocations: 59.81 kB / 0.5221 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.741e-05/0.4913, allocations: 31.98 kB / 0.5221 GB, free: 3.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002532/0.4939, allocations: 1.845 MB / 0.5239 GB, free: 2.133 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4939, allocations: 0 / 0.5239 GB, free: 2.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003781/0.4977, allocations: 0.8382 MB / 0.5247 GB, free: 1.293 MB / 446.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.003773/0.5014, allocations: 3.442 MB / 0.5281 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005286/0.5067, allocations: 3.48 MB / 0.5315 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.5067, allocations: 0 / 0.5315 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008636/0.5076, allocations: 0.6765 MB / 0.5322 GB, free: 9.695 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.5092, allocations: 263 kB / 0.5324 GB, free: 9.438 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1937/0.7028, allocations: 34.28 MB / 0.5659 GB, free: 140.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.705, allocations: 1.828 MB / 0.5677 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003153/0.7081, allocations: 1.63 MB / 0.5693 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.7093, allocations: 1.219 MB / 0.5705 GB, free: 138.8 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7093, allocations: 0 / 0.5705 GB, free: 138.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06982/0.7791, allocations: 45.19 MB / 0.6146 GB, free: 101.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.57/18.35, allocations: 64 / 0.6146 GB, free: 101.8 MB / 478.1 MB " [Timeout remaining time 641] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 21.50295916898176]