Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.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.00107/0.00107, allocations: 68.5 kB / 9.894 MB, free: 0.7969 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002455, 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.0009493/0.0009493, allocations: 144.9 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002343, 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.971/0.971, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0717/1.043, allocations: 52.49 MB / 238.3 MB, free: 4.43 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.HeatLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_HeatLosses",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.HeatLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_HeatLosses",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 239.5 MB, free: 3.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.204e-05, allocations: 5.828 kB / 239.5 MB, free: 3.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.004095/0.004107, allocations: 4.215 MB / 243.7 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.006133, allocations: 1.414 MB / 245.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002895/0.006423, allocations: 15.88 kB / 245.1 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.006634, allocations: 122.8 kB / 245.2 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.006966, allocations: 237.8 kB / 245.5 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.007682, allocations: 439 kB / 245.9 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007652/0.008448, allocations: 1.146 MB / 247 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.008672, allocations: 188.1 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006804/0.009353, allocations: 0.7049 MB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.009727, allocations: 426.9 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.009828, allocations: 92 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.01006, allocations: 151.9 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.01018, allocations: 151.5 kB / 248.7 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.01038, allocations: 251.6 kB / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.01094, allocations: 0.6852 MB / 249.7 MB, free: 8.953 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.01095, allocations: 4 kB / 249.7 MB, free: 8.949 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01095, allocations: 0 / 249.7 MB, free: 8.949 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.01096, allocations: 0 / 249.7 MB, free: 8.949 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001531/0.0125, allocations: 1.291 MB / 251 MB, free: 7.633 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.01253, allocations: 8.031 kB / 251 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.409e-05/0.01261, allocations: 118.6 kB / 251.1 MB, free: 7.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.01281, allocations: 197.9 kB / 251.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.01315, allocations: 307.6 kB / 251.6 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.01318, allocations: 50.38 kB / 251.6 MB, free: 6.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/0.01326, allocations: 76.33 kB / 251.7 MB, free: 6.836 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.01385, allocations: 0.5705 MB / 252.3 MB, free: 6.254 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.01387, allocations: 16.12 kB / 252.3 MB, free: 6.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.01391, allocations: 35.92 kB / 252.3 MB, free: 6.203 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.01392, allocations: 16 kB / 252.3 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.01435, allocations: 357.6 kB / 252.7 MB, free: 5.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.0161, allocations: 1.45 MB / 254.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.01656, allocations: 414.2 kB / 254.5 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.01676, allocations: 207.9 kB / 254.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.01682, allocations: 17 kB / 254.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003682/0.01719, allocations: 356.8 kB / 255.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=86): time 2.254e-06/0.01719, allocations: 0 / 255.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=106): time 0.003661/0.02085, allocations: 2.455 MB / 257.6 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.02088, allocations: 72.28 kB / 257.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.02107, allocations: 367.1 kB / 258 MB, free: 408 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.02112, allocations: 53.7 kB / 258 MB, free: 348 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/0.02121, allocations: 238.1 kB / 258.3 MB, free: 100 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.02139, allocations: 381 kB / 258.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.02157, allocations: 186.8 kB / 258.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.02166, allocations: 378.6 kB / 259.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.0219, allocations: 170.5 kB / 259.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.02213, allocations: 259.4 kB / 259.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.02252, allocations: 449.6 kB / 260.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.02252, allocations: 4 kB / 260.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.0008443/0.02336, allocations: 0.7099 MB / 260.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.02338, allocations: 8 kB / 260.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.02338, allocations: 4 kB / 260.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.02393, allocations: 0.4981 MB / 261.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.02436, allocations: 235.7 kB / 261.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.02598, allocations: 2.749 MB / 264.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.0263, allocations: 111.9 kB / 264.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.02634, allocations: 27.98 kB / 264.4 MB, free: 9.742 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,massWithStopAndFriction.stopped,massWithStopAndFriction.mode,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.locked,massWithStopAndFriction.startBackward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,elastoGap.contact,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000383/0.02672, allocations: 184.5 kB / 264.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.02681, allocations: 79.88 kB / 264.7 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.345e-05/0.02689, allocations: 111 kB / 264.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.02689, allocations: 8 kB / 264.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.0269, allocations: 0 / 264.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.0269, allocations: 7.984 kB / 264.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.02863, allocations: 1.411 MB / 266.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.02863, allocations: 224 / 266.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.02906, allocations: 211 kB / 266.4 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.02923, allocations: 99.41 kB / 266.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/0.02973, allocations: 0.502 MB / 267 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/0.02978, allocations: 35.95 kB / 267 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.03113, allocations: 2.576 MB / 269.6 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.03113, allocations: 7.938 kB / 269.6 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.03216, allocations: 0.9924 MB / 270.6 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.488e-05/0.03224, allocations: 39.98 kB / 270.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.03261, allocations: 131.8 kB / 270.8 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004367/0.03304, allocations: 356.2 kB / 271.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.03309, allocations: 39.97 kB / 271.2 MB, free: 2.691 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.045e-05/0.03318, allocations: 144.6 kB / 271.3 MB, free: 2.547 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03318, allocations: 0 / 271.3 MB, free: 2.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003849/0.03356, allocations: 244 kB / 271.5 MB, free: 2.309 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,elastoGap.contact,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,massWithStopAndFriction.free,massWithStopAndFriction.startForward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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,6), (1,6), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/0.03509, allocations: 1.524 MB / 273.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007083/0.0358, allocations: 0.6872 MB / 273.8 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.03581, allocations: 4 kB / 273.8 MB, free: 32 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.03622, allocations: 471.6 kB / 274.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.03666, allocations: 236.7 kB / 274.5 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.04217, allocations: 3.734 MB / 278.2 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.04227, allocations: 165.2 kB / 278.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.04247, allocations: 77.45 kB / 278.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006565/0.04313, allocations: 381.2 kB / 278.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04313, allocations: 0 / 278.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FMU documentation: time 0.1291/0.1722, allocations: 29.36 MB / 308.2 MB, free: 34.46 MB / 282.7 MB Notification: FMU-only work: backend 0.001094, simCode 0.001723, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0706/0.2428, allocations: 1.476 MB / 309.6 MB, free: 32.94 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.582/3.825, allocations: 15.41 kB / 309.6 MB, free: 32.93 MB / 282.7 MB " [Timeout remaining time 656] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_HeatLosses_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_HeatLosses.fmu) > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.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.HeatLosses_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_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.HeatLosses_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_HeatLosses_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_HeatLosses_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.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.HeatLosses_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_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.HeatLosses_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_HeatLosses_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_HeatLosses_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,damper.s_rel,damper.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper.s_rel,springDamper.v_rel,springDamper1.s_rel,springDamper1.v_rel,brake.mode,brake.startBackward,brake.startForward,massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,supportFriction.mode,supportFriction.startBackward,supportFriction.startForward Variables in the result:TAmbient.T,TAmbient.port.Q_flow,TAmbient.port.T,brake.a,brake.a_relfric,brake.cgeo,brake.f,brake.f0,brake.f0_max,brake.f_normalized,brake.flange_a.f,brake.flange_a.s,brake.flange_b.f,brake.flange_b.s,brake.fn,brake.fn_max,brake.free,brake.heatPort.Q_flow,brake.heatPort.T,brake.locked,brake.lossPower,brake.mode,brake.mu0,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.s,brake.s_a,brake.s_b,brake.sa,brake.startBackward,brake.startForward,brake.useHeatPort,brake.useSupport,brake.v,brake.v_relfric,brake.v_small,const.k,const.y,convection.Gc,convection.Q_flow,convection.dT,convection.fluid.Q_flow,convection.fluid.T,convection.solid.Q_flow,convection.solid.T,damper.d,damper.f,damper.flange_a.f,damper.flange_a.s,damper.flange_b.f,damper.flange_b.s,damper.heatPort.Q_flow,damper.heatPort.T,damper.lossPower,damper.s_nominal,damper.s_rel,damper.stateSelect,damper.useHeatPort,damper.v_rel,der(brake.s),der(brake.v),der(damper.s_rel),der(damper.v_rel),der(der(force.s)),der(der(mass1.flange_b.s)),der(der(springDamper.flange_b.s)),der(der(springDamper1.flange_b.s)),der(elastoGap.s_rel),der(elastoGap.v_rel),der(force.s),der(mass1.flange_b.s),der(mass1.s),der(mass1.v),der(mass2.s),der(mass2.v),der(mass3.s),der(mass3.v),der(massWithStopAndFriction.s),der(massWithStopAndFriction.v),der(massWithStopAndFriction.v_relfric),der(springDamper.flange_b.s),der(springDamper.s_rel),der(springDamper.v_rel),der(springDamper1.flange_b.s),der(springDamper1.s_rel),der(springDamper1.v_rel),der(supportFriction.s),der(supportFriction.v),elastoGap.c,elastoGap.contact,elastoGap.d,elastoGap.f,elastoGap.flange_a.f,elastoGap.flange_a.s,elastoGap.flange_b.f,elastoGap.flange_b.s,elastoGap.heatPort.Q_flow,elastoGap.heatPort.T,elastoGap.lossPower,elastoGap.n,elastoGap.s_nominal,elastoGap.s_rel,elastoGap.s_rel0,elastoGap.stateSelect,elastoGap.useHeatPort,elastoGap.v_rel,fixed1.flange.f,fixed1.flange.s,fixed1.s0,fixed2.flange.f,fixed2.flange.s,fixed2.s0,force.f,force.flange.f,force.flange.s,force.s,force.useSupport,mass1.L,mass1.a,mass1.flange_a.f,mass1.flange_a.s,mass1.flange_b.f,mass1.flange_b.s,mass1.m,mass1.s,mass1.stateSelect,mass1.v,mass2.L,mass2.a,mass2.flange_a.f,mass2.flange_a.s,mass2.flange_b.f,mass2.flange_b.s,mass2.m,mass2.s,mass2.stateSelect,mass2.v,mass3.L,mass3.a,mass3.flange_a.f,mass3.flange_a.s,mass3.flange_b.f,mass3.flange_b.s,mass3.m,mass3.s,mass3.stateSelect,mass3.v,massWithStopAndFriction.F_Coulomb,massWithStopAndFriction.F_Stribeck,massWithStopAndFriction.F_prop,massWithStopAndFriction.L,massWithStopAndFriction.a,massWithStopAndFriction.a_relfric,massWithStopAndFriction.f,massWithStopAndFriction.f0,massWithStopAndFriction.f0_max,massWithStopAndFriction.fexp,massWithStopAndFriction.flange_a.f,massWithStopAndFriction.flange_a.s,massWithStopAndFriction.flange_b.f,massWithStopAndFriction.flange_b.s,massWithStopAndFriction.free,massWithStopAndFriction.heatPort.Q_flow,massWithStopAndFriction.heatPort.T,massWithStopAndFriction.locked,massWithStopAndFriction.lossPower,massWithStopAndFriction.m,massWithStopAndFriction.mode,massWithStopAndFriction.s,massWithStopAndFriction.sa,massWithStopAndFriction.smax,massWithStopAndFriction.smin,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,massWithStopAndFriction.stopped,massWithStopAndFriction.useHeatPort,massWithStopAndFriction.v,massWithStopAndFriction.v_relfric,massWithStopAndFriction.v_small,sine1.amplitude,sine1.f,sine1.offset,sine1.phase,sine1.startTime,sine1.y,sine2.amplitude,sine2.f,sine2.offset,sine2.phase,sine2.startTime,sine2.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,springDamper.c,springDamper.d,springDamper.f,springDamper.flange_a.f,springDamper.flange_a.s,springDamper.flange_b.f,springDamper.flange_b.s,springDamper.heatPort.Q_flow,springDamper.heatPort.T,springDamper.lossPower,springDamper.s_nominal,springDamper.s_rel,springDamper.s_rel0,springDamper.stateSelect,springDamper.useHeatPort,springDamper.v_rel,springDamper1.c,springDamper1.d,springDamper1.f,springDamper1.flange_a.f,springDamper1.flange_a.s,springDamper1.flange_b.f,springDamper1.flange_b.s,springDamper1.heatPort.Q_flow,springDamper1.heatPort.T,springDamper1.lossPower,springDamper1.s_nominal,springDamper1.s_rel,springDamper1.s_rel0,springDamper1.stateSelect,springDamper1.useHeatPort,springDamper1.v_rel,supportFriction.a,supportFriction.a_relfric,supportFriction.f,supportFriction.f0,supportFriction.f0_max,supportFriction.f_pos[1,1],supportFriction.f_pos[1,2],supportFriction.flange_a.f,supportFriction.flange_a.s,supportFriction.flange_b.f,supportFriction.flange_b.s,supportFriction.free,supportFriction.heatPort.Q_flow,supportFriction.heatPort.T,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.HeatLosses_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler.diff.mat", vars={"massWithStopAndFriction.mode", "brake.mode", "springDamper1.v_rel", "springDamper1.s_rel", "springDamper.v_rel", "springDamper.s_rel", "massWithStopAndFriction.v", "massWithStopAndFriction.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/HeatLosses/HeatLosses.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler.diff.ref.mat", vars={"massWithStopAndFriction.mode", "brake.mode", "springDamper1.v_rel", "springDamper1.s_rel", "springDamper.v_rel", "springDamper.s_rel", "massWithStopAndFriction.v", "massWithStopAndFriction.s"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy_res.csv --output-variables damper.s_rel damper.v_rel massWithStopAndFriction.s massWithStopAndFriction.v springDamper.s_rel springDamper.v_rel springDamper1.s_rel springDamper1.v_rel brake.mode brake.startBackward brake.startForward massWithStopAndFriction.mode massWithStopAndFriction.startBackward massWithStopAndFriction.startForward supportFriction.mode supportFriction.startBackward supportFriction.startForward --start-time 0 --stop-time 2 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_HeatLosses.fmu) > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.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.HeatLosses_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_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.HeatLosses_fmpy-fmi3-cs-cvode_res.csv --output-variables damper.s_rel damper.v_rel massWithStopAndFriction.s massWithStopAndFriction.v springDamper.s_rel springDamper.v_rel springDamper1.s_rel springDamper1.v_rel brake.mode brake.startBackward brake.startForward massWithStopAndFriction.mode massWithStopAndFriction.startBackward massWithStopAndFriction.startForward supportFriction.mode supportFriction.startBackward supportFriction.startForward --start-time 0 --stop-time 2 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_HeatLosses_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_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/HeatLosses/HeatLosses.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.575608557090163]