Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000963/0.000963, allocations: 117.3 kB / 21.19 MB, free: 4.379 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.001015/0.001015, allocations: 221.5 kB / 24.48 MB, free: 1.379 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8626/0.8626, allocations: 207.7 MB / 235.3 MB, free: 4.566 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 348.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1688, allocations: 49.16 MB / 397.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.002635/0.1715, allocations: 2.562 MB / 400.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1728, allocations: 1.089 MB / 401.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.173, allocations: 11.94 kB / 401.5 MB, free: 9.859 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.1732, allocations: 71.36 kB / 401.6 MB, free: 9.789 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.1736, allocations: 190.9 kB / 401.8 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.1742, allocations: 259.5 kB / 402.1 MB, free: 9.348 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004411/0.1746, allocations: 0.643 MB / 402.7 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1748, allocations: 83.91 kB / 402.8 MB, free: 8.617 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.175, allocations: 299.1 kB / 403.1 MB, free: 8.324 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.1753, allocations: 322.9 kB / 403.4 MB, free: 8.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.1754, allocations: 52 kB / 403.4 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.1756, allocations: 135.8 kB / 403.6 MB, free: 7.824 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1757, allocations: 147.5 kB / 403.7 MB, free: 7.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.1758, allocations: 219 kB / 403.9 MB, free: 7.465 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.1763, allocations: 0.6525 MB / 404.6 MB, free: 6.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1763, allocations: 0 / 404.6 MB, free: 6.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1763, allocations: 0 / 404.6 MB, free: 6.812 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1763, allocations: 0 / 404.6 MB, free: 6.812 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0009564/0.1773, allocations: 0.7351 MB / 405.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1773, allocations: 11.98 kB / 405.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/0.1774, allocations: 82.7 kB / 405.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.1776, allocations: 68.59 kB / 405.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.1779, allocations: 308.8 kB / 405.8 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.178, allocations: 156.4 kB / 405.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/0.1781, allocations: 40.33 kB / 406 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.1788, allocations: 0.5894 MB / 406.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1788, allocations: 0 / 406.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.1788, allocations: 16 kB / 406.6 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1788, allocations: 8 kB / 406.6 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007573/0.1796, allocations: 0.6284 MB / 407.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.181, allocations: 1.118 MB / 408.3 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000698/0.1817, allocations: 0.5179 MB / 408.8 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.1823, allocations: 298.2 kB / 409.1 MB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.1824, allocations: 8.484 kB / 409.1 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1824, allocations: 39.06 kB / 409.2 MB, free: 2.043 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 1.683e-06/0.1824, allocations: 0 / 409.2 MB, free: 2.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.003738/0.1861, allocations: 2.556 MB / 411.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1862, allocations: 89.69 kB / 411.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1864, allocations: 332.2 kB / 412.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.1864, allocations: 45.69 kB / 412.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.1865, allocations: 165.7 kB / 412.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.1866, allocations: 238 kB / 412.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.1868, allocations: 126.3 kB / 412.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.1868, allocations: 346.8 kB / 413.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.1872, allocations: 285.2 kB / 413.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.1876, allocations: 384.2 kB / 413.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006124/0.1882, allocations: 0.5229 MB / 414.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1882, allocations: 4.031 kB / 414.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001008/0.1892, allocations: 0.8735 MB / 415.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1892, allocations: 7.938 kB / 415.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1892, allocations: 0 / 415.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/0.1898, allocations: 477.4 kB / 415.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.19, allocations: 87.88 kB / 415.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.1911, allocations: 1.072 MB / 416.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.1913, allocations: 63.95 kB / 416.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.1913, allocations: 23.98 kB / 416.8 MB, free: 10.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (bearingFriction.free,gear.ideal,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward,gear.mode,$PRE.gear.mode,gear.locked,gear.startBackward,gear.startForward,gear.tau_aPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.1915, allocations: 177.8 kB / 417 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.1915, allocations: 47.7 kB / 417 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.768e-05/0.1916, allocations: 67.77 kB / 417.1 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1916, allocations: 4 kB / 417.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1916, allocations: 7.938 kB / 417.1 MB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1916, allocations: 3.984 kB / 417.1 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.1936, allocations: 1.625 MB / 418.8 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1936, allocations: 0 / 418.8 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.1938, allocations: 79.91 kB / 418.8 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005299/0.1943, allocations: 440.5 kB / 419.3 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.1944, allocations: 23.98 kB / 419.3 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000786/0.1951, allocations: 1.04 MB / 420.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1951, allocations: 0 / 420.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.1966, allocations: 1.313 MB / 421.6 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1968, allocations: 99.66 kB / 421.7 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.1968, allocations: 23.98 kB / 421.8 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.197, allocations: 52 kB / 421.8 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.1972, allocations: 88.48 kB / 421.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.1972, allocations: 23.98 kB / 421.9 MB, free: 5.008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.1974, allocations: 247 kB / 422.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1974, allocations: 0 / 422.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.1977, allocations: 151.9 kB / 422.3 MB, free: 4.613 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 9 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 4 (bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001783/0.1995, allocations: 1.873 MB / 424.2 MB, free: 2.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009226/0.2004, allocations: 0.6703 MB / 424.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2004, allocations: 8.062 kB / 424.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.2008, allocations: 360.6 kB / 425.2 MB, free: 1.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.2012, allocations: 61 kB / 425.3 MB, free: 1.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/0.2061, allocations: 4.966 MB / 430.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.2062, allocations: 218 kB / 430.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.2063, allocations: 55.34 kB / 430.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.2066, allocations: 139.3 kB / 430.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2066, allocations: 0 / 430.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08152/0.2882, allocations: 13.08 MB / 443.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.206, allocations: 11.97 kB / 443.7 MB, free: 14.94 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.freqHz,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,PowerLoss,bearingFriction.a,bearingFriction.a_relfric,bearingFriction.flange_a.phi,bearingFriction.flange_a.tau,bearingFriction.flange_b.phi,bearingFriction.flange_b.tau,bearingFriction.free,bearingFriction.locked,bearingFriction.lossPower,bearingFriction.mode,bearingFriction.peak,bearingFriction.phi,bearingFriction.sa,bearingFriction.startBackward,bearingFriction.startForward,bearingFriction.support.phi,bearingFriction.support.tau,bearingFriction.tau,bearingFriction.tau0,bearingFriction.tau0_max,bearingFriction.tau_pos[1,1],bearingFriction.tau_pos[1,2],bearingFriction.tau_pos[2,1],bearingFriction.tau_pos[2,2],bearingFriction.useHeatPort,bearingFriction.useSupport,bearingFriction.w,bearingFriction.w_relfric,bearingFriction.w_small,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(bearingFriction.phi),der(bearingFriction.w),der(der(gear.phi_b)),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),fixed.flange.phi,fixed.flange.tau,fixed.phi0,gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.support.phi,gear.support.tau,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.freqHz,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,PowerLoss,bearingFriction.a,bearingFriction.a_relfric,bearingFriction.flange_a.phi,bearingFriction.flange_a.tau,bearingFriction.flange_b.phi,bearingFriction.flange_b.tau,bearingFriction.free,bearingFriction.locked,bearingFriction.lossPower,bearingFriction.mode,bearingFriction.peak,bearingFriction.phi,bearingFriction.sa,bearingFriction.startBackward,bearingFriction.startForward,bearingFriction.support.phi,bearingFriction.support.tau,bearingFriction.tau,bearingFriction.tau0,bearingFriction.tau0_max,bearingFriction.tau_pos[1,1],bearingFriction.tau_pos[1,2],bearingFriction.tau_pos[2,1],bearingFriction.tau_pos[2,2],bearingFriction.useHeatPort,bearingFriction.useSupport,bearingFriction.w,bearingFriction.w_relfric,bearingFriction.w_small,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(bearingFriction.phi),der(bearingFriction.w),der(der(gear.phi_b)),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),fixed.flange.phi,fixed.flange.tau,fixed.phi0,gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.support.phi,gear.support.tau,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.freqHz,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,PowerLoss,bearingFriction.a,bearingFriction.a_relfric,bearingFriction.flange_a.phi,bearingFriction.flange_a.tau,bearingFriction.flange_b.phi,bearingFriction.flange_b.tau,bearingFriction.free,bearingFriction.locked,bearingFriction.lossPower,bearingFriction.mode,bearingFriction.peak,bearingFriction.phi,bearingFriction.sa,bearingFriction.startBackward,bearingFriction.startForward,bearingFriction.support.phi,bearingFriction.support.tau,bearingFriction.tau,bearingFriction.tau0,bearingFriction.tau0_max,bearingFriction.tau_pos[1,1],bearingFriction.tau_pos[1,2],bearingFriction.tau_pos[2,1],bearingFriction.tau_pos[2,2],bearingFriction.useHeatPort,bearingFriction.useSupport,bearingFriction.w,bearingFriction.w_relfric,bearingFriction.w_small,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(bearingFriction.phi),der(bearingFriction.w),der(der(gear.phi_b)),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),fixed.flange.phi,fixed.flange.tau,fixed.phi0,gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.support.phi,gear.support.tau,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.648065563291311]