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.001239/0.001239, allocations: 106.6 kB / 20.43 MB, free: 4.594 MB / 13.93 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.001164/0.001164, allocations: 201.3 kB / 23.71 MB, free: 2.16 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9552/0.9552, allocations: 225.7 MB / 252.5 MB, free: 14.45 MB / 202.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 0.001241/0.001241, allocations: 55.91 kB / 371.9 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2248, allocations: 52.18 MB / 424.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.003241/0.2281, allocations: 2.558 MB / 426.7 MB, free: 6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2296, allocations: 1.038 MB / 427.7 MB, free: 5.297 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.2298, allocations: 9.438 kB / 427.7 MB, free: 5.293 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.23, allocations: 70.59 kB / 427.8 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.2305, allocations: 189.6 kB / 428 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.2309, allocations: 256.7 kB / 428.2 MB, free: 5.027 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004939/0.2314, allocations: 0.6453 MB / 428.9 MB, free: 4.734 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.2316, allocations: 82.73 kB / 429 MB, free: 4.688 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.2319, allocations: 297.6 kB / 429.3 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.2323, allocations: 326.8 kB / 429.6 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.2324, allocations: 51.88 kB / 429.6 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.2326, allocations: 135.7 kB / 429.8 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.2327, allocations: 146.9 kB / 429.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.2329, allocations: 212.6 kB / 430.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.2334, allocations: 0.6511 MB / 430.8 MB, free: 3.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2334, allocations: 5.234 kB / 430.8 MB, free: 3.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2334, allocations: 0 / 430.8 MB, free: 3.738 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2334, allocations: 0 / 430.8 MB, free: 3.738 MB / 330.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.001011/0.2344, allocations: 0.7292 MB / 431.5 MB, free: 3.168 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2345, allocations: 10.19 kB / 431.5 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.134e-05/0.2345, allocations: 87.55 kB / 431.6 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.2347, allocations: 66.69 kB / 431.7 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.2351, allocations: 321.5 kB / 432 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.2352, allocations: 151.1 kB / 432.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.2353, allocations: 38.53 kB / 432.2 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/0.2359, allocations: 0.5874 MB / 432.7 MB, free: 2.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.2359, allocations: 1.469 kB / 432.7 MB, free: 2.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.236, allocations: 16.28 kB / 432.8 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.236, allocations: 14.12 kB / 432.8 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007808/0.2368, allocations: 0.628 MB / 433.4 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.2382, allocations: 1.122 MB / 434.5 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/0.2389, allocations: 0.5071 MB / 435 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.2393, allocations: 297.7 kB / 435.3 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.2393, allocations: 6.312 kB / 435.3 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.2393, allocations: 42.61 kB / 435.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of pre-optimization done (n=61): time 1.813e-06/0.2393, allocations: 0 / 435.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of matching and sorting (n=69): time 0.004001/0.2433, allocations: 2.558 MB / 437.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.2434, allocations: 93.48 kB / 438 MB, free: 15.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.2437, allocations: 338.4 kB / 438.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.2437, allocations: 43.52 kB / 438.4 MB, free: 15.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.2438, allocations: 161.9 kB / 438.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2439, allocations: 245.1 kB / 438.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.2441, allocations: 116.1 kB / 438.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.2442, allocations: 352.3 kB / 439.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.2446, allocations: 287.4 kB / 439.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.245, allocations: 373.1 kB / 439.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/0.2457, allocations: 0.5286 MB / 440.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2457, allocations: 0 / 440.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001144/0.2468, allocations: 0.8716 MB / 441.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2468, allocations: 18.06 kB / 441.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2468, allocations: 4.031 kB / 441.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/0.2475, allocations: 474.4 kB / 441.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.2477, allocations: 87.81 kB / 441.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008692/0.2486, allocations: 1.072 MB / 442.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.2488, allocations: 63.98 kB / 443 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.2488, allocations: 20 kB / 443 MB, free: 11.41 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,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.249, allocations: 177.7 kB / 443.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.2491, allocations: 47.72 kB / 443.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.907e-05/0.2491, allocations: 63.77 kB / 443.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.2492, allocations: 8 kB / 443.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2492, allocations: 0 / 443.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2492, allocations: 7.922 kB / 443.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.2511, allocations: 1.625 MB / 444.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2511, allocations: 0 / 444.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.2513, allocations: 83.88 kB / 445 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005507/0.2519, allocations: 444.5 kB / 445.5 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.2519, allocations: 24.05 kB / 445.5 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007763/0.2527, allocations: 1.036 MB / 446.5 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2527, allocations: 0 / 446.5 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.2542, allocations: 1.301 MB / 447.8 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.2543, allocations: 107.7 kB / 447.9 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.2544, allocations: 12 kB / 447.9 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.2546, allocations: 55.94 kB / 448 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.2547, allocations: 92.47 kB / 448.1 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.2548, allocations: 19.98 kB / 448.1 MB, free: 6.211 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.2549, allocations: 247 kB / 448.3 MB, free: 5.973 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2549, allocations: 0 / 448.3 MB, free: 5.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000352/0.2553, allocations: 147.9 kB / 448.5 MB, free: 5.828 MB / 346.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.001777/0.2571, allocations: 1.884 MB / 450.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009456/0.258, allocations: 0.6664 MB / 451 MB, free: 3.246 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.258, allocations: 0 / 451 MB, free: 3.246 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000463/0.2585, allocations: 364.5 kB / 451.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.2588, allocations: 52.84 kB / 451.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/0.2641, allocations: 4.989 MB / 456.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.2642, allocations: 214 kB / 456.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.2644, allocations: 63.34 kB / 456.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.2645, allocations: 131.4 kB / 456.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2645, allocations: 0 / 456.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08677/0.3513, allocations: 13.09 MB / 469.9 MB, free: 412 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.38, allocations: 7.922 kB / 469.9 MB, free: 404 kB / 362.7 MB " [Timeout remaining time 651] (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: 11.080995871685445]