Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.001022/0.001022, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001309/0.001309, allocations: 157 kB / 23.94 MB, free: 0.625 MB / 18.57 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.8963/0.8963, allocations: 173.3 MB / 200.4 MB, free: 9.438 MB / 186.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.Rotational.Examples.CoupledClutches,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.CoupledClutches,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 320 MB, free: 5.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.212e-05, allocations: 2.281 kB / 320 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.002985/0.003007, allocations: 2.852 MB / 322.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.004765, allocations: 1.017 MB / 323.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.005008, allocations: 7.938 kB / 323.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.00528, allocations: 79.19 kB / 323.9 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.005639, allocations: 170.5 kB / 324.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.006422, allocations: 291.4 kB / 324.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008046/0.007227, allocations: 0.8189 MB / 325.2 MB, free: 236 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.007454, allocations: 93.55 kB / 325.3 MB, free: 140 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008198/0.008274, allocations: 487 kB / 325.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.008705, allocations: 327.2 kB / 326.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.756e-05/0.008803, allocations: 60 kB / 326.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.00902, allocations: 107.9 kB / 326.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.009176, allocations: 159.5 kB / 326.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.009402, allocations: 223.5 kB / 326.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008202/0.01022, allocations: 0.7868 MB / 327.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01023, allocations: 0 / 327.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01023, allocations: 0 / 327.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.01024, allocations: 0 / 327.4 MB, free: 14.01 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001541/0.01178, allocations: 0.8235 MB / 328.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.01183, allocations: 12.92 kB / 328.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.01193, allocations: 74.72 kB / 328.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.01205, allocations: 60.56 kB / 328.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.01254, allocations: 309.4 kB / 328.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.01258, allocations: 33.38 kB / 328.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.592e-05/0.01268, allocations: 48.33 kB / 328.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.01379, allocations: 0.6117 MB / 329.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.01381, allocations: 8.125 kB / 329.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.01385, allocations: 19.94 kB / 329.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/0.01386, allocations: 12 kB / 329.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007893/0.01465, allocations: 0.6011 MB / 330 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.01612, allocations: 1.154 MB / 331.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.0168, allocations: 429.6 kB / 331.6 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.01716, allocations: 298.2 kB / 331.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.0172, allocations: 4.5 kB / 331.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.01722, allocations: 39.06 kB / 331.9 MB, free: 9.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.495e-06/0.01723, allocations: 4 kB / 331.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=64): time 0.003975/0.0212, allocations: 2.482 MB / 334.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.02124, allocations: 56.06 kB / 334.5 MB, free: 6.742 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.0215, allocations: 341.6 kB / 334.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.02154, allocations: 49.69 kB / 334.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.02164, allocations: 189.6 kB / 335 MB, free: 6.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.02176, allocations: 234.1 kB / 335.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.02191, allocations: 130.6 kB / 335.4 MB, free: 5.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.022, allocations: 358.7 kB / 335.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.02241, allocations: 329.8 kB / 336.1 MB, free: 5.113 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.02283, allocations: 377 kB / 336.4 MB, free: 4.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.02346, allocations: 0.5028 MB / 336.9 MB, free: 4.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.02346, allocations: 4 kB / 336.9 MB, free: 4.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001147/0.02461, allocations: 0.9234 MB / 337.9 MB, free: 3.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.02463, allocations: 7.938 kB / 337.9 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.02464, allocations: 4 kB / 337.9 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008548/0.02549, allocations: 0.7416 MB / 338.6 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.02572, allocations: 95.89 kB / 338.7 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009596/0.02668, allocations: 1.083 MB / 339.8 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.0272, allocations: 107.9 kB / 339.9 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.02724, allocations: 27.98 kB / 339.9 MB, free: 1.203 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 (clutch3.mode,$PRE.clutch3.mode,clutch3.locked,clutch3.startBackward,$PRE.clutch3.startBackward,clutch3.startForward,$PRE.clutch3.startForward,clutch3.free,clutch2.mode,$PRE.clutch2.mode,clutch2.locked,clutch2.startBackward,$PRE.clutch2.startBackward,clutch2.startForward,$PRE.clutch2.startForward,clutch2.free,clutch1.mode,$PRE.clutch1.mode,clutch1.locked,clutch1.startBackward,$PRE.clutch1.startBackward,clutch1.startForward,$PRE.clutch1.startForward,clutch1.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.02745, allocations: 180.4 kB / 340.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.02751, allocations: 51.72 kB / 340.2 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.519e-05/0.02759, allocations: 72.75 kB / 340.2 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.02759, allocations: 4 kB / 340.2 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.0276, allocations: 0 / 340.2 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.0276, allocations: 3.984 kB / 340.2 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.02935, allocations: 1.449 MB / 341.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.02935, allocations: 4 kB / 341.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.02958, allocations: 83.89 kB / 341.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000718/0.0303, allocations: 0.7112 MB / 342.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.03034, allocations: 27.97 kB / 342.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008796/0.03122, allocations: 1.059 MB / 343.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.03122, allocations: 0 / 343.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.03276, allocations: 1.3 MB / 344.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.03293, allocations: 115.6 kB / 345 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.688e-05/0.033, allocations: 24 kB / 345 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.03331, allocations: 107.8 kB / 345.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.03348, allocations: 132.3 kB / 345.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.03352, allocations: 31.97 kB / 345.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.03367, allocations: 231.2 kB / 345.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03367, allocations: 0 / 345.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.03404, allocations: 160 kB / 345.6 MB, free: 11.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,J3.phi,J3.w,clutch3.phi_rel,clutch3.w_rel) * Number of discrete variables: 15 (clutch1.free,clutch1.startForward,clutch1.startBackward,clutch1.locked,clutch1.mode,clutch2.free,clutch2.startForward,clutch2.startBackward,clutch2.locked,clutch2.mode,clutch3.free,clutch3.startForward,clutch3.startBackward,clutch3.locked,clutch3.mode) * Number of discrete states: 9 (clutch3.mode,clutch3.startForward,clutch1.mode,clutch1.startForward,clutch1.startBackward,clutch2.mode,clutch2.startForward,clutch2.startBackward,clutch3.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001987/0.03603, allocations: 1.879 MB / 347.5 MB, free: 9.445 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.03706, allocations: 0.7224 MB / 348.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.03706, allocations: 0 / 348.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004988/0.03756, allocations: 414.1 kB / 348.7 MB, free: 8.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.038, allocations: 112.5 kB / 348.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/0.04359, allocations: 5.338 MB / 354.1 MB, free: 2.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.04399, allocations: 241.6 kB / 354.3 MB, free: 2.512 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.04412, allocations: 56.16 kB / 354.4 MB, free: 2.457 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.04429, allocations: 152.4 kB / 354.5 MB, free: 2.309 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.04429, allocations: 0 / 354.5 MB, free: 2.309 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0865/0.1308, allocations: 16.85 MB / 371.4 MB, free: 1.691 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.331, allocations: 2.812 kB / 371.4 MB, free: 1.691 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/CoupledClutches/CoupledClutches.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.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/CoupledClutches/CoupledClutches.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,J1.phi,J1.w,clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,clutch3.phi_rel,clutch3.w_rel,clutch1.mode,clutch1.startBackward,clutch1.startForward,clutch2.mode,clutch2.startBackward,clutch2.startForward,clutch3.mode,clutch3.startBackward,clutch3.startForward Variables in the result:J1.J,J1.a,J1.flange_a.phi,J1.flange_a.tau,J1.flange_b.phi,J1.flange_b.tau,J1.phi,J1.stateSelect,J1.w,J2.J,J2.a,J2.flange_a.phi,J2.flange_a.tau,J2.flange_b.phi,J2.flange_b.tau,J2.phi,J2.stateSelect,J2.w,J3.J,J3.a,J3.flange_a.phi,J3.flange_a.tau,J3.flange_b.phi,J3.flange_b.tau,J3.phi,J3.stateSelect,J3.w,J4.J,J4.a,J4.flange_a.phi,J4.flange_a.tau,J4.flange_b.phi,J4.flange_b.tau,J4.phi,J4.stateSelect,J4.w,T2,T3,clutch1.a_rel,clutch1.a_relfric,clutch1.cgeo,clutch1.f_normalized,clutch1.flange_a.phi,clutch1.flange_a.tau,clutch1.flange_b.phi,clutch1.flange_b.tau,clutch1.fn,clutch1.fn_max,clutch1.free,clutch1.locked,clutch1.lossPower,clutch1.mode,clutch1.mu0,clutch1.mu_pos[1,1],clutch1.mu_pos[1,2],clutch1.peak,clutch1.phi_nominal,clutch1.phi_rel,clutch1.sa,clutch1.startBackward,clutch1.startForward,clutch1.stateSelect,clutch1.tau,clutch1.tau0,clutch1.tau0_max,clutch1.useHeatPort,clutch1.w_rel,clutch1.w_relfric,clutch1.w_small,clutch2.a_rel,clutch2.a_relfric,clutch2.cgeo,clutch2.f_normalized,clutch2.flange_a.phi,clutch2.flange_a.tau,clutch2.flange_b.phi,clutch2.flange_b.tau,clutch2.fn,clutch2.fn_max,clutch2.free,clutch2.locked,clutch2.lossPower,clutch2.mode,clutch2.mu0,clutch2.mu_pos[1,1],clutch2.mu_pos[1,2],clutch2.peak,clutch2.phi_nominal,clutch2.phi_rel,clutch2.sa,clutch2.startBackward,clutch2.startForward,clutch2.stateSelect,clutch2.tau,clutch2.tau0,clutch2.tau0_max,clutch2.useHeatPort,clutch2.w_rel,clutch2.w_relfric,clutch2.w_small,clutch3.a_rel,clutch3.a_relfric,clutch3.cgeo,clutch3.f_normalized,clutch3.flange_a.phi,clutch3.flange_a.tau,clutch3.flange_b.phi,clutch3.flange_b.tau,clutch3.fn,clutch3.fn_max,clutch3.free,clutch3.locked,clutch3.lossPower,clutch3.mode,clutch3.mu0,clutch3.mu_pos[1,1],clutch3.mu_pos[1,2],clutch3.peak,clutch3.phi_nominal,clutch3.phi_rel,clutch3.sa,clutch3.startBackward,clutch3.startForward,clutch3.stateSelect,clutch3.tau,clutch3.tau0,clutch3.tau0_max,clutch3.useHeatPort,clutch3.w_rel,clutch3.w_relfric,clutch3.w_small,der(J1.phi),der(J1.w),der(J2.phi),der(J2.w),der(J3.phi),der(J3.w),der(J4.phi),der(J4.w),der(clutch1.phi_rel),der(clutch1.w_rel),der(clutch2.phi_rel),der(clutch2.w_rel),der(clutch3.phi_rel),der(clutch3.w_rel),f,fixed.flange.phi,fixed.flange.tau,fixed.phi0,sin1.amplitude,sin1.f,sin1.offset,sin1.phase,sin1.startTime,sin1.y,sin2.amplitude,sin2.f,sin2.offset,sin2.phase,sin2.startTime,sin2.y,step1.height,step1.offset,step1.startTime,step1.y,step2.height,step2.offset,step2.startTime,step2.y,time,torque.flange.phi,torque.flange.tau,torque.support.phi,torque.support.tau,torque.tau,torque.useSupport filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode.diff.mat", vars={"clutch1.startBackward", "clutch1.mode"}, 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/Rotational/Examples/CoupledClutches/CoupledClutches.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode.diff.ref.mat", vars={"clutch1.startBackward", "clutch1.mode"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/CoupledClutches/CoupledClutches.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,J1.phi,J1.w,clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,clutch3.phi_rel,clutch3.w_rel,clutch1.mode,clutch1.startBackward,clutch1.startForward,clutch2.mode,clutch2.startBackward,clutch2.startForward,clutch3.mode,clutch3.startBackward,clutch3.startForward Variables in the result:J1.J,J1.a,J1.flange_a.phi,J1.flange_a.tau,J1.flange_b.phi,J1.flange_b.tau,J1.phi,J1.stateSelect,J1.w,J2.J,J2.a,J2.flange_a.phi,J2.flange_a.tau,J2.flange_b.phi,J2.flange_b.tau,J2.phi,J2.stateSelect,J2.w,J3.J,J3.a,J3.flange_a.phi,J3.flange_a.tau,J3.flange_b.phi,J3.flange_b.tau,J3.phi,J3.stateSelect,J3.w,J4.J,J4.a,J4.flange_a.phi,J4.flange_a.tau,J4.flange_b.phi,J4.flange_b.tau,J4.phi,J4.stateSelect,J4.w,T2,T3,clutch1.a_rel,clutch1.a_relfric,clutch1.cgeo,clutch1.f_normalized,clutch1.flange_a.phi,clutch1.flange_a.tau,clutch1.flange_b.phi,clutch1.flange_b.tau,clutch1.fn,clutch1.fn_max,clutch1.free,clutch1.locked,clutch1.lossPower,clutch1.mode,clutch1.mu0,clutch1.mu_pos[1,1],clutch1.mu_pos[1,2],clutch1.peak,clutch1.phi_nominal,clutch1.phi_rel,clutch1.sa,clutch1.startBackward,clutch1.startForward,clutch1.stateSelect,clutch1.tau,clutch1.tau0,clutch1.tau0_max,clutch1.useHeatPort,clutch1.w_rel,clutch1.w_relfric,clutch1.w_small,clutch2.a_rel,clutch2.a_relfric,clutch2.cgeo,clutch2.f_normalized,clutch2.flange_a.phi,clutch2.flange_a.tau,clutch2.flange_b.phi,clutch2.flange_b.tau,clutch2.fn,clutch2.fn_max,clutch2.free,clutch2.locked,clutch2.lossPower,clutch2.mode,clutch2.mu0,clutch2.mu_pos[1,1],clutch2.mu_pos[1,2],clutch2.peak,clutch2.phi_nominal,clutch2.phi_rel,clutch2.sa,clutch2.startBackward,clutch2.startForward,clutch2.stateSelect,clutch2.tau,clutch2.tau0,clutch2.tau0_max,clutch2.useHeatPort,clutch2.w_rel,clutch2.w_relfric,clutch2.w_small,clutch3.a_rel,clutch3.a_relfric,clutch3.cgeo,clutch3.f_normalized,clutch3.flange_a.phi,clutch3.flange_a.tau,clutch3.flange_b.phi,clutch3.flange_b.tau,clutch3.fn,clutch3.fn_max,clutch3.free,clutch3.locked,clutch3.lossPower,clutch3.mode,clutch3.mu0,clutch3.mu_pos[1,1],clutch3.mu_pos[1,2],clutch3.peak,clutch3.phi_nominal,clutch3.phi_rel,clutch3.sa,clutch3.startBackward,clutch3.startForward,clutch3.stateSelect,clutch3.tau,clutch3.tau0,clutch3.tau0_max,clutch3.useHeatPort,clutch3.w_rel,clutch3.w_relfric,clutch3.w_small,der(J1.phi),der(J1.w),der(J2.phi),der(J2.w),der(J3.phi),der(J3.w),der(J4.phi),der(J4.w),der(clutch1.phi_rel),der(clutch1.w_rel),der(clutch2.phi_rel),der(clutch2.w_rel),der(clutch3.phi_rel),der(clutch3.w_rel),f,fixed.flange.phi,fixed.flange.tau,fixed.phi0,sin1.amplitude,sin1.f,sin1.offset,sin1.phase,sin1.startTime,sin1.y,sin2.amplitude,sin2.f,sin2.offset,sin2.phase,sin2.startTime,sin2.y,step1.height,step1.offset,step1.startTime,step1.y,step2.height,step2.offset,step2.startTime,step2.y,time,torque.flange.phi,torque.flange.tau,torque.support.phi,torque.support.tau,torque.tau,torque.useSupport filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.diff.mat", vars={"clutch1.startBackward", "clutch1.mode"}, 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/Rotational/Examples/CoupledClutches/CoupledClutches.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.diff.ref.mat", vars={"clutch1.startBackward", "clutch1.mode"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy_res.csv --output-variables J1.phi J1.w clutch1.phi_rel clutch1.w_rel clutch2.phi_rel clutch2.w_rel clutch3.phi_rel clutch3.w_rel clutch1.mode clutch1.startBackward clutch1.startForward clutch2.mode clutch2.startBackward clutch2.startForward clutch3.mode clutch3.startBackward clutch3.startForward --start-time 0 --stop-time 1.5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/CoupledClutches/CoupledClutches.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.053505789488554]