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.001342/0.001342, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001443/0.001443, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.485/1.485, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.002097/0.002097, allocations: 67.88 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2664, allocations: 53.4 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009623/0.276, allocations: 6.762 MB / 437.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006468/0.2825, allocations: 3.149 MB / 441.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000832/0.2833, allocations: 39.81 kB / 441.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.2854, allocations: 1.024 MB / 442.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.2884, allocations: 1.347 MB / 443.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.2896, allocations: 0.5457 MB / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003309/0.2929, allocations: 2.621 MB / 446.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.2944, allocations: 1.211 MB / 447.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.2956, allocations: 0.8407 MB / 448.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.2972, allocations: 1.214 MB / 449.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003168/0.2976, allocations: 148 kB / 450 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.2992, allocations: 0.7799 MB / 450.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.3003, allocations: 1.075 MB / 451.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.3013, allocations: 0.8962 MB / 452.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00492/0.3062, allocations: 4.108 MB / 456.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3062, allocations: 4 kB / 456.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3062, allocations: 0 / 456.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.936e-05/0.3063, allocations: 0 / 456.9 MB, free: 12.59 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.005464/0.3118, allocations: 2.997 MB / 459.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.3118, allocations: 11.98 kB / 459.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005505/0.3124, allocations: 462.4 kB / 460.4 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005418/0.3178, allocations: 1.598 MB / 462 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003972/0.3218, allocations: 1.567 MB / 463.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.3219, allocations: 123 kB / 463.7 MB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.3223, allocations: 167.8 kB / 463.8 MB, free: 5.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/0.3329, allocations: 6.534 MB / 470.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-05/0.333, allocations: 27.75 kB / 470.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.3332, allocations: 83.89 kB / 470.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002591/0.3358, allocations: 1.472 MB / 471.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.3467, allocations: 5.806 MB / 477.7 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03219/0.3789, allocations: 24.74 MB / 0.4907 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005381/0.3843, allocations: 2.025 MB / 0.4927 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.3859, allocations: 1.129 MB / 0.4938 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008081/0.394, allocations: 4.295 MB / 0.498 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.394, allocations: 38.56 kB / 0.498 GB, free: 6.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.526e-06/0.394, allocations: 0 / 0.498 GB, free: 6.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02456/0.4186, allocations: 9.739 MB / 0.5075 GB, free: 12.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.4187, allocations: 141 kB / 0.5077 GB, free: 12.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/0.4224, allocations: 2.869 MB / 0.5105 GB, free: 9.223 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.4225, allocations: 45.61 kB / 0.5105 GB, free: 9.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.4241, allocations: 2.136 MB / 0.5126 GB, free: 7.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004844/0.4246, allocations: 444.7 kB / 0.513 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.4257, allocations: 0.8376 MB / 0.5138 GB, free: 5.734 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4259, allocations: 305.1 kB / 0.5141 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.428, allocations: 1.437 MB / 0.5155 GB, free: 3.992 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004528/0.4325, allocations: 4.061 MB / 0.5195 GB, free: 14.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007488/0.44, allocations: 5.945 MB / 0.5253 GB, free: 7.363 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.389e-05/0.4401, allocations: 28 kB / 0.5253 GB, free: 7.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01261/0.4527, allocations: 6.013 MB / 0.5312 GB, free: 1.312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.047e-05/0.4528, allocations: 44 kB / 0.5312 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.4529, allocations: 92.88 kB / 0.5313 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.4554, allocations: 0.8201 MB / 0.5321 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/0.4584, allocations: 0.9435 MB / 0.533 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0065/0.4649, allocations: 4.525 MB / 0.5375 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/0.468, allocations: 231.7 kB / 0.5377 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004879/0.4685, allocations: 260 kB / 0.5379 GB, free: 10.29 MB / 462.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.002189/0.4706, allocations: 1.376 MB / 0.5393 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00047/0.4711, allocations: 246.4 kB / 0.5395 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/0.4756, allocations: 2.118 MB / 0.5416 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/0.4756, allocations: 12 kB / 0.5416 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4756, allocations: 4 kB / 0.5416 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4756, allocations: 3.984 kB / 0.5416 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009712/0.4853, allocations: 4.793 MB / 0.5463 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.4853, allocations: 4 kB / 0.5463 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007946/0.4861, allocations: 155.8 kB / 0.5464 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002146/0.4883, allocations: 0.6796 MB / 0.5471 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.4884, allocations: 19.98 kB / 0.5471 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2211/0.7095, allocations: 4.012 MB / 0.551 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7095, allocations: 1.125 kB / 0.551 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0063/0.7158, allocations: 4.062 MB / 0.555 GB, free: 112.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006333/0.7164, allocations: 222.5 kB / 0.5552 GB, free: 112.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/0.7167, allocations: 15.83 kB / 0.5552 GB, free: 112.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008908/0.7176, allocations: 74.31 kB / 0.5553 GB, free: 112.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.7178, allocations: 51.91 kB / 0.5553 GB, free: 112.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.7178, allocations: 39.05 kB / 0.5554 GB, free: 112.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001937/0.7198, allocations: 1.691 MB / 0.557 GB, free: 111.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7198, allocations: 5.406 kB / 0.557 GB, free: 111.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002818/0.7226, allocations: 0.6643 MB / 0.5577 GB, free: 111.6 MB / 462.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.005555/0.7282, allocations: 4.739 MB / 0.5623 GB, free: 109.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004391/0.7325, allocations: 3.34 MB / 0.5656 GB, free: 107.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7325, allocations: 4 kB / 0.5656 GB, free: 107.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.7336, allocations: 0.9612 MB / 0.5665 GB, free: 106.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.7352, allocations: 260.1 kB / 0.5668 GB, free: 106.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0317/0.7669, allocations: 29.96 MB / 0.596 GB, free: 74.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.7684, allocations: 1.655 MB / 0.5976 GB, free: 72.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002311/0.7707, allocations: 1.328 MB / 0.5989 GB, free: 71.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.7718, allocations: 1.097 MB / 0.6 GB, free: 70.11 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7718, allocations: 0 / 0.6 GB, free: 70.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07794/0.8497, allocations: 45.13 MB / 0.6441 GB, free: 25.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.94, allocations: 5.312 kB / 0.6441 GB, free: 25.35 MB / 462.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.503422279376537]