Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009792/0.0009792, allocations: 88.34 kB / 20.68 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009763/0.0009763, allocations: 164.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8639/0.8639, allocations: 177.4 MB / 204.5 MB, free: 4.918 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Friction,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Friction,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 326.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.376e-05, allocations: 3.406 kB / 326.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.003665/0.003679, allocations: 2.897 MB / 329.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.005056, allocations: 1.312 MB / 331 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.005173, allocations: 4 kB / 331 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.005535, allocations: 99.09 kB / 331.1 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.005683, allocations: 134.8 kB / 331.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.006187, allocations: 430.7 kB / 331.7 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006917/0.006879, allocations: 0.8384 MB / 332.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.007018, allocations: 65.7 kB / 332.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/0.007431, allocations: 0.503 MB / 333.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008941/0.008325, allocations: 1.412 MB / 334.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.82e-05/0.008403, allocations: 72 kB / 334.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.008561, allocations: 131.9 kB / 334.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.00871, allocations: 235.8 kB / 334.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.008865, allocations: 243.4 kB / 335.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006125/0.009477, allocations: 0.9854 MB / 336.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.00948, allocations: 0 / 336.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.009481, allocations: 0 / 336.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.009487, allocations: 0 / 336.1 MB, free: 4.758 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001931/0.01142, allocations: 1.442 MB / 337.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.01145, allocations: 11.98 kB / 337.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.677e-05/0.01153, allocations: 78.72 kB / 337.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/0.01179, allocations: 104.4 kB / 337.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.01215, allocations: 385.5 kB / 338.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.01218, allocations: 33.36 kB / 338.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.895e-05/0.01224, allocations: 36.38 kB / 338.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.0131, allocations: 0.6307 MB / 338.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.01311, allocations: 4.141 kB / 338.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.01316, allocations: 19.94 kB / 338.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.01317, allocations: 12 kB / 338.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.01425, allocations: 0.6856 MB / 339.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.01639, allocations: 1.476 MB / 341.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/0.01716, allocations: 496.5 kB / 341.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.01761, allocations: 277.6 kB / 341.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.01765, allocations: 8 kB / 341.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006506/0.0183, allocations: 495.1 kB / 342.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 1.443e-06/0.0183, allocations: 0 / 342.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.004588/0.02289, allocations: 2.433 MB / 344.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.02292, allocations: 85.11 kB / 344.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.0235, allocations: 0.9219 MB / 345.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.02356, allocations: 49.69 kB / 345.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.0237, allocations: 300.7 kB / 346.1 MB, free: 10.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.0238, allocations: 178.7 kB / 346.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.02394, allocations: 118.3 kB / 346.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003171/0.02426, allocations: 382.8 kB / 346.7 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.02477, allocations: 317.1 kB / 347.1 MB, free: 9.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.0253, allocations: 422.8 kB / 347.5 MB, free: 9.078 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000774/0.02608, allocations: 0.5088 MB / 348 MB, free: 8.539 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.02608, allocations: 0 / 348 MB, free: 8.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001512/0.02759, allocations: 0.9873 MB / 349 MB, free: 7.535 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.0276, allocations: 11.98 kB / 349 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.02761, allocations: 8.016 kB / 349 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006623/0.02827, allocations: 0.545 MB / 349.5 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.02853, allocations: 115.8 kB / 349.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/0.03216, allocations: 4.49 MB / 354.1 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006417/0.0328, allocations: 235.8 kB / 354.4 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.03283, allocations: 27.98 kB / 354.4 MB, free: 1.84 MB / 314.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 (supportFriction.free,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,stop2.stopped,stop2.mode,$PRE.stop2.mode,stop2.locked,stop2.startBackward,$PRE.stop2.startBackward,stop2.startForward,$PRE.stop2.startForward,stop2.free,$whenCondition1) * 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,7), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.03305, allocations: 252.3 kB / 354.6 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.03313, allocations: 79.47 kB / 354.7 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.738e-05/0.03321, allocations: 106.2 kB / 354.8 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.03321, allocations: 4.188 kB / 354.8 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.03322, allocations: 8 kB / 354.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.03322, allocations: 0 / 354.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.03486, allocations: 1.27 MB / 356.1 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.03486, allocations: 0 / 356.1 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.0351, allocations: 83.81 kB / 356.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005668/0.03567, allocations: 0.5178 MB / 356.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.03571, allocations: 23.95 kB / 356.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002942/0.03865, allocations: 4.118 MB / 360.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.03865, allocations: 3.938 kB / 360.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.04073, allocations: 1.259 MB / 362.1 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.04091, allocations: 131.5 kB / 362.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.04097, allocations: 24 kB / 362.3 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007531/0.04173, allocations: 263.6 kB / 362.5 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008749/0.0426, allocations: 0.5887 MB / 363.1 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.04264, allocations: 23.97 kB / 363.1 MB, free: 8.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004089/0.04305, allocations: 0.6747 MB / 363.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04305, allocations: 0 / 363.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004433/0.04349, allocations: 187.9 kB / 364 MB, free: 7.875 MB / 330.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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002785/0.04628, allocations: 2.11 MB / 366.1 MB, free: 5.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.04754, allocations: 0.9341 MB / 367 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.04754, allocations: 0 / 367 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007621/0.0483, allocations: 0.6498 MB / 367.7 MB, free: 4.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.04868, allocations: 77.14 kB / 367.8 MB, free: 4.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007524/0.0562, allocations: 6.675 MB / 374.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.0564, allocations: 322.9 kB / 374.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.05654, allocations: 55.25 kB / 374.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.05674, allocations: 208.4 kB / 375 MB, free: 12.69 MB / 346.7 MB Notification: Performance of SimCode: time 6.52e-07/0.05674, allocations: 0 / 375 MB, free: 12.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0921/0.1488, allocations: 21.56 MB / 396.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/8.652, allocations: 7.031 kB / 396.6 MB, free: 7.188 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction.fmu) > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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(stop2.s),der(stop2.v),der(supportFriction.s),der(supportFriction.v),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.continuous,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.smoothness,supportFriction.startBackward,supportFriction.startForward,supportFriction.useHeatPort,supportFriction.useSupport,supportFriction.v,supportFriction.v_relfric,supportFriction.v_small,time filterSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode.diff.mat", vars={"stop2.mode", "stop2.s", "mass.s"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Friction/Friction.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-cvode.diff.ref.mat", vars={"stop2.mode", "stop2.s", "mass.s"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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(stop2.s),der(stop2.v),der(supportFriction.s),der(supportFriction.v),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.continuous,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.smoothness,supportFriction.startBackward,supportFriction.startForward,supportFriction.useHeatPort,supportFriction.useSupport,supportFriction.v,supportFriction.v_relfric,supportFriction.v_small,time filterSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.diff.mat", vars={"stop2.mode", "stop2.v", "stop2.s", "stop1.s"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Friction/Friction.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_OMSimulator-cs-euler.diff.ref.mat", vars={"stop2.mode", "stop2.v", "stop2.s", "stop1.s"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_Friction.fmu) > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 11.639571447856724]