Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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.0009417/0.0009417, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001271/0.001271, allocations: 153 kB / 23.93 MB, free: 0.6289 MB / 18.57 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.8671/0.8671, allocations: 173.4 MB / 200.4 MB, free: 9.445 MB / 186.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.Rotational.Examples.LossyGearDemo2,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 320 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.194e-05, allocations: 2.281 kB / 320 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.002716/0.002738, allocations: 2.55 MB / 322.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.004004, allocations: 1.053 MB / 323.6 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.004129, allocations: 7.938 kB / 323.6 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.004321, allocations: 75.36 kB / 323.7 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.004729, allocations: 214.5 kB / 323.9 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.004997, allocations: 239.5 kB / 324.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.005399, allocations: 0.6584 MB / 324.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.005554, allocations: 88.8 kB / 324.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.005873, allocations: 403.2 kB / 325.2 MB, free: 192 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.006137, allocations: 295.3 kB / 325.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/0.006196, allocations: 52 kB / 325.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.006359, allocations: 139.8 kB / 325.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.006476, allocations: 151.5 kB / 325.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.006601, allocations: 183.5 kB / 326.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.007098, allocations: 0.6934 MB / 326.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.0071, allocations: 4 kB / 326.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007101, allocations: 0 / 326.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.007107, allocations: 0 / 326.7 MB, free: 14.68 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.000963/0.00807, allocations: 0.7312 MB / 327.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.008106, allocations: 8.031 kB / 327.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.008e-05/0.008176, allocations: 78.72 kB / 327.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.008373, allocations: 68.61 kB / 327.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.008732, allocations: 312.4 kB / 327.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.008835, allocations: 152.3 kB / 328.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.00889, allocations: 40.38 kB / 328.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006611/0.009551, allocations: 0.5822 MB / 328.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.009567, allocations: 4.141 kB / 328.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.009602, allocations: 23.94 kB / 328.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.00961, allocations: 12 kB / 328.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007916/0.0104, allocations: 0.6284 MB / 329.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.01181, allocations: 1.114 MB / 330.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/0.01251, allocations: 0.5056 MB / 331 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.01288, allocations: 294.2 kB / 331.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.01292, allocations: 8.5 kB / 331.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.01294, allocations: 35.06 kB / 331.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=61): time 3.717e-06/0.01294, allocations: 3.984 kB / 331.3 MB, free: 9.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=69): time 0.003915/0.01685, allocations: 2.564 MB / 333.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.01689, allocations: 89.7 kB / 334 MB, free: 7.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.01716, allocations: 336.2 kB / 334.3 MB, free: 6.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.0172, allocations: 41.7 kB / 334.3 MB, free: 6.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/0.01727, allocations: 165.8 kB / 334.5 MB, free: 6.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.01739, allocations: 234 kB / 334.7 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.01752, allocations: 122.3 kB / 334.9 MB, free: 6.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.0176, allocations: 354.7 kB / 335.2 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.01799, allocations: 293.2 kB / 335.5 MB, free: 5.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.0184, allocations: 380.2 kB / 335.9 MB, free: 5.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.01906, allocations: 0.5229 MB / 336.4 MB, free: 4.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01906, allocations: 0 / 336.4 MB, free: 4.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001062/0.02012, allocations: 0.8658 MB / 337.3 MB, free: 3.859 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.02013, allocations: 4 kB / 337.3 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.02014, allocations: 11.92 kB / 337.3 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000649/0.02079, allocations: 471.2 kB / 337.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.02099, allocations: 83.88 kB / 337.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008964/0.02188, allocations: 1.083 MB / 338.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.02211, allocations: 59.98 kB / 339 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.02214, allocations: 20 kB / 339 MB, free: 2.113 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (bearingFriction.free,gear.ideal,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward,gear.mode,$PRE.gear.mode,gear.locked,gear.startBackward,gear.startForward,gear.tau_aPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.0223, allocations: 177.8 kB / 339.1 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.02236, allocations: 47.66 kB / 339.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.927e-05/0.02242, allocations: 67.75 kB / 339.3 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.02243, allocations: 12 kB / 339.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.02243, allocations: 0 / 339.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.02244, allocations: 3.984 kB / 339.3 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.02448, allocations: 1.629 MB / 340.9 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02448, allocations: 0 / 340.9 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.02468, allocations: 83.94 kB / 341 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005638/0.02524, allocations: 440.6 kB / 341.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.02527, allocations: 19.97 kB / 341.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009256/0.0262, allocations: 1.048 MB / 342.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.0262, allocations: 0 / 342.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.02774, allocations: 1.301 MB / 343.8 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.02789, allocations: 103.7 kB / 343.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.02794, allocations: 19.98 kB / 343.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.02815, allocations: 55.94 kB / 344 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.02828, allocations: 84.48 kB / 344 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.02831, allocations: 27.97 kB / 344.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001749/0.02848, allocations: 243.1 kB / 344.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02848, allocations: 4 kB / 344.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.02881, allocations: 147.9 kB / 344.5 MB, free: 12.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 9 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 4 (bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002027/0.03083, allocations: 1.877 MB / 346.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000925/0.03176, allocations: 0.6702 MB / 347 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.03176, allocations: 0 / 347 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.03223, allocations: 364.8 kB / 347.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.03255, allocations: 52.89 kB / 347.4 MB, free: 9.508 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.03778, allocations: 4.956 MB / 352.4 MB, free: 4.441 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.03791, allocations: 214 kB / 352.6 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.03805, allocations: 59.34 kB / 352.6 MB, free: 4.156 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.0382, allocations: 136.4 kB / 352.8 MB, free: 4.023 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0382, allocations: 0 / 352.8 MB, free: 4.023 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07985/0.1181, allocations: 13.2 MB / 366 MB, free: 7.008 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.094, allocations: 3.281 kB / 366 MB, free: 7.008 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode Variables in the result:DriveSine.amplitude,DriveSine.f,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,PowerLoss,bearingFriction.a,bearingFriction.a_relfric,bearingFriction.flange_a.phi,bearingFriction.flange_a.tau,bearingFriction.flange_b.phi,bearingFriction.flange_b.tau,bearingFriction.free,bearingFriction.locked,bearingFriction.lossPower,bearingFriction.mode,bearingFriction.peak,bearingFriction.phi,bearingFriction.sa,bearingFriction.startBackward,bearingFriction.startForward,bearingFriction.support.phi,bearingFriction.support.tau,bearingFriction.tau,bearingFriction.tau0,bearingFriction.tau0_max,bearingFriction.tau_pos[1,1],bearingFriction.tau_pos[1,2],bearingFriction.tau_pos[2,1],bearingFriction.tau_pos[2,2],bearingFriction.useHeatPort,bearingFriction.useSupport,bearingFriction.w,bearingFriction.w_relfric,bearingFriction.w_small,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(bearingFriction.phi),der(bearingFriction.w),der(der(gear.phi_b)),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),fixed.flange.phi,fixed.flange.tau,fixed.phi0,gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.support.phi,gear.support.tau,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.diff.mat", vars={"gear.mode", "bearingFriction.startForward", "bearingFriction.mode"}, 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/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.diff.ref.mat", vars={"gear.mode", "bearingFriction.startForward", "bearingFriction.mode"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode Variables in the result:DriveSine.amplitude,DriveSine.f,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,PowerLoss,bearingFriction.a,bearingFriction.a_relfric,bearingFriction.flange_a.phi,bearingFriction.flange_a.tau,bearingFriction.flange_b.phi,bearingFriction.flange_b.tau,bearingFriction.free,bearingFriction.locked,bearingFriction.lossPower,bearingFriction.mode,bearingFriction.peak,bearingFriction.phi,bearingFriction.sa,bearingFriction.startBackward,bearingFriction.startForward,bearingFriction.support.phi,bearingFriction.support.tau,bearingFriction.tau,bearingFriction.tau0,bearingFriction.tau0_max,bearingFriction.tau_pos[1,1],bearingFriction.tau_pos[1,2],bearingFriction.tau_pos[2,1],bearingFriction.tau_pos[2,2],bearingFriction.useHeatPort,bearingFriction.useSupport,bearingFriction.w,bearingFriction.w_relfric,bearingFriction.w_small,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(bearingFriction.phi),der(bearingFriction.w),der(der(gear.phi_b)),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),fixed.flange.phi,fixed.flange.tau,fixed.phi0,gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.support.phi,gear.support.tau,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.diff.mat", vars={"gear.mode", "bearingFriction.startForward", "bearingFriction.mode", "Inertia2.w", "Inertia2.phi"}, 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/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.diff.ref.mat", vars={"gear.mode", "bearingFriction.startForward", "bearingFriction.mode", "Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode Variables in the result:DriveSine.amplitude,DriveSine.f,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,PowerLoss,bearingFriction.a,bearingFriction.a_relfric,bearingFriction.flange_a.phi,bearingFriction.flange_a.tau,bearingFriction.flange_b.phi,bearingFriction.flange_b.tau,bearingFriction.free,bearingFriction.locked,bearingFriction.lossPower,bearingFriction.mode,bearingFriction.peak,bearingFriction.phi,bearingFriction.sa,bearingFriction.startBackward,bearingFriction.startForward,bearingFriction.support.phi,bearingFriction.support.tau,bearingFriction.tau,bearingFriction.tau0,bearingFriction.tau0_max,bearingFriction.tau_pos[1,1],bearingFriction.tau_pos[1,2],bearingFriction.tau_pos[2,1],bearingFriction.tau_pos[2,2],bearingFriction.useHeatPort,bearingFriction.useSupport,bearingFriction.w,bearingFriction.w_relfric,bearingFriction.w_small,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(bearingFriction.phi),der(bearingFriction.w),der(der(gear.phi_b)),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),fixed.flange.phi,fixed.flange.tau,fixed.phi0,gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.support.phi,gear.support.tau,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.diff.mat", vars={"gear.mode", "bearingFriction.startForward", "bearingFriction.mode", "Inertia2.w", "Inertia2.phi"}, 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/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.diff.ref.mat", vars={"gear.mode", "bearingFriction.startForward", "bearingFriction.mode", "Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy_res.csv --output-variables Inertia2.phi Inertia2.w bearingFriction.mode bearingFriction.startBackward bearingFriction.startForward gear.mode --start-time 0 --stop-time 0.5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode Variables in the result:time,Inertia2.phi,Inertia2.w,bearingFriction.mode,gear.mode,bearingFriction.startBackward,bearingFriction.startForward filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.diff.mat", vars={"gear.mode", "bearingFriction.startForward", "bearingFriction.mode"}, 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/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.diff.ref.mat", vars={"gear.mode", "bearingFriction.startForward", "bearingFriction.mode"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 10.61124763917178]