Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.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.001015/0.001015, allocations: 76.47 kB / 9.889 MB, free: 0.8047 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001647/0.002662, allocations: 441.7 kB / 10.32 MB, free: 384 kB / 10.45 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.001146/0.001146, allocations: 136.9 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002579, allocations: 463.6 kB / 11.65 MB, free: 2.527 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.9651/0.9651, allocations: 173.4 MB / 185.7 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08018/1.045, allocations: 52.5 MB / 238.2 MB, free: 4.438 MB / 234.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.Friction,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Friction,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 239.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.877e-05, allocations: 6.312 kB / 239.5 MB, free: 3.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.003028/0.003046, allocations: 3.04 MB / 242.5 MB, free: 168 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.004501, allocations: 0.9424 MB / 243.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.004676, allocations: 7.938 kB / 243.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.004842, allocations: 67.31 kB / 243.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.005069, allocations: 146.8 kB / 243.7 MB, free: 15 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.005507, allocations: 219.5 kB / 243.9 MB, free: 14.78 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.006042, allocations: 0.6469 MB / 244.5 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.00621, allocations: 85.34 kB / 244.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004773/0.006687, allocations: 427.7 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.00699, allocations: 243.4 kB / 245.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.116e-05/0.007051, allocations: 56 kB / 245.3 MB, free: 13.33 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.007243, allocations: 99.95 kB / 245.4 MB, free: 13.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.066e-05/0.007324, allocations: 83.69 kB / 245.5 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.00745, allocations: 135.8 kB / 245.6 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.007867, allocations: 402.6 kB / 246 MB, free: 12.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.007882, allocations: 0 / 246 MB, free: 12.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007883, allocations: 0 / 246 MB, free: 12.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.007896, allocations: 0 / 246 MB, free: 12.62 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0008964/0.008792, allocations: 0.7723 MB / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.008831, allocations: 12.03 kB / 246.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.00894, allocations: 87.59 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.707e-05/0.009027, allocations: 64.89 kB / 247 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.009304, allocations: 236.5 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.009337, allocations: 33.38 kB / 247.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.009389, allocations: 48.31 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.009813, allocations: 359.5 kB / 247.6 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.00983, allocations: 4.188 kB / 247.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.009861, allocations: 20.12 kB / 247.6 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.00987, allocations: 8 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.01014, allocations: 202.8 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.01123, allocations: 0.7402 MB / 248.6 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.01159, allocations: 255.6 kB / 248.8 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.01175, allocations: 118.3 kB / 249 MB, free: 9.582 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.01178, allocations: 8.5 kB / 249 MB, free: 9.574 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.01181, allocations: 47.05 kB / 249 MB, free: 9.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=50): time 1.783e-06/0.01181, allocations: 0 / 249 MB, free: 9.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.00207/0.01388, allocations: 1.359 MB / 250.4 MB, free: 8.105 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.01391, allocations: 59.91 kB / 250.4 MB, free: 8.035 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.01406, allocations: 259 kB / 250.7 MB, free: 7.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.0141, allocations: 41.7 kB / 250.7 MB, free: 7.723 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.01416, allocations: 170 kB / 250.9 MB, free: 7.555 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.01427, allocations: 206.2 kB / 251.1 MB, free: 7.352 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.01439, allocations: 110.2 kB / 251.2 MB, free: 7.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.01448, allocations: 350.7 kB / 251.5 MB, free: 6.887 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.01462, allocations: 101.3 kB / 251.6 MB, free: 6.789 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.01476, allocations: 144.8 kB / 251.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.01501, allocations: 249.9 kB / 252 MB, free: 6.391 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01501, allocations: 0 / 252 MB, free: 6.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005665/0.01557, allocations: 434.7 kB / 252.4 MB, free: 5.953 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01559, allocations: 4 kB / 252.5 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.0156, allocations: 4 kB / 252.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004706/0.01607, allocations: 401.3 kB / 252.8 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.01627, allocations: 99.89 kB / 252.9 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006337/0.01691, allocations: 1.202 MB / 254.1 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.0171, allocations: 60 kB / 254.2 MB, free: 4.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.01713, allocations: 15.98 kB / 254.2 MB, free: 4.121 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.01725, allocations: 144.5 kB / 254.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.01731, allocations: 51.89 kB / 254.4 MB, free: 3.918 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.01737, allocations: 55.73 kB / 254.5 MB, free: 3.863 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01737, allocations: 8 kB / 254.5 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01738, allocations: 0 / 254.5 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01738, allocations: 0 / 254.5 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.01852, allocations: 0.8842 MB / 255.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01852, allocations: 0 / 255.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.01873, allocations: 91.89 kB / 255.5 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.01885, allocations: 55.73 kB / 255.5 MB, free: 2.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/0.01928, allocations: 397.5 kB / 255.9 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.01931, allocations: 23.97 kB / 255.9 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005868/0.0199, allocations: 1.202 MB / 257.1 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.0199, allocations: 0 / 257.1 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.02061, allocations: 0.6474 MB / 257.8 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.02067, allocations: 23.98 kB / 257.8 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.02083, allocations: 43.89 kB / 257.8 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.02096, allocations: 96.25 kB / 257.9 MB, free: 260 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.02099, allocations: 19.97 kB / 257.9 MB, free: 240 kB / 250.7 MB Notification: Performance of sorting global known variables: time 7.808e-05/0.02107, allocations: 96.62 kB / 258 MB, free: 140 kB / 250.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.02107, allocations: 0 / 258 MB, free: 140 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003036/0.02137, allocations: 143.9 kB / 258.2 MB, free: 15.99 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia1.phi,inertia1.w) * Number of discrete variables: 10 (clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,clutch.free) * Number of discrete states: 6 (clutch.mode,clutch.startForward,clutch.startBackward,brake.mode,brake.startBackward,brake.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009563/0.02233, allocations: 1.147 MB / 259.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004666/0.02279, allocations: 339.5 kB / 259.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.0228, allocations: 4 kB / 259.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.02304, allocations: 218.1 kB / 259.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.02339, allocations: 142.8 kB / 260 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.02665, allocations: 2.722 MB / 262.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.525e-05/0.02672, allocations: 118.4 kB / 262.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.02683, allocations: 43.27 kB / 262.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.02707, allocations: 231.3 kB / 263.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02707, allocations: 7.938 kB / 263.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.1436/0.1706, allocations: 17.66 MB / 280.8 MB, free: 27.88 MB / 266.7 MB Notification: FMU-only work: backend 0.0007849, simCode 0.001339, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09805/0.2687, allocations: 1.334 MB / 282.1 MB, free: 26.52 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.096/3.365, allocations: 20.3 kB / 282.1 MB, free: 26.51 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Friction/Friction.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.Friction_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_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.Friction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Friction/Friction.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.Friction_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_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.Friction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Friction/Friction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,inertia3.phi,inertia3.w,spring.phi_rel,spring.w_rel,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:brake.a,brake.a_relfric,brake.cgeo,brake.f_normalized,brake.flange_a.phi,brake.flange_a.tau,brake.flange_b.phi,brake.flange_b.tau,brake.fn,brake.fn_max,brake.free,brake.locked,brake.lossPower,brake.mode,brake.mu0,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.phi,brake.sa,brake.startBackward,brake.startForward,brake.support.phi,brake.support.tau,brake.tau,brake.tau0,brake.tau0_max,brake.useHeatPort,brake.useSupport,brake.w,brake.w_relfric,brake.w_small,clutch.a_rel,clutch.a_relfric,clutch.cgeo,clutch.f_normalized,clutch.flange_a.phi,clutch.flange_a.tau,clutch.flange_b.phi,clutch.flange_b.tau,clutch.fn,clutch.fn_max,clutch.free,clutch.locked,clutch.lossPower,clutch.mode,clutch.mu0,clutch.mu_pos[1,1],clutch.mu_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const.k,const.y,der(brake.flange_a.phi),der(brake.flange_b.phi),der(brake.phi),der(brake.w),der(brake.w_relfric),der(clutch.phi_rel),der(clutch.w_rel),der(clutch.w_relfric),der(inertia1.flange_a.phi),der(inertia1.flange_b.phi),der(inertia1.phi),der(inertia1.w),der(inertia2.phi),der(inertia2.w),der(inertia3.phi),der(inertia3.w),der(spring.flange_b.phi),der(spring.phi_rel),der(spring.w_rel),fixed.flange.phi,fixed.flange.tau,fixed.phi0,inertia1.J,inertia1.a,inertia1.flange_a.phi,inertia1.flange_a.tau,inertia1.flange_b.phi,inertia1.flange_b.tau,inertia1.phi,inertia1.stateSelect,inertia1.w,inertia2.J,inertia2.a,inertia2.flange_a.phi,inertia2.flange_a.tau,inertia2.flange_b.phi,inertia2.flange_b.tau,inertia2.phi,inertia2.stateSelect,inertia2.w,inertia3.J,inertia3.a,inertia3.flange_a.phi,inertia3.flange_a.tau,inertia3.flange_b.phi,inertia3.flange_b.tau,inertia3.phi,inertia3.stateSelect,inertia3.w,product.u1,product.u2,product.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,spring.a_rel,spring.c,spring.d,spring.flange_a.phi,spring.flange_a.tau,spring.flange_b.phi,spring.flange_b.tau,spring.lossPower,spring.phi_nominal,spring.phi_rel,spring.phi_rel0,spring.stateSelect,spring.tau,spring.useHeatPort,spring.w_rel,startTime,step.height,step.offset,step.startTime,step.y,step2.height,step2.offset,step2.startTime,step2.y,tBrake,tClutch,tMotor,tSpring,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.Friction_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-euler.diff.mat", vars={"spring.w_rel", "spring.phi_rel", "clutch.w_rel"}, 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/Friction/Friction.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-euler.diff.ref.mat", vars={"spring.w_rel", "spring.phi_rel", "clutch.w_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy_res.csv --output-variables clutch.phi_rel clutch.w_rel inertia3.phi inertia3.w spring.phi_rel spring.w_rel brake.mode brake.startBackward brake.startForward clutch.mode clutch.startBackward clutch.startForward --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Friction/Friction.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.Friction_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy-fmi3-cs-cvode_res.csv --output-variables clutch.phi_rel clutch.w_rel inertia3.phi inertia3.w spring.phi_rel spring.w_rel brake.mode brake.startBackward brake.startForward clutch.mode clutch.startBackward clutch.startForward --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Friction/Friction.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.1634888192638755]