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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, 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.001306/0.001306, 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.356/1.356, 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1022, allocations: 53.32 MB / 426.7 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.1942/0.2964, allocations: 7.624 MB / 434.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005968/0.3024, allocations: 3.387 MB / 437.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.3034, allocations: 35.41 kB / 437.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.3057, allocations: 1.038 MB / 438.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.3093, allocations: 1.344 MB / 440.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.3106, allocations: 0.5434 MB / 440.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003751/0.3143, allocations: 2.615 MB / 443.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.3159, allocations: 1.193 MB / 444.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.3172, allocations: 0.835 MB / 445.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.3187, allocations: 1.26 MB / 446.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003167/0.319, allocations: 146.8 kB / 446.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.3208, allocations: 0.9249 MB / 447.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009817/0.3218, allocations: 1.076 MB / 448.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.3228, allocations: 1.238 MB / 449.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0046/0.3274, allocations: 4.104 MB / 454 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3275, allocations: 0 / 454 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3275, allocations: 1.219 kB / 454 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.605e-05/0.3275, allocations: 0 / 454 MB, free: 15.34 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.006151/0.3337, allocations: 3.081 MB / 457.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3337, allocations: 9.688 kB / 457.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005952/0.3343, allocations: 464.8 kB / 457.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005152/0.3395, allocations: 1.599 MB / 459.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00365/0.3431, allocations: 1.603 MB / 460.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.3432, allocations: 127.8 kB / 460.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000352/0.3436, allocations: 161.9 kB / 461.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.3539, allocations: 6.538 MB / 467.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.278e-05/0.354, allocations: 26.81 kB / 467.6 MB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.3542, allocations: 82.55 kB / 467.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002357/0.3566, allocations: 1.467 MB / 469.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.3669, allocations: 5.834 MB / 475 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03038/0.3972, allocations: 25.7 MB / 0.489 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005255/0.4025, allocations: 2.477 MB / 0.4914 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.404, allocations: 1.133 MB / 0.4925 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007895/0.4119, allocations: 4.82 MB / 0.4972 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.4119, allocations: 42.55 kB / 0.4972 GB, free: 12.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.495e-06/0.4119, allocations: 0 / 0.4972 GB, free: 12.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02177/0.4337, allocations: 9.916 MB / 0.5069 GB, free: 2.949 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/0.4337, allocations: 141 kB / 0.5071 GB, free: 2.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/0.4372, allocations: 2.719 MB / 0.5097 GB, free: 44 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.4373, allocations: 37.7 kB / 0.5098 GB, free: 0 / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.4388, allocations: 2.132 MB / 0.5118 GB, free: 13.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/0.4392, allocations: 448.6 kB / 0.5123 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.4403, allocations: 0.8338 MB / 0.5131 GB, free: 12.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4404, allocations: 305.1 kB / 0.5134 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/0.4424, allocations: 1.441 MB / 0.5148 GB, free: 10.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004045/0.4465, allocations: 4.069 MB / 0.5188 GB, free: 5.434 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006535/0.453, allocations: 5.94 MB / 0.5246 GB, free: 14.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.82e-05/0.453, allocations: 28.28 kB / 0.5246 GB, free: 14.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009918/0.463, allocations: 6.016 MB / 0.5305 GB, free: 8.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.463, allocations: 48.03 kB / 0.5305 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.985e-05/0.4631, allocations: 95.94 kB / 0.5306 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/0.4653, allocations: 0.8208 MB / 0.5314 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/0.4679, allocations: 0.9396 MB / 0.5323 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/0.4738, allocations: 4.653 MB / 0.5369 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.4763, allocations: 247.7 kB / 0.5371 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003758/0.4767, allocations: 263.9 kB / 0.5373 GB, free: 0.9375 MB / 446.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.002015/0.4787, allocations: 1.373 MB / 0.5387 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.4791, allocations: 234.4 kB / 0.5389 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/0.4832, allocations: 2.122 MB / 0.541 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/0.4832, allocations: 17.08 kB / 0.541 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4832, allocations: 0 / 0.541 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.4832, allocations: 7.984 kB / 0.541 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009401/0.4926, allocations: 5.054 MB / 0.5459 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.4926, allocations: 4 kB / 0.5459 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/0.4933, allocations: 159.7 kB / 0.5461 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/0.4953, allocations: 0.6795 MB / 0.5468 GB, free: 7.188 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-05/0.4954, allocations: 23.98 kB / 0.5468 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/0.5006, allocations: 4.156 MB / 0.5508 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5006, allocations: 0 / 0.5508 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006178/0.5068, allocations: 4.06 MB / 0.5548 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/0.5073, allocations: 291.4 kB / 0.5551 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.5076, allocations: 20 kB / 0.5551 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000832/0.5084, allocations: 67.95 kB / 0.5552 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.5085, allocations: 68.23 kB / 0.5552 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/0.5086, allocations: 35.97 kB / 0.5553 GB, free: 14.29 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002411/0.511, allocations: 1.689 MB / 0.5569 GB, free: 12.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.511, allocations: 0 / 0.5569 GB, free: 12.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002887/0.5139, allocations: 0.6599 MB / 0.5576 GB, free: 11.93 MB / 478.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.006702/0.5206, allocations: 4.74 MB / 0.5622 GB, free: 7.145 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005058/0.5257, allocations: 3.336 MB / 0.5654 GB, free: 3.816 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5257, allocations: 4 kB / 0.5655 GB, free: 3.812 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.527, allocations: 0.9662 MB / 0.5664 GB, free: 2.836 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.5285, allocations: 271.4 kB / 0.5667 GB, free: 2.578 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/0.5693, allocations: 29.9 MB / 0.5959 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/0.5716, allocations: 2.233 MB / 0.598 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002712/0.5743, allocations: 1.317 MB / 0.5993 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/0.5758, allocations: 1.101 MB / 0.6004 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.5758, allocations: 0 / 0.6004 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.904/2.48, allocations: 44.97 MB / 0.6443 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.75/20.23, allocations: 11.88 kB / 0.6443 GB, free: 159.8 MB / 0.5137 GB " [Timeout remaining time 640] (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 --stepSize=0.0019992 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.391118824947625]