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.001338/0.001338, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.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.001441/0.001441, allocations: 169.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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.9223/0.9223, allocations: 177.2 MB / 204.3 MB, free: 5.73 MB / 186.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 1.693e-06/1.693e-06, allocations: 0 / 326.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.284e-05, allocations: 2.281 kB / 326.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.004232/0.004255, allocations: 2.687 MB / 328.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.006232, allocations: 1.24 MB / 330 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.006414, allocations: 7.938 kB / 330.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.006737, allocations: 95.33 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.007266, allocations: 226.6 kB / 330.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.007764, allocations: 259.5 kB / 330.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004864/0.00825, allocations: 0.7286 MB / 331.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.008418, allocations: 79.98 kB / 331.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.008822, allocations: 439.1 kB / 331.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.009112, allocations: 327.2 kB / 332.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.009178, allocations: 60 kB / 332.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.009363, allocations: 155.8 kB / 332.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.009497, allocations: 167.4 kB / 332.6 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.009628, allocations: 199.5 kB / 332.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.01019, allocations: 0.7713 MB / 333.5 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.0102, allocations: 0 / 333.5 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0102, allocations: 0 / 333.5 MB, free: 7.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.0102, allocations: 0 / 333.5 MB, free: 7.668 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.001058/0.01126, allocations: 0.7776 MB / 334.3 MB, free: 6.859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.0113, allocations: 12.03 kB / 334.3 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.332e-05/0.01137, allocations: 82.7 kB / 334.4 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.01164, allocations: 76.62 kB / 334.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.01202, allocations: 308.4 kB / 334.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.01214, allocations: 152.4 kB / 334.9 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.0122, allocations: 48.33 kB / 335 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.01291, allocations: 0.5782 MB / 335.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.01293, allocations: 4.188 kB / 335.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.01297, allocations: 19.94 kB / 335.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.01297, allocations: 12 kB / 335.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009533/0.01393, allocations: 0.605 MB / 336.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.01544, allocations: 1.13 MB / 337.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/0.0162, allocations: 493.5 kB / 337.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.01658, allocations: 276.9 kB / 338.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.01662, allocations: 12.5 kB / 338.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.01665, allocations: 43.19 kB / 338.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.773e-06/0.01665, allocations: 0 / 338.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=70): time 0.004043/0.02069, allocations: 2.43 MB / 340.5 MB, free: 420 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.02073, allocations: 89.7 kB / 340.6 MB, free: 312 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.02102, allocations: 356.4 kB / 341 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.02106, allocations: 45.69 kB / 341 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.02114, allocations: 169.8 kB / 341.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.02126, allocations: 238 kB / 341.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.0214, allocations: 130.2 kB / 341.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.02148, allocations: 350.8 kB / 341.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.02187, allocations: 265.2 kB / 342.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.02228, allocations: 360.2 kB / 342.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.02294, allocations: 495.6 kB / 343 MB, free: 13.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.02294, allocations: 0 / 343 MB, free: 13.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001238/0.02418, allocations: 0.8257 MB / 343.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.0242, allocations: 7.938 kB / 343.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.0242, allocations: 0 / 343.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006685/0.02487, allocations: 453 kB / 344.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.02508, allocations: 83.88 kB / 344.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008489/0.02593, allocations: 1.027 MB / 345.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.02617, allocations: 56 kB / 345.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.02621, allocations: 27.98 kB / 345.5 MB, free: 11.39 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.0001659/0.02638, allocations: 177.7 kB / 345.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.02645, allocations: 47.72 kB / 345.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.681e-05/0.02653, allocations: 67.86 kB / 345.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.02653, allocations: 8 kB / 345.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.02654, allocations: 4 kB / 345.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.02654, allocations: 3.984 kB / 345.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.02851, allocations: 1.555 MB / 347.3 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.02851, allocations: 12.08 kB / 347.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.02872, allocations: 83.88 kB / 347.4 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005622/0.02928, allocations: 400.6 kB / 347.8 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.02932, allocations: 23.97 kB / 347.8 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007722/0.03009, allocations: 0.9797 MB / 348.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.03009, allocations: 0 / 348.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.03164, allocations: 1.215 MB / 350 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.03181, allocations: 115.6 kB / 350.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.03187, allocations: 24.06 kB / 350.2 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.03209, allocations: 51.94 kB / 350.2 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.03236, allocations: 88.48 kB / 350.3 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.03239, allocations: 27.97 kB / 350.3 MB, free: 6.398 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001992/0.03259, allocations: 259 kB / 350.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03259, allocations: 0 / 350.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.03294, allocations: 143.9 kB / 350.7 MB, free: 6.004 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.002527/0.03546, allocations: 2.064 MB / 352.8 MB, free: 4.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009929/0.03646, allocations: 0.6389 MB / 353.4 MB, free: 3.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.03646, allocations: 0 / 353.4 MB, free: 3.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.03695, allocations: 344.7 kB / 353.8 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.03732, allocations: 67.92 kB / 353.8 MB, free: 3.027 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005916/0.04323, allocations: 4.833 MB / 358.6 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.04338, allocations: 233.9 kB / 358.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.04357, allocations: 79.48 kB / 359 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.04376, allocations: 152.4 kB / 359.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.04377, allocations: 0 / 359.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08508/0.1288, allocations: 13.97 MB / 373.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.131, allocations: 14 kB / 373.1 MB, free: 15.72 MB / 346.7 MB " [Timeout remaining time 652] (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: 10.818575567565858]