Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009994/0.0009994, allocations: 114.1 kB / 20.44 MB, free: 4.574 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 221.3 kB / 23.74 MB, free: 2.133 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9481/0.9481, allocations: 231.1 MB / 258 MB, free: 8.938 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 75.86 kB / 380.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1995, allocations: 53.56 MB / 433.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.00251/0.202, allocations: 2.669 MB / 436.4 MB, free: 448 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2035, allocations: 1.225 MB / 437.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.2036, allocations: 4.531 kB / 437.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.2039, allocations: 94.36 kB / 437.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.2043, allocations: 220.8 kB / 438 MB, free: 15.23 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.2046, allocations: 260.2 kB / 438.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004988/0.2051, allocations: 0.7115 MB / 438.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.2053, allocations: 85.36 kB / 439 MB, free: 14.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.2056, allocations: 335.3 kB / 439.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.2059, allocations: 352.7 kB / 439.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.172e-05/0.206, allocations: 57.94 kB / 439.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.2062, allocations: 149.9 kB / 439.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.2063, allocations: 168 kB / 440.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.2065, allocations: 228.1 kB / 440.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.207, allocations: 0.7278 MB / 441 MB, free: 13.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.207, allocations: 0 / 441 MB, free: 13.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.207, allocations: 0 / 441 MB, free: 13.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.207, allocations: 5.062 kB / 441 MB, free: 13.29 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001054/0.2081, allocations: 0.7883 MB / 441.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2081, allocations: 9.625 kB / 441.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.151e-05/0.2082, allocations: 76.31 kB / 441.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/0.2085, allocations: 73.41 kB / 442 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.2089, allocations: 323.8 kB / 442.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.209, allocations: 152.3 kB / 442.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.209, allocations: 38.88 kB / 442.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.2098, allocations: 0.5881 MB / 443 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2098, allocations: 1.031 kB / 443 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.2098, allocations: 16.53 kB / 443.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.2098, allocations: 9.594 kB / 443.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000841/0.2107, allocations: 0.6074 MB / 443.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.2122, allocations: 1.123 MB / 444.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.2129, allocations: 0.4941 MB / 445.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.2133, allocations: 282.1 kB / 445.6 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.2134, allocations: 12.48 kB / 445.6 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2134, allocations: 39.06 kB / 445.6 MB, free: 9.879 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 1.713e-06/0.2134, allocations: 0 / 445.6 MB, free: 9.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=70): time 0.004093/0.2175, allocations: 2.446 MB / 448.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.2175, allocations: 81.77 kB / 448.1 MB, free: 7.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.2178, allocations: 356.5 kB / 448.5 MB, free: 6.926 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.2178, allocations: 41.7 kB / 448.5 MB, free: 6.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.2179, allocations: 165.8 kB / 448.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.218, allocations: 238 kB / 448.9 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.2182, allocations: 126.2 kB / 449.1 MB, free: 6.348 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.2182, allocations: 350.8 kB / 449.4 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.2186, allocations: 269.2 kB / 449.7 MB, free: 5.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.219, allocations: 364.1 kB / 450 MB, free: 5.359 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006395/0.2197, allocations: 491.6 kB / 450.5 MB, free: 4.871 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2197, allocations: 0 / 450.5 MB, free: 4.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001086/0.2207, allocations: 0.8336 MB / 451.3 MB, free: 4.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2208, allocations: 4 kB / 451.3 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2208, allocations: 0 / 451.3 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/0.2214, allocations: 440.4 kB / 451.8 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2216, allocations: 91.88 kB / 451.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008504/0.2225, allocations: 1.017 MB / 452.9 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.2227, allocations: 55.94 kB / 452.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.2227, allocations: 27.92 kB / 453 MB, free: 2.375 MB / 346.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,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.2229, allocations: 181.8 kB / 453.1 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.223, allocations: 51.72 kB / 453.2 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-05/0.223, allocations: 63.86 kB / 453.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.223, allocations: 8 kB / 453.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.223, allocations: 0 / 453.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2231, allocations: 3.984 kB / 453.3 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.2253, allocations: 1.563 MB / 454.8 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2253, allocations: 0 / 454.8 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.2255, allocations: 83.88 kB / 454.9 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/0.226, allocations: 416.5 kB / 455.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.2261, allocations: 32.03 kB / 455.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007712/0.2269, allocations: 0.9706 MB / 456.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2269, allocations: 0 / 456.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.2284, allocations: 1.212 MB / 457.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.2286, allocations: 115.6 kB / 457.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.2286, allocations: 16 kB / 457.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.2288, allocations: 51.94 kB / 457.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.229, allocations: 92.47 kB / 457.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.229, allocations: 31.92 kB / 457.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.2292, allocations: 259 kB / 458.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2292, allocations: 3.938 kB / 458.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.2295, allocations: 147.9 kB / 458.2 MB, free: 12.98 MB / 362.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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002559/0.2321, allocations: 2.048 MB / 460.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009744/0.2331, allocations: 0.6313 MB / 460.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2331, allocations: 0 / 460.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.2336, allocations: 344.6 kB / 461.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.2339, allocations: 80.39 kB / 461.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.2397, allocations: 4.849 MB / 466.2 MB, free: 5.031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.2399, allocations: 229.9 kB / 466.4 MB, free: 4.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.2401, allocations: 83.36 kB / 466.5 MB, free: 4.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.2403, allocations: 143.4 kB / 466.6 MB, free: 4.566 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2403, allocations: 0 / 466.6 MB, free: 4.566 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08064/0.3209, allocations: 13.85 MB / 480.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.497, allocations: 10.81 kB / 480.5 MB, free: 6.77 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.continuous,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.smoothness,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.smoothness,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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.continuous,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.smoothness,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.smoothness,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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.continuous,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.smoothness,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.smoothness,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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.083877344615757]