Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.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.0007294/0.0007294, allocations: 68.5 kB / 9.894 MB, free: 0.7969 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009748/0.001704, allocations: 453.6 kB / 10.34 MB, free: 364 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.0006634/0.0006634, allocations: 144.9 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008734/0.001537, allocations: 459.6 kB / 11.66 MB, free: 2.512 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.8957/0.8957, allocations: 173.3 MB / 185.7 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07446/0.9701, allocations: 52.5 MB / 238.2 MB, free: 4.434 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.Translational.Examples.Friction,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Friction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Friction,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Friction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 239.5 MB, free: 3.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.786e-05, allocations: 2.312 kB / 239.5 MB, free: 3.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.002873/0.00289, allocations: 2.996 MB / 242.4 MB, free: 228 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.004338, allocations: 1.172 MB / 243.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.004486, allocations: 4 kB / 243.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.004741, allocations: 91.22 kB / 243.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.004907, allocations: 122.8 kB / 243.8 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.005474, allocations: 407.1 kB / 244.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.006038, allocations: 0.8032 MB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.006169, allocations: 73.67 kB / 245.1 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004733/0.006642, allocations: 0.5115 MB / 245.6 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000858/0.0075, allocations: 1.252 MB / 246.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.352e-05/0.007584, allocations: 68 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.007806, allocations: 120 kB / 247.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.007925, allocations: 168 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.008061, allocations: 171.6 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.008535, allocations: 0.5879 MB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.008549, allocations: 0 / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00855, allocations: 0 / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.008568, allocations: 3.938 kB / 248 MB, free: 10.67 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001411/0.009979, allocations: 1.223 MB / 249.2 MB, free: 9.418 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.01001, allocations: 12.03 kB / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.54e-05/0.01008, allocations: 78.66 kB / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.01018, allocations: 76.86 kB / 249.4 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.01049, allocations: 317.6 kB / 249.7 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.01052, allocations: 29.38 kB / 249.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.01059, allocations: 36.38 kB / 249.7 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.01125, allocations: 0.7133 MB / 250.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.01127, allocations: 8.078 kB / 250.5 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.0113, allocations: 23.88 kB / 250.5 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.01131, allocations: 8 kB / 250.5 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.01192, allocations: 0.7248 MB / 251.2 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.01366, allocations: 1.7 MB / 252.9 MB, free: 5.594 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.01411, allocations: 444.8 kB / 253.3 MB, free: 5.141 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.01434, allocations: 293.6 kB / 253.6 MB, free: 4.848 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.01438, allocations: 8 kB / 253.6 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.01478, allocations: 0.4993 MB / 254.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.263e-06/0.01478, allocations: 0 / 254.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.004366/0.01915, allocations: 2.634 MB / 256.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.01919, allocations: 89.05 kB / 256.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.01975, allocations: 0.6483 MB / 257.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.685e-05/0.01981, allocations: 49.69 kB / 257.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.01994, allocations: 214 kB / 257.8 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.02008, allocations: 174.6 kB / 257.9 MB, free: 436 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.02028, allocations: 126.2 kB / 258.1 MB, free: 304 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.02043, allocations: 378.6 kB / 258.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.02077, allocations: 369.2 kB / 258.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.02106, allocations: 442.9 kB / 259.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.02154, allocations: 0.6984 MB / 259.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.02154, allocations: 3.938 kB / 259.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001066/0.02261, allocations: 1.155 MB / 261.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.02262, allocations: 12.19 kB / 261.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.02263, allocations: 3.938 kB / 261.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009623/0.02359, allocations: 1.42 MB / 262.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.02382, allocations: 115.8 kB / 262.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.02707, allocations: 4.875 MB / 267.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.02743, allocations: 147.8 kB / 267.7 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.02746, allocations: 12 kB / 267.7 MB, free: 6.383 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 28 (stop2.stopped,stop2.mode,$PRE.stop2.mode,stop2.locked,stop2.startBackward,$PRE.stop2.startBackward,stop2.startForward,$PRE.stop2.startForward,stop2.free,$whenCondition1,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,stop1.stopped,stop1.mode,$PRE.stop1.mode,stop1.locked,stop1.startBackward,$PRE.stop1.startBackward,stop1.startForward,$PRE.stop1.startForward,stop1.free,$whenCondition2,supportFriction.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): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,5), (1,6), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.02761, allocations: 159.2 kB / 267.8 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.02768, allocations: 63.88 kB / 267.9 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.42e-05/0.02776, allocations: 94.2 kB / 268 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.02776, allocations: 7.938 kB / 268 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.02776, allocations: 4 kB / 268 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.02777, allocations: 3.984 kB / 268 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.02916, allocations: 1.685 MB / 269.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.02916, allocations: 4 kB / 269.7 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.02937, allocations: 87.94 kB / 269.8 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.02952, allocations: 103.3 kB / 269.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009178/0.03044, allocations: 1.408 MB / 271.3 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.03048, allocations: 19.97 kB / 271.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0952/0.1257, allocations: 4.55 MB / 275.8 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1257, allocations: 2.594 kB / 275.8 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.1272, allocations: 1.639 MB / 277.5 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.1273, allocations: 20.44 kB / 277.5 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.1277, allocations: 174.8 kB / 277.7 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007553/0.1285, allocations: 0.5121 MB / 278.2 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.1285, allocations: 23.73 kB / 278.2 MB, free: 24.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.1288, allocations: 322.9 kB / 278.5 MB, free: 24.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1288, allocations: 0 / 278.5 MB, free: 24.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004821/0.1293, allocations: 189.7 kB / 278.7 MB, free: 24.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (stop2.s,stop2.v,stop1.s,stop1.v,mass.s,mass.v) * Number of discrete variables: 18 ($whenCondition1,stop2.free,stop2.startForward,stop2.startBackward,stop2.locked,stop2.mode,stop2.stopped,$whenCondition2,stop1.free,stop1.startForward,stop1.startBackward,stop1.locked,stop1.mode,stop1.stopped,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode) * Number of discrete states: 9 (supportFriction.mode,supportFriction.startForward,supportFriction.startBackward,stop1.mode,stop1.startBackward,stop1.startForward,stop2.mode,stop2.startBackward,stop2.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001654/0.1309, allocations: 2.155 MB / 280.9 MB, free: 23.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009052/0.1318, allocations: 1 MB / 281.9 MB, free: 23.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.1318, allocations: 6.562 kB / 281.9 MB, free: 23.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004873/0.1323, allocations: 0.6283 MB / 282.5 MB, free: 23.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1327, allocations: 160.8 kB / 282.7 MB, free: 23.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.138, allocations: 5.152 MB / 287.8 MB, free: 21.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.606e-05/0.1381, allocations: 159.2 kB / 288 MB, free: 21.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.1382, allocations: 45.8 kB / 288 MB, free: 21.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.1385, allocations: 285.5 kB / 288.3 MB, free: 21.79 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.1385, allocations: 0 / 288.3 MB, free: 21.79 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.04069/0.1792, allocations: 30.2 MB / 318.5 MB, free: 9.121 MB / 282.7 MB Notification: FMU-only work: backend 0.001468, simCode 0.002372, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/0.2911, allocations: 1.479 MB / 320 MB, free: 7.609 MB / 282.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.23/3.521, allocations: 22.5 kB / 320 MB, free: 7.594 MB / 282.7 MB " [Timeout remaining time 656] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Friction_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Friction.fmu) > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/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.Translational.Examples.Friction_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.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.Translational.Examples.Friction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Friction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Friction_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/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.Translational.Examples.Friction_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.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.Translational.Examples.Friction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Friction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Friction_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Friction/Friction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,mass.s,mass.v,stop1.s,stop1.v,stop2.s,stop2.v,stop1.mode,stop1.startBackward,stop1.startForward,stop2.mode,stop2.startBackward,stop2.startForward,supportFriction.mode,supportFriction.startBackward,supportFriction.startForward Variables in the result:der(mass.s),der(mass.v),der(stop1.s),der(stop1.v),der(stop1.v_relfric),der(stop2.s),der(stop2.v),der(stop2.v_relfric),der(supportFriction.s),der(supportFriction.v),der(supportFriction.v_relfric),fixed2.flange.f,fixed2.flange.s,fixed2.s0,force.f,force.flange.f,force.flange.s,force.s,force.useSupport,force2.f,force2.flange.f,force2.flange.s,force2.s,force2.useSupport,mass.L,mass.a,mass.flange_a.f,mass.flange_a.s,mass.flange_b.f,mass.flange_b.s,mass.m,mass.s,mass.stateSelect,mass.v,sineForce.amplitude,sineForce.f,sineForce.offset,sineForce.phase,sineForce.startTime,sineForce.y,spring.c,spring.f,spring.flange_a.f,spring.flange_a.s,spring.flange_b.f,spring.flange_b.s,spring.s_rel,spring.s_rel0,stop1.F_Coulomb,stop1.F_Stribeck,stop1.F_prop,stop1.L,stop1.a,stop1.a_relfric,stop1.f,stop1.f0,stop1.f0_max,stop1.fexp,stop1.flange_a.f,stop1.flange_a.s,stop1.flange_b.f,stop1.flange_b.s,stop1.free,stop1.locked,stop1.lossPower,stop1.m,stop1.mode,stop1.s,stop1.sa,stop1.smax,stop1.smin,stop1.startBackward,stop1.startForward,stop1.stopped,stop1.useHeatPort,stop1.v,stop1.v_relfric,stop1.v_small,stop2.F_Coulomb,stop2.F_Stribeck,stop2.F_prop,stop2.L,stop2.a,stop2.a_relfric,stop2.f,stop2.f0,stop2.f0_max,stop2.fexp,stop2.flange_a.f,stop2.flange_a.s,stop2.flange_b.f,stop2.flange_b.s,stop2.free,stop2.locked,stop2.lossPower,stop2.m,stop2.mode,stop2.s,stop2.sa,stop2.smax,stop2.smin,stop2.startBackward,stop2.startForward,stop2.stopped,stop2.useHeatPort,stop2.v,stop2.v_relfric,stop2.v_small,supportFriction.a,supportFriction.a_relfric,supportFriction.f,supportFriction.f0,supportFriction.f0_max,supportFriction.f_pos[1,1],supportFriction.f_pos[1,2],supportFriction.f_pos[10,1],supportFriction.f_pos[10,2],supportFriction.f_pos[11,1],supportFriction.f_pos[11,2],supportFriction.f_pos[12,1],supportFriction.f_pos[12,2],supportFriction.f_pos[13,1],supportFriction.f_pos[13,2],supportFriction.f_pos[14,1],supportFriction.f_pos[14,2],supportFriction.f_pos[15,1],supportFriction.f_pos[15,2],supportFriction.f_pos[16,1],supportFriction.f_pos[16,2],supportFriction.f_pos[17,1],supportFriction.f_pos[17,2],supportFriction.f_pos[18,1],supportFriction.f_pos[18,2],supportFriction.f_pos[19,1],supportFriction.f_pos[19,2],supportFriction.f_pos[2,1],supportFriction.f_pos[2,2],supportFriction.f_pos[20,1],supportFriction.f_pos[20,2],supportFriction.f_pos[21,1],supportFriction.f_pos[21,2],supportFriction.f_pos[22,1],supportFriction.f_pos[22,2],supportFriction.f_pos[23,1],supportFriction.f_pos[23,2],supportFriction.f_pos[24,1],supportFriction.f_pos[24,2],supportFriction.f_pos[25,1],supportFriction.f_pos[25,2],supportFriction.f_pos[26,1],supportFriction.f_pos[26,2],supportFriction.f_pos[27,1],supportFriction.f_pos[27,2],supportFriction.f_pos[28,1],supportFriction.f_pos[28,2],supportFriction.f_pos[29,1],supportFriction.f_pos[29,2],supportFriction.f_pos[3,1],supportFriction.f_pos[3,2],supportFriction.f_pos[30,1],supportFriction.f_pos[30,2],supportFriction.f_pos[31,1],supportFriction.f_pos[31,2],supportFriction.f_pos[32,1],supportFriction.f_pos[32,2],supportFriction.f_pos[33,1],supportFriction.f_pos[33,2],supportFriction.f_pos[34,1],supportFriction.f_pos[34,2],supportFriction.f_pos[35,1],supportFriction.f_pos[35,2],supportFriction.f_pos[36,1],supportFriction.f_pos[36,2],supportFriction.f_pos[37,1],supportFriction.f_pos[37,2],supportFriction.f_pos[38,1],supportFriction.f_pos[38,2],supportFriction.f_pos[39,1],supportFriction.f_pos[39,2],supportFriction.f_pos[4,1],supportFriction.f_pos[4,2],supportFriction.f_pos[40,1],supportFriction.f_pos[40,2],supportFriction.f_pos[41,1],supportFriction.f_pos[41,2],supportFriction.f_pos[42,1],supportFriction.f_pos[42,2],supportFriction.f_pos[43,1],supportFriction.f_pos[43,2],supportFriction.f_pos[44,1],supportFriction.f_pos[44,2],supportFriction.f_pos[45,1],supportFriction.f_pos[45,2],supportFriction.f_pos[46,1],supportFriction.f_pos[46,2],supportFriction.f_pos[47,1],supportFriction.f_pos[47,2],supportFriction.f_pos[48,1],supportFriction.f_pos[48,2],supportFriction.f_pos[49,1],supportFriction.f_pos[49,2],supportFriction.f_pos[5,1],supportFriction.f_pos[5,2],supportFriction.f_pos[50,1],supportFriction.f_pos[50,2],supportFriction.f_pos[6,1],supportFriction.f_pos[6,2],supportFriction.f_pos[7,1],supportFriction.f_pos[7,2],supportFriction.f_pos[8,1],supportFriction.f_pos[8,2],supportFriction.f_pos[9,1],supportFriction.f_pos[9,2],supportFriction.flange_a.f,supportFriction.flange_a.s,supportFriction.flange_b.f,supportFriction.flange_b.s,supportFriction.free,supportFriction.locked,supportFriction.lossPower,supportFriction.mode,supportFriction.peak,supportFriction.s,supportFriction.s_a,supportFriction.s_b,supportFriction.sa,supportFriction.startBackward,supportFriction.startForward,supportFriction.useHeatPort,supportFriction.useSupport,supportFriction.v,supportFriction.v_relfric,supportFriction.v_small,time filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.diff.mat", vars={"stop2.mode", "stop2.v", "stop2.s"}, 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/Translational/Examples/Friction/Friction.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.diff.ref.mat", vars={"stop2.mode", "stop2.v", "stop2.s"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_fmpy_res.csv --output-variables mass.s mass.v stop1.s stop1.v stop2.s stop2.v stop1.mode stop1.startBackward stop1.startForward stop2.mode stop2.startBackward stop2.startForward supportFriction.mode supportFriction.startBackward supportFriction.startForward --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Friction.fmu) > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/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.Translational.Examples.Friction_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.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.Translational.Examples.Friction_fmpy-fmi3-cs-cvode_res.csv --output-variables mass.s mass.v stop1.s stop1.v stop2.s stop2.v stop1.mode stop1.startBackward stop1.startForward stop2.mode stop2.startBackward stop2.startForward supportFriction.mode supportFriction.startBackward supportFriction.startForward --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Friction_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.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/Translational/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.636192982085049]