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.001567/0.001567, allocations: 117.6 kB / 20.44 MB, free: 4.594 MB / 13.93 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.00179/0.00179, allocations: 213.3 kB / 23.73 MB, free: 2.125 MB / 13.93 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 1.015/1.015, allocations: 231.1 MB / 258 MB, free: 8.941 MB / 202.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 0.001467/0.001467, allocations: 75.88 kB / 380.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2271, allocations: 53.56 MB / 433.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.002684/0.2298, allocations: 2.895 MB / 436.6 MB, free: 248 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.2312, allocations: 1.282 MB / 437.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2313, allocations: 12.69 kB / 437.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.2317, allocations: 98.67 kB / 438 MB, free: 15.14 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.2318, allocations: 125.8 kB / 438.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/0.2323, allocations: 437 kB / 438.6 MB, free: 14.69 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005287/0.2329, allocations: 0.8228 MB / 439.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.233, allocations: 66.84 kB / 439.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/0.2334, allocations: 383.4 kB / 439.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.2344, allocations: 1.434 MB / 441.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.2345, allocations: 72.78 kB / 441.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.2347, allocations: 134.1 kB / 441.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.2349, allocations: 235.2 kB / 441.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.235, allocations: 304 kB / 442 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006387/0.2357, allocations: 0.917 MB / 442.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2357, allocations: 0 / 442.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2357, allocations: 0 / 442.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2357, allocations: 0 / 442.9 MB, free: 12.21 MB / 346.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.00198/0.2377, allocations: 1.435 MB / 444.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2377, allocations: 13.59 kB / 444.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.736e-05/0.2378, allocations: 81.92 kB / 444.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.2381, allocations: 103 kB / 444.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.2385, allocations: 382.1 kB / 444.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.2385, allocations: 29.38 kB / 445 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.866e-05/0.2386, allocations: 36.38 kB / 445 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008702/0.2394, allocations: 0.6418 MB / 445.6 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2394, allocations: 11.95 kB / 445.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.2395, allocations: 16 kB / 445.7 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2395, allocations: 8 kB / 445.7 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.2405, allocations: 0.6856 MB / 446.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.2428, allocations: 1.491 MB / 447.8 MB, free: 7.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.2435, allocations: 476.8 kB / 448.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.2439, allocations: 289.6 kB / 448.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.244, allocations: 4 kB / 448.6 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006586/0.2446, allocations: 490.8 kB / 449.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 1.443e-06/0.2446, allocations: 0 / 449.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.004477/0.2491, allocations: 2.435 MB / 451.5 MB, free: 3.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.2492, allocations: 85.11 kB / 451.6 MB, free: 3.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.2498, allocations: 0.9219 MB / 452.5 MB, free: 2.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.2498, allocations: 45.69 kB / 452.6 MB, free: 2.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.25, allocations: 313.6 kB / 452.9 MB, free: 2.449 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2501, allocations: 174.7 kB / 453 MB, free: 2.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.2502, allocations: 118.3 kB / 453.2 MB, free: 2.156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2503, allocations: 386.7 kB / 453.5 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007155/0.251, allocations: 325.1 kB / 453.9 MB, free: 1.449 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/0.2516, allocations: 415 kB / 454.3 MB, free: 1.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/0.2523, allocations: 0.5078 MB / 454.8 MB, free: 492 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2523, allocations: 4 kB / 454.8 MB, free: 488 kB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001487/0.2538, allocations: 0.9795 MB / 455.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2538, allocations: 7.938 kB / 455.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2538, allocations: 7.984 kB / 455.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006851/0.2545, allocations: 0.549 MB / 456.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.2548, allocations: 115.8 kB / 456.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003721/0.2585, allocations: 4.482 MB / 460.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006106/0.2591, allocations: 231.7 kB / 461.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.2591, allocations: 27.98 kB / 461.2 MB, free: 9.801 MB / 362.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.0002402/0.2594, allocations: 260.2 kB / 461.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.2594, allocations: 79.47 kB / 461.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.368e-05/0.2595, allocations: 106.2 kB / 461.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2595, allocations: 4 kB / 461.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2595, allocations: 0 / 461.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2595, allocations: 0 / 461.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.2612, allocations: 1.273 MB / 462.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.2612, allocations: 4.062 kB / 462.9 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.2615, allocations: 83.94 kB / 463 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005883/0.262, allocations: 0.51 MB / 463.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.2621, allocations: 31.95 kB / 463.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003046/0.2651, allocations: 4.129 MB / 467.6 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2651, allocations: 3.938 kB / 467.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.2672, allocations: 1.267 MB / 468.9 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.2674, allocations: 131.4 kB / 469 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.2675, allocations: 20 kB / 469.1 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007167/0.2682, allocations: 267.6 kB / 469.3 MB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000926/0.2691, allocations: 0.5849 MB / 469.9 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.2692, allocations: 27.97 kB / 469.9 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000441/0.2696, allocations: 0.6709 MB / 470.6 MB, free: 15.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2696, allocations: 0 / 470.6 MB, free: 15.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004998/0.2701, allocations: 187.9 kB / 470.8 MB, free: 15.8 MB / 378.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.002823/0.2729, allocations: 2.102 MB / 472.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.2742, allocations: 0.9301 MB / 473.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2742, allocations: 4.062 kB / 473.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.275, allocations: 0.6533 MB / 474.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.2754, allocations: 78.95 kB / 474.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007682/0.2831, allocations: 6.802 MB / 481.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.2833, allocations: 334.7 kB / 481.7 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.2835, allocations: 43.28 kB / 481.7 MB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.2837, allocations: 207.3 kB / 481.9 MB, free: 4.5 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2837, allocations: 4 kB / 481.9 MB, free: 4.496 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09069/0.3744, allocations: 21.41 MB / 0.4915 GB, free: 15.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/8.618, allocations: 7.922 kB / 0.4915 GB, free: 15.13 MB / 410.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.819807223044336]