Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009386/0.0009386, allocations: 107 kB / 20.43 MB, free: 4.582 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008986/0.0008986, allocations: 197.8 kB / 23.71 MB, free: 2.156 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.92/0.92, allocations: 225.7 MB / 252.5 MB, free: 14.47 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_4_0_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_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 59.91 kB / 372 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1933, allocations: 52.18 MB / 424.1 MB, free: 7.719 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.004938/0.1983, allocations: 6.343 MB / 430.5 MB, free: 3.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.202, allocations: 2.98 MB / 433.5 MB, free: 1.586 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004112/0.2024, allocations: 35.69 kB / 433.5 MB, free: 1.578 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.2034, allocations: 0.7715 MB / 434.3 MB, free: 1.055 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.2049, allocations: 1.354 MB / 435.6 MB, free: 152 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.2054, allocations: 0.4973 MB / 436.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001821/0.2073, allocations: 2.524 MB / 438.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000836/0.2081, allocations: 1.087 MB / 439.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.2087, allocations: 0.7769 MB / 440.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009036/0.2096, allocations: 1.179 MB / 441.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.2097, allocations: 133.8 kB / 441.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008408/0.2106, allocations: 0.7878 MB / 442.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005204/0.2111, allocations: 1.024 MB / 443.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004711/0.2116, allocations: 0.8574 MB / 444.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.2138, allocations: 3.999 MB / 448.5 MB, free: 6.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2138, allocations: 0 / 448.5 MB, free: 6.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2138, allocations: 0 / 448.5 MB, free: 6.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.2138, allocations: 0 / 448.5 MB, free: 6.211 MB / 346.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.002569/0.2164, allocations: 2.898 MB / 451.4 MB, free: 3.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2164, allocations: 8.031 kB / 451.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003077/0.2167, allocations: 454 kB / 451.8 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.22, allocations: 1.66 MB / 453.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.2217, allocations: 1.586 MB / 455.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.2217, allocations: 126.8 kB / 455.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.2219, allocations: 155.8 kB / 455.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004985/0.2269, allocations: 6.367 MB / 461.7 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.136e-05/0.2269, allocations: 27.75 kB / 461.8 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.2271, allocations: 79.89 kB / 461.8 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001296/0.2284, allocations: 1.441 MB / 463.3 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005485/0.2339, allocations: 5.654 MB / 468.9 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01462/0.2485, allocations: 25.29 MB / 494.2 MB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.2508, allocations: 1.733 MB / 496 MB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/0.2516, allocations: 0.9348 MB / 496.9 MB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.2516, allocations: 15.94 kB / 496.9 MB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2516, allocations: 42.56 kB / 496.9 MB, free: 4.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 2.625e-06/0.2516, allocations: 0 / 496.9 MB, free: 4.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.01153/0.2632, allocations: 8.536 MB / 0.4936 GB, free: 11.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.2632, allocations: 140.5 kB / 0.4938 GB, free: 11.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.2654, allocations: 2.998 MB / 0.4967 GB, free: 8.449 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.2655, allocations: 45.7 kB / 0.4967 GB, free: 8.398 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008576/0.2663, allocations: 2.166 MB / 0.4989 GB, free: 6.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.2666, allocations: 452.7 kB / 0.4993 GB, free: 5.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006993/0.2673, allocations: 0.8854 MB / 0.5002 GB, free: 4.867 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.2673, allocations: 301.1 kB / 0.5004 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.2686, allocations: 1.406 MB / 0.5018 GB, free: 3.156 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.271, allocations: 4.238 MB / 0.506 GB, free: 13.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/0.275, allocations: 6.125 MB / 0.5119 GB, free: 5.949 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.392e-05/0.275, allocations: 28 kB / 0.512 GB, free: 5.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005701/0.2807, allocations: 6.089 MB / 0.5179 GB, free: 15.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.2807, allocations: 48 kB / 0.518 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-05/0.2808, allocations: 104 kB / 0.518 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.282, allocations: 0.8038 MB / 0.5188 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.2835, allocations: 0.9902 MB / 0.5198 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.2869, allocations: 4.33 MB / 0.524 GB, free: 9.434 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.2882, allocations: 251.6 kB / 0.5243 GB, free: 9.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.2884, allocations: 280 kB / 0.5245 GB, free: 8.914 MB / 442.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.001115/0.2895, allocations: 1.368 MB / 0.5259 GB, free: 7.535 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.2897, allocations: 246.4 kB / 0.5261 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.2918, allocations: 1.845 MB / 0.5279 GB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.2919, allocations: 15.94 kB / 0.5279 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2919, allocations: 4 kB / 0.5279 GB, free: 5.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2919, allocations: 3.984 kB / 0.5279 GB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/0.2966, allocations: 4.524 MB / 0.5324 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2966, allocations: 0 / 0.5324 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.297, allocations: 131.8 kB / 0.5325 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.298, allocations: 0.6522 MB / 0.5331 GB, free: 36 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.2981, allocations: 20 kB / 0.5331 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003002/0.3011, allocations: 3.826 MB / 0.5369 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3011, allocations: 0 / 0.5369 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.3045, allocations: 3.694 MB / 0.5405 GB, free: 8.352 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.3047, allocations: 218.2 kB / 0.5407 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.3048, allocations: 19.94 kB / 0.5407 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.3053, allocations: 63.84 kB / 0.5408 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.3054, allocations: 59.89 kB / 0.5408 GB, free: 7.996 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.3054, allocations: 28 kB / 0.5408 GB, free: 7.969 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001439/0.3068, allocations: 1.758 MB / 0.5426 GB, free: 6.203 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3068, allocations: 0 / 0.5426 GB, free: 6.203 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001688/0.3085, allocations: 0.6522 MB / 0.5432 GB, free: 5.551 MB / 458.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.003703/0.3122, allocations: 4.308 MB / 0.5474 GB, free: 1.203 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002897/0.3151, allocations: 3.303 MB / 0.5506 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3151, allocations: 0 / 0.5506 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00073/0.3159, allocations: 0.8657 MB / 0.5515 GB, free: 13.03 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000882/0.3167, allocations: 268.1 kB / 0.5517 GB, free: 12.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/0.3397, allocations: 30.26 MB / 0.5813 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.341, allocations: 1.617 MB / 0.5829 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001709/0.3427, allocations: 1.403 MB / 0.5842 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008203/0.3435, allocations: 1.05 MB / 0.5853 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.3435, allocations: 0 / 0.5853 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.24/0.5835, allocations: 41.92 MB / 0.6262 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.796, allocations: 8.188 kB / 0.6262 GB, free: 141.7 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.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_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 11.614069412462413]