Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.001319/0.001319, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009667/0.0009667, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9362/0.9362, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Pendulum,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 326.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.57e-05, allocations: 2.281 kB / 326.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.007409/0.007425, allocations: 6.326 MB / 332.5 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005516/0.01294, allocations: 3.013 MB / 335.5 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008113/0.01375, allocations: 39.81 kB / 335.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.01544, allocations: 0.8092 MB / 336.3 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.01823, allocations: 1.361 MB / 337.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.01924, allocations: 0.526 MB / 338.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.02232, allocations: 2.905 MB / 341.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.02391, allocations: 1.336 MB / 342.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.0254, allocations: 1.189 MB / 343.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.02703, allocations: 1.286 MB / 344.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.02732, allocations: 140 kB / 345.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.02864, allocations: 0.8149 MB / 345.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008086/0.02945, allocations: 1.048 MB / 346.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006618/0.03011, allocations: 0.6382 MB / 347.6 MB, free: 9.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003601/0.03371, allocations: 3.94 MB / 351.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.03372, allocations: 0 / 351.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.03372, allocations: 0 / 351.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.932e-05/0.03376, allocations: 0 / 351.5 MB, free: 5.496 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.003808/0.03757, allocations: 2.919 MB / 354.4 MB, free: 2.535 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.03762, allocations: 8.031 kB / 354.4 MB, free: 2.527 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005028/0.03812, allocations: 450 kB / 354.9 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005665/0.04378, allocations: 1.738 MB / 356.6 MB, free: 344 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.04615, allocations: 1.317 MB / 357.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.681e-05/0.04624, allocations: 123 kB / 358.1 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/0.04655, allocations: 159.8 kB / 358.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008608/0.05516, allocations: 6.37 MB / 364.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.039e-05/0.05523, allocations: 31.75 kB / 364.6 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/0.05548, allocations: 79.89 kB / 364.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002326/0.0578, allocations: 1.433 MB / 366.1 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009621/0.06742, allocations: 5.677 MB / 371.8 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01763/0.08505, allocations: 25.41 MB / 397.2 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.08745, allocations: 1.785 MB / 399 MB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008103/0.08826, allocations: 0.9403 MB / 399.9 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.0883, allocations: 12 kB / 399.9 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.08833, allocations: 50.5 kB / 400 MB, free: 3.496 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 2.655e-06/0.08833, allocations: 0 / 400 MB, free: 3.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.01276/0.1011, allocations: 8.804 MB / 408.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1011, allocations: 140.5 kB / 408.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/0.1036, allocations: 3.146 MB / 412.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.1036, allocations: 45.69 kB / 412.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009784/0.1046, allocations: 2.131 MB / 414.3 MB, free: 5.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.1048, allocations: 448.7 kB / 414.7 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006675/0.1055, allocations: 0.8736 MB / 415.6 MB, free: 3.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.1056, allocations: 305.1 kB / 415.9 MB, free: 3.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.107, allocations: 1.422 MB / 417.3 MB, free: 2.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.1095, allocations: 4.242 MB / 421.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004549/0.1141, allocations: 6.125 MB / 427.7 MB, free: 4.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.588e-05/0.1141, allocations: 28 kB / 427.7 MB, free: 4.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.006629/0.1207, allocations: 6.116 MB / 433.8 MB, free: 14.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.1208, allocations: 48 kB / 433.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.428e-05/0.1208, allocations: 100 kB / 433.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.1221, allocations: 0.7972 MB / 434.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.1236, allocations: 0.998 MB / 435.7 MB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/0.1273, allocations: 4.346 MB / 440.1 MB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.1287, allocations: 299.6 kB / 440.4 MB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.129, allocations: 280 kB / 440.6 MB, free: 7.699 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (533): * Single equations (assignments): 529 * 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.001096/0.13, allocations: 1.368 MB / 442 MB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.1303, allocations: 250.3 kB / 442.3 MB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.1325, allocations: 1.851 MB / 444.1 MB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.1325, allocations: 12 kB / 444.1 MB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1325, allocations: 4 kB / 444.1 MB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1325, allocations: 7.922 kB / 444.1 MB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1305/0.2631, allocations: 4.581 MB / 448.7 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.2631, allocations: 2.656 kB / 448.7 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.2636, allocations: 133.9 kB / 448.8 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.2649, allocations: 0.6454 MB / 449.5 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.265, allocations: 19.62 kB / 449.5 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.2678, allocations: 3.845 MB / 453.4 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2678, allocations: 3.562 kB / 453.4 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.2708, allocations: 3.694 MB / 457.1 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.2711, allocations: 250.8 kB / 457.3 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.2713, allocations: 18.34 kB / 457.3 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.2718, allocations: 99.38 kB / 457.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.2719, allocations: 58.34 kB / 457.5 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.272, allocations: 38.59 kB / 457.5 MB, free: 108.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001587/0.2735, allocations: 1.876 MB / 459.4 MB, free: 108 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2735, allocations: 1.469 kB / 459.4 MB, free: 108 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001903/0.2754, allocations: 0.722 MB / 460.1 MB, free: 107.9 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 (75): * Single equations (assignments): 71 * 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.003175/0.2786, allocations: 4.32 MB / 464.4 MB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.2811, allocations: 3.297 MB / 467.7 MB, free: 103 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2811, allocations: 0 / 467.7 MB, free: 103 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005763/0.2817, allocations: 0.8681 MB / 468.6 MB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.2825, allocations: 255.3 kB / 468.8 MB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/0.3018, allocations: 30.58 MB / 499.4 MB, free: 67.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.3028, allocations: 1.614 MB / 0.4893 GB, free: 66.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001494/0.3043, allocations: 1.408 MB / 0.4907 GB, free: 64.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/0.305, allocations: 1.059 MB / 0.4917 GB, free: 63.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.305, allocations: 0 / 0.4917 GB, free: 63.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1915/0.4965, allocations: 43.4 MB / 0.5341 GB, free: 20.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.153/9.649, allocations: 15.86 kB / 0.5341 GB, free: 20.8 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_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/Pendulum/Pendulum.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_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/Pendulum/Pendulum.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),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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_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/Pendulum/Pendulum.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler.diff.ref.mat", vars={"rev.w", "rev.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy_res.csv --output-variables rev.phi rev.w --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.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: 12.542626668699086]