Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 60.2 kB / 307 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08706/0.08823, allocations: 50.54 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008357/0.09662, allocations: 7.582 MB / 365.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005998/0.1027, allocations: 3.368 MB / 368.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009442/0.1036, allocations: 39.88 kB / 368.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.106, allocations: 1.016 MB / 369.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.1091, allocations: 1.323 MB / 370.9 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.1106, allocations: 0.5457 MB / 371.5 MB, free: 48 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1683/0.2789, allocations: 2.601 MB / 374.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.281, allocations: 1.382 MB / 375.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.2824, allocations: 0.8249 MB / 376.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.284, allocations: 1.147 MB / 377.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.2843, allocations: 150.7 kB / 377.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.2857, allocations: 0.8909 MB / 378.5 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000786/0.2865, allocations: 1.041 MB / 379.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008282/0.2874, allocations: 1.234 MB / 380.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003244/0.2906, allocations: 3.923 MB / 384.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2906, allocations: 0 / 384.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2907, allocations: 0 / 384.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.699e-05/0.2907, allocations: 1.438 kB / 384.7 MB, free: 7.332 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.004247/0.295, allocations: 2.987 MB / 387.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.295, allocations: 9.344 kB / 387.7 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004085/0.2954, allocations: 460.7 kB / 388.1 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.3002, allocations: 1.584 MB / 389.7 MB, free: 4.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.3024, allocations: 1.591 MB / 391.3 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/0.3025, allocations: 123.1 kB / 391.4 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.3027, allocations: 162.3 kB / 391.6 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006623/0.3094, allocations: 6.532 MB / 398.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.255e-05/0.3094, allocations: 37.33 kB / 398.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.3097, allocations: 86.12 kB / 398.2 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002229/0.3119, allocations: 1.464 MB / 399.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008859/0.3208, allocations: 5.831 MB / 405.5 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02583/0.3466, allocations: 25.76 MB / 431.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005447/0.3521, allocations: 2.56 MB / 433.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.3536, allocations: 1.216 MB / 435 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007092/0.3607, allocations: 4.799 MB / 439.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3607, allocations: 50.55 kB / 439.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.486e-06/0.3607, allocations: 0 / 439.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=105): time 0.02557/0.3863, allocations: 9.786 MB / 449.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/0.3864, allocations: 144.9 kB / 449.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004336/0.3908, allocations: 2.71 MB / 452.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.3909, allocations: 37.7 kB / 452.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.3923, allocations: 2.042 MB / 454.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004527/0.3928, allocations: 433.7 kB / 455 MB, free: 6.539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.394, allocations: 0.8291 MB / 455.9 MB, free: 5.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.3941, allocations: 301.1 kB / 456.1 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.3963, allocations: 1.445 MB / 457.6 MB, free: 3.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003789/0.4001, allocations: 4.065 MB / 461.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006431/0.4066, allocations: 5.946 MB / 467.6 MB, free: 7.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.414e-05/0.4067, allocations: 28 kB / 467.6 MB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.0118/0.4185, allocations: 6.001 MB / 473.6 MB, free: 1.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.593e-05/0.4186, allocations: 47.98 kB / 473.7 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.4188, allocations: 99.94 kB / 473.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/0.4211, allocations: 0.8164 MB / 474.6 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.424, allocations: 0.9435 MB / 475.5 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005714/0.4297, allocations: 4.659 MB / 480.2 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/0.4327, allocations: 235.6 kB / 480.4 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005508/0.4333, allocations: 266.9 kB / 480.7 MB, free: 10.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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 (498): * Single equations (assignments): 494 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00233/0.4356, allocations: 1.368 MB / 482.1 MB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/0.4361, allocations: 225.2 kB / 482.3 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/0.4405, allocations: 2.138 MB / 484.4 MB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.168e-05/0.4406, allocations: 16.5 kB / 484.4 MB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4406, allocations: 4 kB / 484.4 MB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.4406, allocations: 3.984 kB / 484.4 MB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00972/0.4503, allocations: 5.069 MB / 489.5 MB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.4504, allocations: 4 kB / 489.5 MB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/0.4512, allocations: 151.8 kB / 489.7 MB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/0.4534, allocations: 0.6873 MB / 490.3 MB, free: 364 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.4536, allocations: 23.98 kB / 490.4 MB, free: 340 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005283/0.4589, allocations: 4.154 MB / 494.5 MB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.4589, allocations: 3.938 kB / 494.5 MB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006632/0.4655, allocations: 4.047 MB / 498.6 MB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006962/0.4662, allocations: 282.1 kB / 498.8 MB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005841/0.4668, allocations: 19.98 kB / 498.9 MB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.4682, allocations: 74.23 kB / 498.9 MB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.4684, allocations: 60.23 kB / 499 MB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.863e-05/0.4685, allocations: 32 kB / 499 MB, free: 7.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00342/0.472, allocations: 1.697 MB / 0.489 GB, free: 5.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 3e-07/0.472, allocations: 0 / 0.489 GB, free: 5.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004011/0.476, allocations: 0.6601 MB / 0.4896 GB, free: 5.109 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00724/0.4832, allocations: 4.725 MB / 0.4943 GB, free: 364 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00611/0.4894, allocations: 3.705 MB / 0.4979 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4894, allocations: 0 / 0.4979 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.4909, allocations: 1.032 MB / 0.4989 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.4934, allocations: 266.3 kB / 0.4991 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2089/0.7023, allocations: 31.99 MB / 0.5304 GB, free: 141.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/0.7048, allocations: 2.237 MB / 0.5326 GB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003334/0.7082, allocations: 1.321 MB / 0.5339 GB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/0.7096, allocations: 1.096 MB / 0.5349 GB, free: 139.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7097, allocations: 0 / 0.5349 GB, free: 139.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07761/0.7873, allocations: 45.45 MB / 0.5793 GB, free: 104.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.53, allocations: 7.922 kB / 0.5793 GB, free: 104.7 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches