Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.001135/0.001135, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001664/0.002799, allocations: 449.7 kB / 10.33 MB, free: 372 kB / 10.45 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.001188/0.001188, allocations: 153.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002726, allocations: 467.6 kB / 11.67 MB, free: 2.5 MB / 13.93 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 0.88/0.88, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1286/1.009, allocations: 49.49 MB / 220.5 MB, free: 1.457 MB / 218.7 MB " [Timeout remaining time 179] 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 3.938 kB / 221.8 MB, free: 216 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.867e-05, allocations: 6.25 kB / 221.8 MB, free: 208 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.0063/0.006319, allocations: 7.388 MB / 229.1 MB, free: 8.777 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007365/0.01368, allocations: 3.297 MB / 232.4 MB, free: 5.469 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007987/0.01448, allocations: 43.81 kB / 232.5 MB, free: 5.426 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.01629, allocations: 1.043 MB / 233.5 MB, free: 4.379 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.01922, allocations: 1.4 MB / 234.9 MB, free: 2.973 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.02038, allocations: 0.5454 MB / 235.5 MB, free: 2.426 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003484/0.02386, allocations: 2.82 MB / 238.3 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.02585, allocations: 1.315 MB / 239.6 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.02795, allocations: 1.4 MB / 241 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.0294, allocations: 1.251 MB / 242.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.02961, allocations: 152 kB / 242.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.03072, allocations: 0.8579 MB / 243.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006757/0.0314, allocations: 1.032 MB / 244.3 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004926/0.03189, allocations: 0.5684 MB / 244.9 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.03397, allocations: 2.661 MB / 247.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.03398, allocations: 0 / 247.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.03398, allocations: 0 / 247.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.03401, allocations: 0 / 247.5 MB, free: 6.312 MB / 250.7 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.00284/0.03685, allocations: 3.344 MB / 250.9 MB, free: 2.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.03689, allocations: 8.031 kB / 250.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002871/0.03717, allocations: 449.8 kB / 251.3 MB, free: 2.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.03902, allocations: 0.7654 MB / 252.1 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.04006, allocations: 1.072 MB / 253.2 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/0.04012, allocations: 127.1 kB / 253.3 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.04031, allocations: 159.8 kB / 253.4 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.04301, allocations: 3.132 MB / 256.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.04305, allocations: 31.73 kB / 256.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.04319, allocations: 87.83 kB / 256.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001132/0.04433, allocations: 1.242 MB / 257.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.04644, allocations: 1.637 MB / 259.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.05876, allocations: 20.71 MB / 280.3 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.06049, allocations: 0.9165 MB / 281.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.06072, allocations: 212 kB / 281.4 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002399/0.06312, allocations: 2.196 MB / 283.6 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.06315, allocations: 42.5 kB / 283.6 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=79): time 1.724e-06/0.06315, allocations: 0 / 283.6 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of matching and sorting (n=80): time 0.09346/0.1566, allocations: 1.93 MB / 285.6 MB, free: 48.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.1566, allocations: 138.9 kB / 285.7 MB, free: 48.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.1587, allocations: 2.405 MB / 288.1 MB, free: 47.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.1588, allocations: 35.23 kB / 288.1 MB, free: 47.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007791/0.1596, allocations: 2.032 MB / 290.2 MB, free: 46.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.1598, allocations: 355.2 kB / 290.5 MB, free: 46.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006347/0.1604, allocations: 0.7855 MB / 291.3 MB, free: 46.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.426e-05/0.1605, allocations: 305.2 kB / 291.6 MB, free: 45.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.1612, allocations: 489.5 kB / 292.1 MB, free: 45.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.1627, allocations: 3.103 MB / 295.2 MB, free: 42.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/0.1652, allocations: 3.949 MB / 299.1 MB, free: 38.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.896e-05/0.1653, allocations: 28.84 kB / 299.2 MB, free: 38.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.003049/0.1683, allocations: 2.836 MB / 302 MB, free: 37.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.1684, allocations: 45.03 kB / 302 MB, free: 37.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-05/0.1684, allocations: 102.7 kB / 302.1 MB, free: 37.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.1686, allocations: 175.1 kB / 302.3 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.17, allocations: 1.012 MB / 303.3 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007151/0.1707, allocations: 1.472 MB / 304.8 MB, free: 36.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.172, allocations: 186.6 kB / 305 MB, free: 36.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.1722, allocations: 238.2 kB / 305.2 MB, free: 36.53 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 445 * Number of states: 0 () * Number of discrete variables: 21 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (507): * Single equations (assignments): 503 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005088/0.1727, allocations: 463.6 kB / 305.7 MB, free: 36.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.1729, allocations: 135.4 kB / 305.8 MB, free: 36.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.1735, allocations: 398.8 kB / 306.2 MB, free: 36.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.1735, allocations: 17.5 kB / 306.2 MB, free: 36.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1735, allocations: 0 / 306.2 MB, free: 36.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1735, allocations: 6.797 kB / 306.2 MB, free: 36.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.1754, allocations: 1.892 MB / 308.1 MB, free: 35.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1754, allocations: 0 / 308.1 MB, free: 35.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.1757, allocations: 105.2 kB / 308.2 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.1759, allocations: 275.2 kB / 308.5 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.1761, allocations: 48.19 kB / 308.5 MB, free: 35.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.1761, allocations: 12.06 kB / 308.5 MB, free: 35.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006147/0.1767, allocations: 1.423 MB / 310 MB, free: 34.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1767, allocations: 2.953 kB / 310 MB, free: 34.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.1774, allocations: 1.062 MB / 311 MB, free: 33.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.1775, allocations: 11.62 kB / 311 MB, free: 33.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.1779, allocations: 15.44 kB / 311 MB, free: 33.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.1779, allocations: 41.41 kB / 311.1 MB, free: 33.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.178, allocations: 28.42 kB / 311.1 MB, free: 33.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007582/0.1787, allocations: 0.8766 MB / 312 MB, free: 33.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1787, allocations: 0 / 312 MB, free: 33.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001472/0.1802, allocations: 0.6613 MB / 312.7 MB, free: 33.3 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (54): * Single equations (assignments): 50 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009144/0.1811, allocations: 1.632 MB / 314.3 MB, free: 31.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.1823, allocations: 1.627 MB / 315.9 MB, free: 30.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.6e-05/0.1824, allocations: 59.94 kB / 316 MB, free: 30.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.1826, allocations: 311.4 kB / 316.3 MB, free: 30.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.1838, allocations: 0.5227 MB / 316.8 MB, free: 29.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009305/0.1931, allocations: 14.1 MB / 330.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.1935, allocations: 0.731 MB / 331.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008491/0.1944, allocations: 346.8 kB / 332 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008536/0.1952, allocations: 1.312 MB / 333.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1952, allocations: 4 kB / 333.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of FMU documentation: time 0.1451/0.3404, allocations: 48.46 MB / 381.7 MB, free: 10.75 MB / 330.7 MB Notification: FMU-only work: backend 0.000645, simCode 0.004962, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08635/0.4267, allocations: 1.336 MB / 383.1 MB, free: 9.371 MB / 330.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.826/4.253, allocations: 19.7 kB / 383.1 MB, free: 9.355 MB / 330.7 MB " [Timeout remaining time 656] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --mode=me --timeout=240 --tolerance=1e-08 ../Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu) > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --mode=cs --timeout=240 --tolerance=1e-08 ../Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --mode=cs --timeout=240 --tolerance=1e-08 ../Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,rev.phi,rev.w Variables in the result:body.I[1,1],body.I[1,2],body.I[1,3],body.I[2,1],body.I[2,2],body.I[2,3],body.I[3,1],body.I[3,2],body.I[3,3],body.I_11,body.I_21,body.I_22,body.I_31,body.I_32,body.I_33,body.R_start.T[1,1],body.R_start.T[1,2],body.R_start.T[1,3],body.R_start.T[2,1],body.R_start.T[2,2],body.R_start.T[2,3],body.R_start.T[3,1],body.R_start.T[3,2],body.R_start.T[3,3],body.R_start.w[1],body.R_start.w[2],body.R_start.w[3],body.a_0[1],body.a_0[2],body.a_0[3],body.angles_fixed,body.angles_start[1],body.angles_start[2],body.angles_start[3],body.animation,body.cylinderColor[1],body.cylinderColor[2],body.cylinderColor[3],body.cylinderDiameter,body.enforceStates,body.frame_a.R.T[1,1],body.frame_a.R.T[1,2],body.frame_a.R.T[1,3],body.frame_a.R.T[2,1],body.frame_a.R.T[2,2],body.frame_a.R.T[2,3],body.frame_a.R.T[3,1],body.frame_a.R.T[3,2],body.frame_a.R.T[3,3],body.frame_a.R.w[1],body.frame_a.R.w[2],body.frame_a.R.w[3],body.frame_a.f[1],body.frame_a.f[2],body.frame_a.f[3],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.frame_a.t[1],body.frame_a.t[2],body.frame_a.t[3],body.g_0[1],body.g_0[2],body.g_0[3],body.m,body.r_0[1],body.r_0[2],body.r_0[3],body.r_CM[1],body.r_CM[2],body.r_CM[3],body.sequence_angleStates[1],body.sequence_angleStates[2],body.sequence_angleStates[3],body.sequence_start[1],body.sequence_start[2],body.sequence_start[3],body.specularCoefficient,body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],body.sphereDiameter,body.useQuaternions,body.v_0[1],body.v_0[2],body.v_0[3],body.w_0_fixed,body.w_0_start[1],body.w_0_start[2],body.w_0_start[3],body.w_a[1],body.w_a[2],body.w_a[3],body.z_0_fixed,body.z_0_start[1],body.z_0_start[2],body.z_0_start[3],body.z_a[1],body.z_a[2],body.z_a[3],body.z_a_start[1],body.z_a_start[2],body.z_a_start[3],damper.a_rel,damper.d,damper.flange_a.phi,damper.flange_a.tau,damper.flange_b.phi,damper.flange_b.tau,damper.lossPower,damper.phi_nominal,damper.phi_rel,damper.stateSelect,damper.tau,damper.useHeatPort,damper.w_rel,der(body.frame_a.R.w[3]),der(body.w_a[3]),der(damper.flange_b.phi),der(damper.phi_rel),der(damper.w_rel),der(rev.angle),der(rev.axis.phi),der(rev.frame_b.R.w[3]),der(rev.phi),der(rev.w),fixedTranslation.animation,fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3],fixedTranslation.extra,fixedTranslation.frame_a.R.T[1,1],fixedTranslation.frame_a.R.T[1,2],fixedTranslation.frame_a.R.T[1,3],fixedTranslation.frame_a.R.T[2,1],fixedTranslation.frame_a.R.T[2,2],fixedTranslation.frame_a.R.T[2,3],fixedTranslation.frame_a.R.T[3,1],fixedTranslation.frame_a.R.T[3,2],fixedTranslation.frame_a.R.T[3,3],fixedTranslation.frame_a.R.w[1],fixedTranslation.frame_a.R.w[2],fixedTranslation.frame_a.R.w[3],fixedTranslation.frame_a.f[1],fixedTranslation.frame_a.f[2],fixedTranslation.frame_a.f[3],fixedTranslation.frame_a.r_0[1],fixedTranslation.frame_a.r_0[2],fixedTranslation.frame_a.r_0[3],fixedTranslation.frame_a.t[1],fixedTranslation.frame_a.t[2],fixedTranslation.frame_a.t[3],fixedTranslation.frame_b.R.T[1,1],fixedTranslation.frame_b.R.T[1,2],fixedTranslation.frame_b.R.T[1,3],fixedTranslation.frame_b.R.T[2,1],fixedTranslation.frame_b.R.T[2,2],fixedTranslation.frame_b.R.T[2,3],fixedTranslation.frame_b.R.T[3,1],fixedTranslation.frame_b.R.T[3,2],fixedTranslation.frame_b.R.T[3,3],fixedTranslation.frame_b.R.w[1],fixedTranslation.frame_b.R.w[2],fixedTranslation.frame_b.R.w[3],fixedTranslation.frame_b.f[1],fixedTranslation.frame_b.f[2],fixedTranslation.frame_b.f[3],fixedTranslation.frame_b.r_0[1],fixedTranslation.frame_b.r_0[2],fixedTranslation.frame_b.r_0[3],fixedTranslation.frame_b.t[1],fixedTranslation.frame_b.t[2],fixedTranslation.frame_b.t[3],fixedTranslation.height,fixedTranslation.length,fixedTranslation.lengthDirection[1],fixedTranslation.lengthDirection[2],fixedTranslation.lengthDirection[3],fixedTranslation.r[1],fixedTranslation.r[2],fixedTranslation.r[3],fixedTranslation.r_shape[1],fixedTranslation.r_shape[2],fixedTranslation.r_shape[3],fixedTranslation.specularCoefficient,fixedTranslation.width,fixedTranslation.widthDirection[1],fixedTranslation.widthDirection[2],fixedTranslation.widthDirection[3],geodeticLatitude,gravity[1],gravity[2],gravity[3],height,rev.a,rev.angle,rev.animation,rev.axis.phi,rev.axis.tau,rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],rev.cylinderDiameter,rev.cylinderLength,rev.frame_a.R.T[1,1],rev.frame_a.R.T[1,2],rev.frame_a.R.T[1,3],rev.frame_a.R.T[2,1],rev.frame_a.R.T[2,2],rev.frame_a.R.T[2,3],rev.frame_a.R.T[3,1],rev.frame_a.R.T[3,2],rev.frame_a.R.T[3,3],rev.frame_a.R.w[1],rev.frame_a.R.w[2],rev.frame_a.R.w[3],rev.frame_a.f[1],rev.frame_a.f[2],rev.frame_a.f[3],rev.frame_a.r_0[1],rev.frame_a.r_0[2],rev.frame_a.r_0[3],rev.frame_a.t[1],rev.frame_a.t[2],rev.frame_a.t[3],rev.frame_b.R.T[1,1],rev.frame_b.R.T[1,2],rev.frame_b.R.T[1,3],rev.frame_b.R.T[2,1],rev.frame_b.R.T[2,2],rev.frame_b.R.T[2,3],rev.frame_b.R.T[3,1],rev.frame_b.R.T[3,2],rev.frame_b.R.T[3,3],rev.frame_b.R.w[1],rev.frame_b.R.w[2],rev.frame_b.R.w[3],rev.frame_b.f[1],rev.frame_b.f[2],rev.frame_b.f[3],rev.frame_b.r_0[1],rev.frame_b.r_0[2],rev.frame_b.r_0[3],rev.frame_b.t[1],rev.frame_b.t[2],rev.frame_b.t[3],rev.n[1],rev.n[2],rev.n[3],rev.phi,rev.specularCoefficient,rev.stateSelect,rev.support.phi,rev.support.tau,rev.tau,rev.useAxisFlange,rev.w,time,world.animateGravity,world.animateGround,world.animateWorld,world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.axisColor_y[1],world.axisColor_y[2],world.axisColor_y[3],world.axisColor_z[1],world.axisColor_z[2],world.axisColor_z[3],world.axisDiameter,world.axisLength,world.axisShowLabels,world.defaultArrowDiameter,world.defaultAxisLength,world.defaultBodyDiameter,world.defaultForceLength,world.defaultForceWidth,world.defaultFrameDiameterFraction,world.defaultJointLength,world.defaultJointWidth,world.defaultN_to_m,world.defaultNm_to_m,world.defaultSpecularCoefficient,world.defaultWidthFraction,world.driveTrainMechanics3D,world.enableAnimation,world.frame_b.R.T[1,1],world.frame_b.R.T[1,2],world.frame_b.R.T[1,3],world.frame_b.R.T[2,1],world.frame_b.R.T[2,2],world.frame_b.R.T[2,3],world.frame_b.R.T[3,1],world.frame_b.R.T[3,2],world.frame_b.R.T[3,3],world.frame_b.R.w[1],world.frame_b.R.w[2],world.frame_b.R.w[3],world.frame_b.f[1],world.frame_b.f[2],world.frame_b.f[3],world.frame_b.r_0[1],world.frame_b.r_0[2],world.frame_b.r_0[3],world.frame_b.t[1],world.frame_b.t[2],world.frame_b.t[3],world.g,world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravityArrowDiameter,world.gravityArrowLength,world.gravityArrowTail[1],world.gravityArrowTail[2],world.gravityArrowTail[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.gravitySphereDiameter,world.gravityType,world.groundAxis_u[1],world.groundAxis_u[2],world.groundAxis_u[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.groundLength_u,world.groundLength_v,world.mue,world.n[1],world.n[2],world.n[3],world.nominalLength filterSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.diff.mat", vars={"rev.w", "rev.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.diff.ref.mat", vars={"rev.w", "rev.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy_res.csv --output-variables rev.phi rev.w --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 ../Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu) > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode_res.csv --output-variables rev.phi rev.w --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-08 --interface-type CoSimulation --output-interval 0.0019992 ../Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmpy-fmi3-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.33673476614058]