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.0009641/0.0009641, allocations: 84.34 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009711/0.0009711, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.8634/0.8634, allocations: 177.4 MB / 204.6 MB, free: 5.297 MB / 186.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 1.273e-06/1.273e-06, allocations: 0 / 326.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.618e-05, allocations: 2.281 kB / 326.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.002638/0.002655, allocations: 2.692 MB / 329.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.004035, allocations: 1.244 MB / 330.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.004153, allocations: 7.938 kB / 330.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.00443, allocations: 87.28 kB / 330.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.004792, allocations: 226.8 kB / 331.1 MB, free: 10 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.00511, allocations: 255.5 kB / 331.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.005618, allocations: 0.7248 MB / 332 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.005775, allocations: 79.97 kB / 332.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.006154, allocations: 447.1 kB / 332.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.006428, allocations: 323.2 kB / 332.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.142e-05/0.006489, allocations: 56 kB / 332.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.006662, allocations: 155.8 kB / 333.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.006795, allocations: 175.4 kB / 333.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.006931, allocations: 195.5 kB / 333.4 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.007579, allocations: 0.779 MB / 334.2 MB, free: 6.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.007581, allocations: 0 / 334.2 MB, free: 6.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.007582, allocations: 0 / 334.2 MB, free: 6.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.007587, allocations: 0 / 334.2 MB, free: 6.832 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009962/0.008583, allocations: 0.7699 MB / 335 MB, free: 6.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.008617, allocations: 19.91 kB / 335 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.893e-05/0.008686, allocations: 82.72 kB / 335.1 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.008932, allocations: 72.62 kB / 335.2 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.009296, allocations: 320.3 kB / 335.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.009401, allocations: 152.4 kB / 335.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.009459, allocations: 40.38 kB / 335.7 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/0.01013, allocations: 0.5783 MB / 336.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.01015, allocations: 4.172 kB / 336.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.01018, allocations: 19.94 kB / 336.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.01019, allocations: 12 kB / 336.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.011, allocations: 0.5972 MB / 336.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.01267, allocations: 1.134 MB / 338 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/0.01341, allocations: 497.6 kB / 338.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.0138, allocations: 270.2 kB / 338.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.01384, allocations: 8.5 kB / 338.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.01386, allocations: 51.05 kB / 338.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.603e-06/0.01386, allocations: 0 / 338.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=70): time 0.004071/0.01794, allocations: 2.434 MB / 341.2 MB, free: 15.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.01798, allocations: 93.5 kB / 341.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.01827, allocations: 360.4 kB / 341.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.01831, allocations: 41.7 kB / 341.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.01839, allocations: 157.8 kB / 341.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.01851, allocations: 246 kB / 342.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.01865, allocations: 126.2 kB / 342.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.01874, allocations: 350.8 kB / 342.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.01911, allocations: 273.2 kB / 342.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.01952, allocations: 352.2 kB / 343.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.02016, allocations: 495.5 kB / 343.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.02016, allocations: 4 kB / 343.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001316/0.02148, allocations: 0.818 MB / 344.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.02149, allocations: 7.938 kB / 344.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.0215, allocations: 0 / 344.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000657/0.02216, allocations: 449.8 kB / 345 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.02236, allocations: 87.88 kB / 345 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008362/0.0232, allocations: 1.022 MB / 346.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.02344, allocations: 67.97 kB / 346.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.02347, allocations: 23.98 kB / 346.1 MB, free: 10.55 MB / 314.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.0001655/0.02364, allocations: 181.7 kB / 346.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.02371, allocations: 43.72 kB / 346.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.377e-05/0.02378, allocations: 67.86 kB / 346.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.02378, allocations: 4 kB / 346.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.02379, allocations: 0 / 346.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.02379, allocations: 7.984 kB / 346.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.02572, allocations: 1.571 MB / 348 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.02572, allocations: 0 / 348 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.02593, allocations: 83.91 kB / 348.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/0.02648, allocations: 404.5 kB / 348.5 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.02651, allocations: 23.97 kB / 348.5 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007545/0.02726, allocations: 0.9789 MB / 349.5 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02727, allocations: 4.062 kB / 349.5 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.02879, allocations: 1.204 MB / 350.7 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.02895, allocations: 111.6 kB / 350.8 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.02901, allocations: 20 kB / 350.8 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.02922, allocations: 60 kB / 350.9 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.02936, allocations: 96.47 kB / 351 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.02939, allocations: 19.98 kB / 351 MB, free: 5.559 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.02958, allocations: 259 kB / 351.3 MB, free: 5.305 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02958, allocations: 0 / 351.3 MB, free: 5.305 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005573/0.03014, allocations: 147.9 kB / 351.4 MB, free: 5.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 9 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 4 (bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002466/0.0326, allocations: 2.061 MB / 353.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009458/0.03355, allocations: 0.635 MB / 354.1 MB, free: 2.566 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.03355, allocations: 4 kB / 354.1 MB, free: 2.562 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.03403, allocations: 344.8 kB / 354.4 MB, free: 2.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.03437, allocations: 61.64 kB / 354.5 MB, free: 2.164 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/0.03991, allocations: 4.839 MB / 359.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.04005, allocations: 214 kB / 359.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.04022, allocations: 87.34 kB / 359.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.0404, allocations: 148.4 kB / 359.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0404, allocations: 4 kB / 359.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0809/0.1213, allocations: 13.97 MB / 373.7 MB, free: 14.85 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.074, allocations: 7.984 kB / 373.8 MB, free: 14.84 MB / 346.7 MB " [Timeout remaining time 652] (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: 10.659398660063744]