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.001424/0.001424, 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.001412/0.001412, allocations: 157.4 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.8553/0.8553, allocations: 173.4 MB / 200.4 MB, free: 9.465 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.Friction,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction",fmuType="me_cs",version="2.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",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 320 MB, free: 5.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.181e-05, allocations: 2.281 kB / 320 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.003817/0.003829, allocations: 2.818 MB / 322.8 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.005469, allocations: 0.9075 MB / 323.7 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.005722, allocations: 11.94 kB / 323.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.005966, allocations: 67.31 kB / 323.8 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.006244, allocations: 146.7 kB / 323.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.006876, allocations: 227.5 kB / 324.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.007505, allocations: 0.6508 MB / 324.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.007711, allocations: 96.66 kB / 324.9 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000503/0.008214, allocations: 383.2 kB / 325.3 MB, free: 168 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.008576, allocations: 251.4 kB / 325.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.848e-05/0.008665, allocations: 48 kB / 325.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.008868, allocations: 91.94 kB / 325.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.008998, allocations: 131.5 kB / 325.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.009186, allocations: 175.6 kB / 326 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006766/0.009863, allocations: 0.6464 MB / 326.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.009866, allocations: 0 / 326.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009867, allocations: 0 / 326.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.009877, allocations: 4 kB / 326.6 MB, free: 14.83 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001283/0.01116, allocations: 0.7148 MB / 327.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.0112, allocations: 8.922 kB / 327.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.01135, allocations: 95.58 kB / 327.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.01146, allocations: 56.61 kB / 327.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.01191, allocations: 268.4 kB / 327.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.01195, allocations: 29.38 kB / 327.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/0.01203, allocations: 48.33 kB / 327.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/0.01295, allocations: 486.9 kB / 328.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.01297, allocations: 192 / 328.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/0.01302, allocations: 20.12 kB / 328.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.01303, allocations: 8 kB / 328.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.01404, allocations: 479.7 kB / 328.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.01606, allocations: 0.9936 MB / 329.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/0.01685, allocations: 371.4 kB / 330.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.01736, allocations: 250.2 kB / 330.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.0174, allocations: 12.5 kB / 330.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.01742, allocations: 35.06 kB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 2.194e-06/0.01742, allocations: 4 kB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.004699/0.02212, allocations: 2.037 MB / 332.5 MB, free: 8.766 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.02216, allocations: 59.91 kB / 332.5 MB, free: 8.695 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.02243, allocations: 288.6 kB / 332.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.0225, allocations: 41.7 kB / 332.9 MB, free: 8.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.02266, allocations: 197.5 kB / 333.1 MB, free: 8.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.02285, allocations: 206.3 kB / 333.3 MB, free: 7.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.02307, allocations: 102.3 kB / 333.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.02321, allocations: 346.8 kB / 333.7 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005867/0.0238, allocations: 245.2 kB / 333.9 MB, free: 7.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.02412, allocations: 296.7 kB / 334.2 MB, free: 6.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.02461, allocations: 414.1 kB / 334.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.02462, allocations: 0 / 334.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001003/0.02562, allocations: 0.7835 MB / 335.4 MB, free: 5.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.02563, allocations: 8 kB / 335.4 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.02564, allocations: 0 / 335.4 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/0.02621, allocations: 0.4973 MB / 335.9 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.0264, allocations: 87.89 kB / 336 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000825/0.02723, allocations: 1.409 MB / 337.4 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.02747, allocations: 71.91 kB / 337.5 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.0275, allocations: 23.98 kB / 337.5 MB, free: 3.613 MB / 298.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.0001364/0.02763, allocations: 161.8 kB / 337.7 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.02768, allocations: 51.66 kB / 337.7 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.894e-05/0.02774, allocations: 59.73 kB / 337.8 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.02775, allocations: 4 kB / 337.8 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.02775, allocations: 4 kB / 337.8 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02776, allocations: 3.984 kB / 337.8 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.02965, allocations: 1.351 MB / 339.1 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.02965, allocations: 3.938 kB / 339.1 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.02986, allocations: 88.05 kB / 339.2 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/0.03033, allocations: 481.4 kB / 339.7 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.03036, allocations: 23.95 kB / 339.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000736/0.0311, allocations: 1.374 MB / 341.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.0311, allocations: 0 / 341.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.03236, allocations: 1.088 MB / 342.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.03248, allocations: 87.75 kB / 342.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.03254, allocations: 24.16 kB / 342.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.03275, allocations: 71.86 kB / 342.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.03288, allocations: 92.31 kB / 342.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.0329, allocations: 19.98 kB / 342.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.03303, allocations: 207.1 kB / 342.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03303, allocations: 3.938 kB / 342.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002967/0.03333, allocations: 132 kB / 342.8 MB, free: 14.13 MB / 314.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.001505/0.03483, allocations: 1.678 MB / 344.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007543/0.03559, allocations: 0.5538 MB / 345 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03559, allocations: 3.938 kB / 345 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.036, allocations: 326.6 kB / 345.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.03636, allocations: 76.92 kB / 345.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.04206, allocations: 4.889 MB / 350.3 MB, free: 6.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.0422, allocations: 224.9 kB / 350.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.0423, allocations: 35.28 kB / 350.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.04244, allocations: 140.4 kB / 350.7 MB, free: 6.02 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.04244, allocations: 0 / 350.7 MB, free: 6.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07931/0.1218, allocations: 13.41 MB / 364.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.257, allocations: 7.938 kB / 364.1 MB, free: 8.809 MB / 330.7 MB " [Timeout remaining time 652] (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] "" 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.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(inertia1.phi),der(inertia1.w),der(inertia2.phi),der(inertia2.w),der(inertia3.phi),der(inertia3.w),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-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-cvode.diff.mat", vars={"clutch.startBackward", "clutch.mode", "spring.w_rel", "spring.phi_rel", "inertia3.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Friction/Friction.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_OMSimulator-cs-cvode.diff.ref.mat", vars={"clutch.startBackward", "clutch.mode", "spring.w_rel", "spring.phi_rel", "inertia3.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (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.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(inertia1.phi),der(inertia1.w),der(inertia2.phi),der(inertia2.w),der(inertia3.phi),der(inertia3.w),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={"clutch.startBackward", "clutch.mode", "spring.w_rel", "spring.phi_rel", "inertia3.w", "inertia3.phi", "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={"clutch.startBackward", "clutch.mode", "spring.w_rel", "spring.phi_rel", "inertia3.w", "inertia3.phi", "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] "" 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:time,clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia3.phi,inertia3.w,brake.mode,clutch.mode,brake.startBackward,brake.startForward,clutch.startBackward,clutch.startForward filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_fmpy.diff.mat", vars={"clutch.mode", "brake.mode", "spring.w_rel", "spring.phi_rel", "inertia3.w", "inertia3.phi", "clutch.w_rel", "clutch.phi_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_fmpy.diff.ref.mat", vars={"clutch.mode", "brake.mode", "spring.w_rel", "spring.phi_rel", "inertia3.w", "inertia3.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 10.98453408293426]