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.001706/0.001706, allocations: 84.34 kB / 20.68 MB, free: 3.887 MB / 18.57 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.001904/0.001904, allocations: 164.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9191/0.9191, allocations: 177.4 MB / 204.6 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 326.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/9.608e-06, allocations: 2.281 kB / 326.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.004934/0.004944, allocations: 6.765 MB / 333.6 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003347/0.00829, allocations: 3.165 MB / 336.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.008626, allocations: 43.81 kB / 336.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.009796, allocations: 1.062 MB / 337.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.01125, allocations: 1.388 MB / 339.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.01184, allocations: 0.5844 MB / 339.9 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.01355, allocations: 2.971 MB / 342.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009771/0.01453, allocations: 1.466 MB / 344.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008804/0.01541, allocations: 1.29 MB / 345.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009587/0.01637, allocations: 1.321 MB / 346.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.01653, allocations: 152 kB / 347.1 MB, free: 9.926 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007771/0.01731, allocations: 0.8266 MB / 347.9 MB, free: 9.098 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005834/0.01789, allocations: 1.122 MB / 349 MB, free: 7.973 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004667/0.01836, allocations: 0.6773 MB / 349.7 MB, free: 7.293 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.0207, allocations: 4.107 MB / 353.8 MB, free: 3.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.02071, allocations: 0 / 353.8 MB, free: 3.172 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02071, allocations: 0 / 353.8 MB, free: 3.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.02073, allocations: 0 / 353.8 MB, free: 3.172 MB / 314.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.002979/0.02371, allocations: 3.013 MB / 356.8 MB, free: 116 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.02375, allocations: 19.98 kB / 356.8 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000336/0.02408, allocations: 462.4 kB / 357.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/0.02705, allocations: 1.66 MB / 358.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.02839, allocations: 1.387 MB / 360.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.02846, allocations: 131.1 kB / 360.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.02867, allocations: 159.9 kB / 360.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005222/0.03389, allocations: 6.542 MB / 367.1 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/0.03394, allocations: 31.75 kB / 367.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.03409, allocations: 83.89 kB / 367.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001361/0.03545, allocations: 1.464 MB / 368.7 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005971/0.04142, allocations: 5.837 MB / 374.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/0.05686, allocations: 24.89 MB / 399.4 MB, free: 4.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.05986, allocations: 2.075 MB / 401.5 MB, free: 2.047 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009994/0.06086, allocations: 1.133 MB / 402.7 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004381/0.06524, allocations: 4.387 MB / 407 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.06526, allocations: 46.56 kB / 407.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 2.064e-06/0.06527, allocations: 3.938 kB / 407.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.01405/0.07932, allocations: 10.04 MB / 417.1 MB, free: 2.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.07937, allocations: 145 kB / 417.3 MB, free: 2.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.08193, allocations: 3.018 MB / 420.3 MB, free: 15.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.08199, allocations: 41.7 kB / 420.3 MB, free: 15.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.08281, allocations: 2.109 MB / 422.4 MB, free: 12.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.08305, allocations: 448.7 kB / 422.9 MB, free: 12.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006357/0.08368, allocations: 0.8259 MB / 423.7 MB, free: 11.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.08374, allocations: 301.1 kB / 424 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.08517, allocations: 1.448 MB / 425.4 MB, free: 9.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/0.08787, allocations: 4.073 MB / 429.5 MB, free: 4.508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/0.0922, allocations: 5.957 MB / 435.5 MB, free: 13.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.406e-05/0.09223, allocations: 28 kB / 435.5 MB, free: 13.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.006234/0.09846, allocations: 6.028 MB / 441.5 MB, free: 7.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.0985, allocations: 47.94 kB / 441.6 MB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-05/0.09856, allocations: 92 kB / 441.7 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.09983, allocations: 0.8209 MB / 442.5 MB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.1013, allocations: 0.9435 MB / 443.4 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004375/0.1057, allocations: 4.541 MB / 448 MB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.1072, allocations: 295.5 kB / 448.3 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/0.1074, allocations: 260 kB / 448.5 MB, free: 84 kB / 410.7 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.1257/0.2331, allocations: 1.36 MB / 449.9 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.2335, allocations: 238.3 kB / 450.1 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.236, allocations: 2.133 MB / 452.2 MB, free: 111 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.236, allocations: 16.58 kB / 452.3 MB, free: 111 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.236, allocations: 3.875 kB / 452.3 MB, free: 111 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.236, allocations: 3.984 kB / 452.3 MB, free: 111 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00468/0.2407, allocations: 4.831 MB / 457.1 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.2407, allocations: 3.688 kB / 457.1 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.2411, allocations: 165.2 kB / 457.3 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.2421, allocations: 0.6768 MB / 457.9 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.2421, allocations: 26.75 kB / 458 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/0.2449, allocations: 4.042 MB / 462 MB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2449, allocations: 3.344 kB / 462 MB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/0.2482, allocations: 4.056 MB / 466.1 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.2484, allocations: 243 kB / 466.3 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.2485, allocations: 20 kB / 466.3 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/0.2491, allocations: 107.8 kB / 466.4 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.2492, allocations: 66.59 kB / 466.5 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.2492, allocations: 35.98 kB / 466.5 MB, free: 104.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001286/0.2505, allocations: 1.814 MB / 468.3 MB, free: 102.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2505, allocations: 0 / 468.3 MB, free: 102.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001759/0.2523, allocations: 0.7463 MB / 469.1 MB, free: 101.6 MB / 410.7 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.003537/0.2558, allocations: 4.757 MB / 473.8 MB, free: 96.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.2585, allocations: 3.359 MB / 477.2 MB, free: 93.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2585, allocations: 0 / 477.2 MB, free: 93.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.2592, allocations: 0.9665 MB / 478.2 MB, free: 92.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009082/0.2601, allocations: 259.8 kB / 478.4 MB, free: 92.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/0.28, allocations: 30.32 MB / 0.4968 GB, free: 58.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.281, allocations: 1.67 MB / 0.4985 GB, free: 57.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001422/0.2824, allocations: 1.327 MB / 0.4997 GB, free: 55.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007328/0.2832, allocations: 1.102 MB / 0.5008 GB, free: 54.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2832, allocations: 0 / 0.5008 GB, free: 54.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/0.3848, allocations: 46.79 MB / 0.5465 GB, free: 8.215 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/8.709, allocations: 0 / 0.5465 GB, free: 8.215 MB / 410.7 MB " [Timeout remaining time 651] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --mode=me --timeout=240 --tolerance=1e-08 ../Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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],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.w_a[1]),der(body.w_a[2]),der(body.w_a[3]),der(damper.phi_rel),der(damper.w_rel),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.mu,world.n[1],world.n[2],world.n[3],world.nominalLength filterSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 11.56562870182097]