Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 110.5 kB / 20.44 MB, free: 4.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 213.5 kB / 23.73 MB, free: 2.133 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.958/0.958, allocations: 230.6 MB / 257.5 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 55.91 kB / 379.3 MB, free: 460 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2284, allocations: 53.37 MB / 432.6 MB, free: 3.191 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.00279/0.2312, allocations: 2.68 MB / 435.3 MB, free: 1.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2327, allocations: 1.229 MB / 436.5 MB, free: 204 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.2328, allocations: 13.41 kB / 436.6 MB, free: 196 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.2331, allocations: 81.36 kB / 436.6 MB, free: 132 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.2335, allocations: 223.1 kB / 436.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.2339, allocations: 257.1 kB / 437.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005566/0.2345, allocations: 0.7106 MB / 437.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.2346, allocations: 89.8 kB / 437.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.2351, allocations: 332.3 kB / 438.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.2355, allocations: 356.4 kB / 438.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.929e-05/0.2355, allocations: 57.47 kB / 438.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.2358, allocations: 148.9 kB / 438.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.2359, allocations: 163.7 kB / 438.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.2361, allocations: 237.7 kB / 439.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006536/0.2367, allocations: 0.7191 MB / 439.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2367, allocations: 1.125 kB / 439.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2367, allocations: 0 / 439.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2368, allocations: 0 / 439.9 MB, free: 14.03 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.001152/0.2379, allocations: 0.7894 MB / 440.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2379, allocations: 9.906 kB / 440.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.569e-05/0.238, allocations: 80.66 kB / 440.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.2383, allocations: 76.84 kB / 440.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.2387, allocations: 312.5 kB / 441.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.2389, allocations: 153 kB / 441.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/0.2389, allocations: 50.25 kB / 441.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.2397, allocations: 0.5799 MB / 441.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.2397, allocations: 10.19 kB / 441.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.2397, allocations: 15.34 kB / 442 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.2397, allocations: 9.344 kB / 442 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.2409, allocations: 0.6031 MB / 442.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.2425, allocations: 1.128 MB / 443.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.2433, allocations: 497.6 kB / 444.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.2437, allocations: 283.8 kB / 444.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.2438, allocations: 6.125 kB / 444.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.2438, allocations: 38.44 kB / 444.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 2.264e-06/0.2438, allocations: 0 / 444.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=70): time 0.004209/0.248, allocations: 2.434 MB / 446.9 MB, free: 8.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.2481, allocations: 85.77 kB / 447 MB, free: 8.418 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.2484, allocations: 356.5 kB / 447.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.2484, allocations: 41.7 kB / 447.4 MB, free: 8.012 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.2485, allocations: 165.7 kB / 447.6 MB, free: 7.844 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.2486, allocations: 245.9 kB / 447.8 MB, free: 7.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.2488, allocations: 126.3 kB / 447.9 MB, free: 7.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.2489, allocations: 354.7 kB / 448.3 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.2493, allocations: 269.2 kB / 448.5 MB, free: 6.855 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.2497, allocations: 356.2 kB / 448.9 MB, free: 6.488 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.2504, allocations: 495.5 kB / 449.4 MB, free: 5.996 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2504, allocations: 4 kB / 449.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00114/0.2515, allocations: 0.8296 MB / 450.2 MB, free: 5.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2515, allocations: 10.22 kB / 450.2 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2515, allocations: 0 / 450.2 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.2525, allocations: 440.4 kB / 450.6 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.2528, allocations: 91.86 kB / 450.7 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00091/0.2537, allocations: 1.026 MB / 451.8 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.2539, allocations: 63.95 kB / 451.8 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.254, allocations: 27.92 kB / 451.9 MB, free: 3.48 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.0001787/0.2542, allocations: 169.8 kB / 452 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.2542, allocations: 51.7 kB / 452.1 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.139e-05/0.2543, allocations: 71.92 kB / 452.1 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.2543, allocations: 4 kB / 452.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2543, allocations: 0 / 452.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2543, allocations: 4 kB / 452.1 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.2564, allocations: 1.559 MB / 453.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2564, allocations: 0 / 453.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.2566, allocations: 83.88 kB / 453.8 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005857/0.2572, allocations: 412.5 kB / 454.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.2572, allocations: 23.98 kB / 454.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000834/0.2581, allocations: 0.979 MB / 455.2 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2581, allocations: 0 / 455.2 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.2597, allocations: 1.216 MB / 456.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.2599, allocations: 111.6 kB / 456.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.2599, allocations: 20 kB / 456.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.2601, allocations: 55.88 kB / 456.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.2603, allocations: 92.47 kB / 456.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.2603, allocations: 31.91 kB / 456.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002087/0.2605, allocations: 255 kB / 457 MB, free: 14.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2605, allocations: 0 / 457 MB, free: 14.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003755/0.2609, allocations: 148 kB / 457.1 MB, free: 14.1 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.002838/0.2638, allocations: 2.045 MB / 459.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.2648, allocations: 0.635 MB / 459.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2648, allocations: 4.062 kB / 459.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.2653, allocations: 344.6 kB / 460.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.2656, allocations: 83.16 kB / 460.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005802/0.2714, allocations: 4.86 MB / 465.1 MB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.2716, allocations: 222 kB / 465.3 MB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002/0.2718, allocations: 83.36 kB / 465.4 MB, free: 5.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.272, allocations: 143.3 kB / 465.5 MB, free: 5.699 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.272, allocations: 0 / 465.5 MB, free: 5.699 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/0.3736, allocations: 13.85 MB / 479.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.353, allocations: 9.281 kB / 479.4 MB, free: 7.914 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.061332398094237]