Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 184.4 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 47.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2435, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008667/0.2522, allocations: 7.037 MB / 429.7 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005797/0.258, allocations: 3.131 MB / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008123/0.2588, allocations: 35.88 kB / 432.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.2604, allocations: 0.6769 MB / 433.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.2636, allocations: 1.436 MB / 435 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.2646, allocations: 491.1 kB / 435.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004214/0.2688, allocations: 3.12 MB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008179/0.2696, allocations: 0.4905 MB / 439 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.2709, allocations: 0.8134 MB / 439.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.2728, allocations: 1.339 MB / 441.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004397/0.2733, allocations: 132 kB / 441.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.2752, allocations: 1.002 MB / 442.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.2765, allocations: 1.11 MB / 443.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.2783, allocations: 1.227 MB / 444.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004792/0.2831, allocations: 4.077 MB / 448.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2831, allocations: 0 / 448.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2831, allocations: 0 / 448.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.643e-05/0.2832, allocations: 0 / 448.7 MB, free: 4.379 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.006056/0.2893, allocations: 3.238 MB / 452 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2893, allocations: 12.03 kB / 452 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004779/0.2898, allocations: 437.4 kB / 452.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007408/0.2972, allocations: 1.933 MB / 454.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/0.3014, allocations: 2.212 MB / 456.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-05/0.3015, allocations: 110.6 kB / 456.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008142/0.3023, allocations: 299.5 kB / 457 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0139/0.3162, allocations: 8.223 MB / 465.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.064e-05/0.3163, allocations: 39.69 kB / 465.2 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/0.3166, allocations: 79.89 kB / 465.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00215/0.3187, allocations: 1.393 MB / 466.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/0.336, allocations: 9.581 MB / 476.3 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03844/0.3744, allocations: 30.45 MB / 0.4949 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.3858, allocations: 3.892 MB / 0.4987 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003006/0.3888, allocations: 2.074 MB / 0.5007 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.389, allocations: 20.19 kB / 0.5007 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.389, allocations: 46.5 kB / 0.5007 GB, free: 2.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 4.237e-06/0.389, allocations: 3.938 kB / 0.5007 GB, free: 2.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04529/0.4343, allocations: 17.86 MB / 0.5182 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002618/0.4369, allocations: 3.014 MB / 0.5211 GB, free: 13.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004649/0.4416, allocations: 3.012 MB / 0.5241 GB, free: 10.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004082/0.442, allocations: 49.64 kB / 0.5241 GB, free: 10.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.4437, allocations: 2.163 MB / 0.5262 GB, free: 8.191 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009312/0.4447, allocations: 0.5932 MB / 0.5268 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/0.4466, allocations: 1.012 MB / 0.5278 GB, free: 6.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4468, allocations: 305.1 kB / 0.5281 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004019/0.4508, allocations: 2.57 MB / 0.5306 GB, free: 3.691 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2003/0.651, allocations: 5.523 MB / 0.536 GB, free: 104.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009798/0.6608, allocations: 8.514 MB / 0.5443 GB, free: 98.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.532e-05/0.6609, allocations: 32.7 kB / 0.5443 GB, free: 98.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01673/0.6777, allocations: 9.865 MB / 0.554 GB, free: 95.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.892e-05/0.6777, allocations: 49.41 kB / 0.554 GB, free: 95.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009848/0.6876, allocations: 5.094 MB / 0.559 GB, free: 91.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007313/0.6949, allocations: 2.343 MB / 0.5613 GB, free: 89.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003419/0.6983, allocations: 1.236 MB / 0.5625 GB, free: 88.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006066/0.7044, allocations: 8.284 MB / 0.5706 GB, free: 79.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004402/0.7088, allocations: 0.565 MB / 0.5711 GB, free: 79.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004428/0.7092, allocations: 312 kB / 0.5714 GB, free: 78.82 MB / 446.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.0017/0.7109, allocations: 1.418 MB / 0.5728 GB, free: 77.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/0.7113, allocations: 276.6 kB / 0.5731 GB, free: 77.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/0.712, allocations: 415.3 kB / 0.5735 GB, free: 76.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009213/0.7212, allocations: 5.009 MB / 0.5784 GB, free: 71.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/0.7213, allocations: 4 kB / 0.5784 GB, free: 71.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.7213, allocations: 3.984 kB / 0.5784 GB, free: 71.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006762/0.728, allocations: 5.294 MB / 0.5835 GB, free: 66.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.728, allocations: 0 / 0.5835 GB, free: 66.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.7295, allocations: 367.4 kB / 0.5839 GB, free: 66.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007055/0.7366, allocations: 2.386 MB / 0.5862 GB, free: 63.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/0.7368, allocations: 51.94 kB / 0.5863 GB, free: 63.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/0.7436, allocations: 9.035 MB / 0.5951 GB, free: 54.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001283/0.7449, allocations: 2.864 MB / 0.5979 GB, free: 51.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.7577, allocations: 8.762 MB / 0.6065 GB, free: 42.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006784/0.7584, allocations: 260.9 kB / 0.6067 GB, free: 42.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/0.7587, allocations: 39.92 kB / 0.6067 GB, free: 42.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/0.7605, allocations: 324 kB / 0.607 GB, free: 41.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/0.7609, allocations: 103.8 kB / 0.6071 GB, free: 41.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/0.761, allocations: 51.95 kB / 0.6072 GB, free: 41.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002111/0.7632, allocations: 1.875 MB / 0.609 GB, free: 39.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7632, allocations: 4 kB / 0.609 GB, free: 39.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003643/0.7668, allocations: 0.9553 MB / 0.61 GB, free: 38.86 MB / 446.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.01313/0.7799, allocations: 9.42 MB / 0.6192 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009503/0.7894, allocations: 6.756 MB / 0.6258 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7894, allocations: 0 / 0.6258 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00492/0.7944, allocations: 3.27 MB / 0.629 GB, free: 19.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.7963, allocations: 297.7 kB / 0.6292 GB, free: 18.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07387/0.8702, allocations: 45.26 MB / 0.6734 GB, free: 1.387 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/0.8728, allocations: 2.298 MB / 0.6757 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003876/0.8767, allocations: 1.66 MB / 0.6773 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/0.8785, allocations: 1.171 MB / 0.6784 GB, free: 12.22 MB / 494.1 MB Notification: Performance of SimCode: time 1.182e-06/0.8785, allocations: 0 / 0.6784 GB, free: 12.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3617/1.24, allocations: 67.31 MB / 0.7442 GB, free: 191 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.25/20.49, allocations: 4.406 kB / 0.7442 GB, free: 191 MB / 0.5294 GB " [Timeout remaining time 639] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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: 23.447545246919617]