Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.000766/0.000766, allocations: 72.17 kB / 9.897 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009771/0.001743, allocations: 449.7 kB / 10.34 MB, free: 360 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007262/0.0007262, allocations: 161.1 kB / 11.22 MB, free: 2.945 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000894/0.00162, allocations: 459.6 kB / 11.67 MB, free: 2.492 MB / 13.93 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.9802/0.9802, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0727/1.053, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.Rotational.Examples.CoupledClutches,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.CoupledClutches,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 244.4 MB, free: 14.37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.945e-06/9.067e-06, allocations: 12.92 kB / 244.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.002715/0.002724, allocations: 3.238 MB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.00398, allocations: 1.262 MB / 248.9 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.004104, allocations: 7.938 kB / 249 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.004286, allocations: 103.1 kB / 249.1 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.004547, allocations: 234.2 kB / 249.3 MB, free: 9.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.004839, allocations: 275.5 kB / 249.6 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004872/0.005326, allocations: 0.8579 MB / 250.4 MB, free: 8.352 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.005461, allocations: 94.2 kB / 250.5 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006677/0.006129, allocations: 0.5722 MB / 251.1 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.006427, allocations: 339.2 kB / 251.4 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.006e-05/0.006497, allocations: 64 kB / 251.5 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.006652, allocations: 123.9 kB / 251.6 MB, free: 7.172 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.006761, allocations: 119.6 kB / 251.7 MB, free: 7.055 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.006894, allocations: 179.6 kB / 251.9 MB, free: 6.879 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.007319, allocations: 0.5333 MB / 252.4 MB, free: 6.344 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.00733, allocations: 0 / 252.4 MB, free: 6.344 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.00733, allocations: 0 / 252.4 MB, free: 6.344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.007341, allocations: 0 / 252.4 MB, free: 6.344 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009626/0.008304, allocations: 0.951 MB / 253.4 MB, free: 5.359 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.008335, allocations: 8.031 kB / 253.4 MB, free: 5.352 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.591e-05/0.008401, allocations: 90.64 kB / 253.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.00861, allocations: 166 kB / 253.6 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.008907, allocations: 292.4 kB / 253.9 MB, free: 4.762 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.00894, allocations: 37.38 kB / 253.9 MB, free: 4.723 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.008999, allocations: 60.3 kB / 254 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.009451, allocations: 466.3 kB / 254.5 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.009467, allocations: 8.141 kB / 254.5 MB, free: 4.188 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.009499, allocations: 19.94 kB / 254.5 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.009507, allocations: 8 kB / 254.5 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.00983, allocations: 254.8 kB / 254.7 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.01088, allocations: 0.8898 MB / 255.6 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.01129, allocations: 298.2 kB / 255.9 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.01144, allocations: 130.7 kB / 256.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.01148, allocations: 16.66 kB / 256.1 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.0115, allocations: 39.22 kB / 256.1 MB, free: 2.484 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.813e-06/0.0115, allocations: 0 / 256.1 MB, free: 2.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.002484/0.01399, allocations: 1.631 MB / 257.7 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.01401, allocations: 60 kB / 257.8 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.0142, allocations: 321 kB / 258.1 MB, free: 424 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.01424, allocations: 53.69 kB / 258.2 MB, free: 364 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.0143, allocations: 162.3 kB / 258.3 MB, free: 196 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.01444, allocations: 266 kB / 258.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.01457, allocations: 138.5 kB / 258.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.01465, allocations: 366.7 kB / 259.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.01481, allocations: 118 kB / 259.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.01498, allocations: 185.4 kB / 259.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.01525, allocations: 291.7 kB / 259.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01525, allocations: 0 / 259.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005689/0.01582, allocations: 0.4921 MB / 260.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.01583, allocations: 4 kB / 260.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01584, allocations: 3.938 kB / 260.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000504/0.01634, allocations: 404.5 kB / 260.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.01653, allocations: 103.9 kB / 260.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005683/0.0171, allocations: 0.7787 MB / 261.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.01732, allocations: 71.91 kB / 261.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.01736, allocations: 23.98 kB / 261.5 MB, free: 12.91 MB / 266.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 (61): * Single equations (assignments): 60 * 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,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.01749, allocations: 154.6 kB / 261.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.01756, allocations: 56 kB / 261.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.897e-05/0.01763, allocations: 89 kB / 261.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01763, allocations: 4 kB / 261.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.01763, allocations: 4 kB / 261.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01764, allocations: 3.984 kB / 261.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/0.01863, allocations: 0.8765 MB / 262.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01864, allocations: 0 / 262.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.01886, allocations: 103.8 kB / 262.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.019, allocations: 79.61 kB / 262.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/0.01945, allocations: 400.5 kB / 263.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.01949, allocations: 23.97 kB / 263.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005347/0.02002, allocations: 0.77 MB / 264.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02003, allocations: 4 kB / 264.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/0.02078, allocations: 0.7203 MB / 264.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/0.02108, allocations: 20 kB / 264.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.0213, allocations: 75.91 kB / 264.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.02147, allocations: 140.4 kB / 265 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.0215, allocations: 23.95 kB / 265 MB, free: 9.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.942e-05/0.02159, allocations: 128.7 kB / 265.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02159, allocations: 3.938 kB / 265.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.02185, allocations: 160 kB / 265.3 MB, free: 9 MB / 266.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,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/0.0231, allocations: 1.183 MB / 266.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005183/0.02362, allocations: 446.1 kB / 267 MB, free: 7.594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.02362, allocations: 4 kB / 267 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.02391, allocations: 286.8 kB / 267.2 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.02429, allocations: 212.1 kB / 267.4 MB, free: 7.102 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.02973, allocations: 2.843 MB / 270.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.033e-05/0.0298, allocations: 138.8 kB / 270.4 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.02991, allocations: 56.41 kB / 270.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.03019, allocations: 277.2 kB / 270.7 MB, free: 3.707 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03019, allocations: 0 / 270.7 MB, free: 3.707 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.1305/0.1607, allocations: 22.21 MB / 293 MB, free: 15.69 MB / 266.7 MB Notification: FMU-only work: backend 0.0003025, simCode 0.001347, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0756/0.2363, allocations: 1.555 MB / 294.5 MB, free: 14.06 MB / 266.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.146/3.382, allocations: 23.38 kB / 294.5 MB, free: 14.04 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.mu,clutch1.mu_pos[1,1],clutch1.mu_pos[1,2],clutch1.peak,clutch1.phi_nominal,clutch1.phi_rel,clutch1.sa,clutch1.smoothness,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.mu,clutch2.mu_pos[1,1],clutch2.mu_pos[1,2],clutch2.peak,clutch2.phi_nominal,clutch2.phi_rel,clutch2.sa,clutch2.smoothness,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.mu,clutch3.mu_pos[1,1],clutch3.mu_pos[1,2],clutch3.peak,clutch3.phi_nominal,clutch3.phi_rel,clutch3.sa,clutch3.smoothness,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.flange_a.phi),der(J3.flange_b.phi),der(J3.phi),der(J3.w),der(J4.phi),der(J4.w),der(clutch1.phi_rel),der(clutch1.w_rel),der(clutch1.w_relfric),der(clutch2.flange_b.phi),der(clutch2.phi_rel),der(clutch2.w_rel),der(clutch2.w_relfric),der(clutch3.flange_a.phi),der(clutch3.phi_rel),der(clutch3.w_rel),der(clutch3.w_relfric),f,fixed.flange.phi,fixed.flange.tau,fixed.phi0,sin1.amplitude,sin1.continuous,sin1.f,sin1.offset,sin1.phase,sin1.startTime,sin1.y,sin2.amplitude,sin2.continuous,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.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.diff.mat", vars={"clutch1.mode"}, 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/Rotational/Examples/CoupledClutches/CoupledClutches.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_OMSimulator-cs-euler.diff.ref.mat", vars={"clutch1.mode"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy-fmi3-cs-cvode_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 CoSimulation --output-interval 0.001 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_CoupledClutches_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 6.095314576290548]