Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008026/0.0008026, allocations: 72.17 kB / 9.897 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001832, allocations: 449.7 kB / 10.34 MB, free: 360 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006976/0.0006976, allocations: 161.1 kB / 11.23 MB, free: 2.945 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000903/0.001601, allocations: 459.6 kB / 11.67 MB, free: 2.492 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9483/0.9483, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07871/1.027, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.HeatLosses,fileNamePrefix="Modelica_4_1_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_1_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.332e-06/1.332e-06, allocations: 0 / 244.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.598e-05, allocations: 2.312 kB / 244.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.01074/0.01076, allocations: 4.396 MB / 248.8 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005944/0.0167, allocations: 1.605 MB / 250.4 MB, free: 8.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000477/0.01718, allocations: 19.88 kB / 250.5 MB, free: 8.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.01754, allocations: 130.7 kB / 250.6 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006097/0.01815, allocations: 293.5 kB / 250.9 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.02211, allocations: 435.1 kB / 251.3 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.02348, allocations: 1.182 MB / 252.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.02382, allocations: 188.2 kB / 252.7 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.02504, allocations: 0.7477 MB / 253.4 MB, free: 5.328 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.02566, allocations: 442.9 kB / 253.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.02583, allocations: 96 kB / 253.9 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.02618, allocations: 155.9 kB / 254.1 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.02639, allocations: 171.5 kB / 254.3 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.02669, allocations: 259.5 kB / 254.5 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008885/0.02758, allocations: 0.7396 MB / 255.3 MB, free: 3.484 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.779e-05/0.0276, allocations: 0 / 255.3 MB, free: 3.484 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0276, allocations: 0 / 255.3 MB, free: 3.484 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.02763, allocations: 0 / 255.3 MB, free: 3.484 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002258/0.02988, allocations: 1.341 MB / 256.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.02992, allocations: 8.031 kB / 256.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.03005, allocations: 126.6 kB / 256.7 MB, free: 1.977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.03054, allocations: 221.9 kB / 256.9 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.03115, allocations: 344.1 kB / 257.3 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.03121, allocations: 58.31 kB / 257.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.03134, allocations: 76.36 kB / 257.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.0323, allocations: 0.5579 MB / 258 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.03233, allocations: 11.94 kB / 258 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.006e-05/0.0324, allocations: 32 kB / 258 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.03242, allocations: 16 kB / 258 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007345/0.03315, allocations: 353.7 kB / 258.4 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.03615, allocations: 1.464 MB / 259.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.03688, allocations: 434.2 kB / 260.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.03722, allocations: 208.3 kB / 260.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-05/0.03728, allocations: 16.98 kB / 260.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/0.03762, allocations: 356.8 kB / 260.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 2.084e-06/0.03762, allocations: 0 / 260.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=110): time 0.003494/0.04112, allocations: 2.485 MB / 263.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.04115, allocations: 64.41 kB / 263.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.04158, allocations: 384.7 kB / 263.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.04164, allocations: 65.69 kB / 263.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.04174, allocations: 238.5 kB / 264 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.04191, allocations: 392.7 kB / 264.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.0421, allocations: 186.8 kB / 264.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.04219, allocations: 386.6 kB / 265 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.04243, allocations: 158.5 kB / 265.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.04266, allocations: 259.4 kB / 265.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.04304, allocations: 440.5 kB / 265.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.04304, allocations: 0 / 265.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0008202/0.04386, allocations: 0.6867 MB / 266.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.04388, allocations: 4 kB / 266.5 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.04389, allocations: 4 kB / 266.5 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004837/0.04437, allocations: 402.1 kB / 266.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.0448, allocations: 231.7 kB / 267.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.04641, allocations: 2.721 MB / 269.9 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.04675, allocations: 119.9 kB / 270 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.04679, allocations: 27.98 kB / 270 MB, free: 4.254 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,9), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.04695, allocations: 176.6 kB / 270.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.04704, allocations: 83.92 kB / 270.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.889e-05/0.04713, allocations: 111.2 kB / 270.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.04714, allocations: 11.94 kB / 270.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.04714, allocations: 0 / 270.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.04715, allocations: 7.922 kB / 270.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.04872, allocations: 1.397 MB / 271.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.04873, allocations: 4.062 kB / 271.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.04914, allocations: 210.7 kB / 272 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.04933, allocations: 103.4 kB / 272.1 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004245/0.04975, allocations: 394.1 kB / 272.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.0498, allocations: 35.95 kB / 272.5 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.05133, allocations: 2.562 MB / 275.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.05133, allocations: 3.938 kB / 275.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.05231, allocations: 0.9405 MB / 276 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/0.0524, allocations: 43.94 kB / 276.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.0528, allocations: 131.8 kB / 276.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/0.05326, allocations: 356.3 kB / 276.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.05331, allocations: 35.95 kB / 276.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.05341, allocations: 156.8 kB / 276.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05341, allocations: 4 kB / 276.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004572/0.05387, allocations: 244 kB / 277 MB, free: 12.98 MB / 282.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 (90): * Single equations (assignments): 87 * 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,8), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002161/0.05603, allocations: 1.845 MB / 278.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007752/0.0568, allocations: 0.6722 MB / 279.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.05681, allocations: 4 kB / 279.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005574/0.05737, allocations: 471.5 kB / 280 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.05784, allocations: 265.6 kB / 280.2 MB, free: 9.879 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.06376, allocations: 3.776 MB / 284 MB, free: 5.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.06387, allocations: 177.2 kB / 284.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.0641, allocations: 89.72 kB / 284.3 MB, free: 5.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/0.06451, allocations: 401.2 kB / 284.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.06451, allocations: 4 kB / 284.6 MB, free: 5.297 MB / 282.7 MB Notification: Performance of FMU documentation: time 0.128/0.1925, allocations: 29.82 MB / 314.5 MB, free: 23.74 MB / 282.7 MB Notification: FMU-only work: backend 0.001137, simCode 0.002001, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06896/0.2615, allocations: 1.55 MB / 316 MB, free: 22.12 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.523/3.785, allocations: 23.8 kB / 316 MB, free: 22.1 MB / 282.7 MB " [Timeout remaining time 656] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_HeatLosses_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_HeatLosses.fmu) > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Translational_Examples_HeatLosses_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Translational_Examples_HeatLosses_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.mu,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.s,brake.s_a,brake.s_b,brake.sa,brake.smoothness,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.f_ref,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_ref,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.continuous,sine1.f,sine1.offset,sine1.phase,sine1.startTime,sine1.y,sine2.amplitude,sine2.continuous,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.smoothness,supportFriction.startBackward,supportFriction.startForward,supportFriction.useHeatPort,supportFriction.useSupport,supportFriction.v,supportFriction.v_relfric,supportFriction.v_small,time filterSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Mechanics_Translational_Examples_HeatLosses.fmu) > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.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_1_0_Modelica_Mechanics_Translational_Examples_HeatLosses_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.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.1.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.559243611060083]