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.00113/0.00113, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.005179/0.005179, allocations: 168.9 kB / 24.7 MB, free: 8.91 MB / 18.57 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.9435/0.9435, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 300 MB, free: 1.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.892e-05, allocations: 2.281 kB / 300 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.1155/0.1155, allocations: 2.548 MB / 302.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.117, allocations: 1.094 MB / 303.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1171, allocations: 7.625 kB / 303.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.1173, allocations: 78.81 kB / 303.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004644/0.1178, allocations: 196.3 kB / 303.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1181, allocations: 249.8 kB / 304.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.1186, allocations: 0.6659 MB / 304.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1188, allocations: 83.48 kB / 304.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.1191, allocations: 398 kB / 305.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.1195, allocations: 299.8 kB / 305.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.685e-05/0.1195, allocations: 52.38 kB / 305.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.1197, allocations: 131 kB / 305.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.1199, allocations: 150.9 kB / 305.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.12, allocations: 184.8 kB / 306.1 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006461/0.1207, allocations: 0.6954 MB / 306.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1207, allocations: 1.188 kB / 306.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1207, allocations: 4 kB / 306.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1207, allocations: 0 / 306.8 MB, free: 13.17 MB / 282.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.001031/0.1217, allocations: 0.7396 MB / 307.5 MB, free: 12.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1217, allocations: 14.27 kB / 307.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.221e-05/0.1218, allocations: 78.06 kB / 307.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.122, allocations: 68.31 kB / 307.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.1224, allocations: 295.8 kB / 308 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.1225, allocations: 151.9 kB / 308.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.1226, allocations: 46.45 kB / 308.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.1233, allocations: 0.5878 MB / 308.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1233, allocations: 2.031 kB / 308.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.1233, allocations: 18.97 kB / 308.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1233, allocations: 9.656 kB / 308.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.1242, allocations: 0.6285 MB / 309.4 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.1258, allocations: 1.121 MB / 310.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007586/0.1265, allocations: 0.509 MB / 311 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.1269, allocations: 290.2 kB / 311.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.127, allocations: 11.88 kB / 311.3 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.127, allocations: 38.83 kB / 311.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=61): time 1.793e-06/0.127, allocations: 0 / 311.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=69): time 0.004068/0.1311, allocations: 2.572 MB / 313.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1311, allocations: 85.36 kB / 314 MB, free: 9.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1314, allocations: 333.3 kB / 314.4 MB, free: 9.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.1314, allocations: 43.8 kB / 314.4 MB, free: 9.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.1315, allocations: 165.4 kB / 314.6 MB, free: 9.367 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.979e-05/0.1316, allocations: 229 kB / 314.8 MB, free: 9.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.1317, allocations: 122.2 kB / 314.9 MB, free: 9.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.1318, allocations: 352.3 kB / 315.2 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.1322, allocations: 293.2 kB / 315.5 MB, free: 8.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.1326, allocations: 378.6 kB / 315.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.1332, allocations: 0.5249 MB / 316.4 MB, free: 8.316 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1332, allocations: 3.938 kB / 316.4 MB, free: 8.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001103/0.1343, allocations: 0.8718 MB / 317.3 MB, free: 7.977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1344, allocations: 5.812 kB / 317.3 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1344, allocations: 1.125 kB / 317.3 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007055/0.1351, allocations: 479.4 kB / 317.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.1353, allocations: 86.69 kB / 317.9 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007894/0.1361, allocations: 1.072 MB / 318.9 MB, free: 7.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.1363, allocations: 59.55 kB / 319 MB, free: 7.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.1364, allocations: 22.86 kB / 319 MB, free: 7.086 MB / 282.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.0001679/0.1365, allocations: 180.7 kB / 319.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.1366, allocations: 48.5 kB / 319.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.868e-05/0.1367, allocations: 69.48 kB / 319.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1367, allocations: 6.5 kB / 319.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1367, allocations: 1.031 kB / 319.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1367, allocations: 4.266 kB / 319.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.1387, allocations: 1.624 MB / 320.9 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.1387, allocations: 0 / 320.9 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.1389, allocations: 82.27 kB / 321 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005574/0.1395, allocations: 445.6 kB / 321.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.1395, allocations: 25.06 kB / 321.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007215/0.1403, allocations: 1.048 MB / 322.5 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1403, allocations: 1.062 kB / 322.5 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.1417, allocations: 1.305 MB / 323.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.1419, allocations: 101.8 kB / 323.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.142, allocations: 16.97 kB / 324 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.1422, allocations: 50.88 kB / 324 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.1423, allocations: 86.77 kB / 324.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.1423, allocations: 35.75 kB / 324.1 MB, free: 4.145 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1425, allocations: 240.1 kB / 324.4 MB, free: 3.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1425, allocations: 0 / 324.4 MB, free: 3.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004175/0.1429, allocations: 150.1 kB / 324.5 MB, free: 3.969 MB / 282.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.001736/0.1446, allocations: 1.883 MB / 326.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009575/0.1456, allocations: 0.6608 MB / 327 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1456, allocations: 4 kB / 327.1 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.146, allocations: 360.8 kB / 327.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1464, allocations: 62.58 kB / 327.5 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/0.1518, allocations: 4.948 MB / 332.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.152, allocations: 218 kB / 332.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.1522, allocations: 63.33 kB / 332.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.1523, allocations: 132.4 kB / 332.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of SimCode: time 2.324e-06/0.1523, allocations: 0 / 332.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/0.2617, allocations: 13.2 MB / 346 MB, free: 15.2 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.472, allocations: 11.91 kB / 346 MB, free: 15.19 MB / 314.7 MB " [Timeout remaining time 651] (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.971497361548245]