Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 84.34 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9441/0.9441, allocations: 177.4 MB / 204.5 MB, free: 5.305 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 326.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.408e-06/1.091e-05, allocations: 4.109 kB / 326.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.005782/0.005793, allocations: 2.336 MB / 329.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.007067, allocations: 1.022 MB / 330.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.007181, allocations: 4 kB / 330.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.007418, allocations: 71.42 kB / 330.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.007749, allocations: 148 kB / 330.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.00802, allocations: 159.7 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003409/0.01143, allocations: 490.4 kB / 331 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.01156, allocations: 40.92 kB / 331.1 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.01181, allocations: 287.4 kB / 331.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.01205, allocations: 207.5 kB / 331.5 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.0121, allocations: 36 kB / 331.6 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.01228, allocations: 127.8 kB / 331.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.01239, allocations: 107.7 kB / 331.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.01271, allocations: 127.7 kB / 331.9 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.01319, allocations: 0.5298 MB / 332.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.01319, allocations: 0 / 332.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01319, allocations: 0 / 332.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.0132, allocations: 3.938 kB / 332.5 MB, free: 8.586 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003887/0.01708, allocations: 0.6023 MB / 333.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.01712, allocations: 11.98 kB / 333.1 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.41e-05/0.01718, allocations: 62.73 kB / 333.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.01741, allocations: 56.72 kB / 333.2 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.01776, allocations: 239.2 kB / 333.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.01787, allocations: 140 kB / 333.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.01792, allocations: 28.38 kB / 333.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.01849, allocations: 404.9 kB / 334 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.01851, allocations: 8.141 kB / 334 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.01854, allocations: 15.94 kB / 334 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.01855, allocations: 11.98 kB / 334 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.01922, allocations: 414.2 kB / 334.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004541/0.02376, allocations: 1.126 MB / 335.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.02432, allocations: 318.5 kB / 335.9 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.02462, allocations: 168.8 kB / 336 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.02464, allocations: 4.719 kB / 336 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.02467, allocations: 42.5 kB / 336.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.753e-06/0.02467, allocations: 0 / 336.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.006499/0.03117, allocations: 1.664 MB / 337.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.0312, allocations: 84.86 kB / 337.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.03144, allocations: 258.5 kB / 338.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.03147, allocations: 33.69 kB / 338.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.03154, allocations: 140.8 kB / 338.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.211e-05/0.03163, allocations: 150.8 kB / 338.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.03175, allocations: 94.12 kB / 338.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.03183, allocations: 334.8 kB / 338.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003516/0.03535, allocations: 168.9 kB / 339 MB, free: 1.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.03568, allocations: 252.3 kB / 339.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000538/0.03622, allocations: 332.2 kB / 339.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.03622, allocations: 4.031 kB / 339.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008823/0.0371, allocations: 0.541 MB / 340.1 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.03712, allocations: 8 kB / 340.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.03712, allocations: 4 kB / 340.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005724/0.0377, allocations: 304.7 kB / 340.4 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.03787, allocations: 51.91 kB / 340.5 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005894/0.04377, allocations: 2.754 MB / 343.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.04394, allocations: 27.97 kB / 343.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.04397, allocations: 12 kB / 343.3 MB, free: 13.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (gear.ideal,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 (27): * Single equations (assignments): 26 * 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,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.04411, allocations: 165.8 kB / 343.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.04417, allocations: 27.81 kB / 343.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.04422, allocations: 42.98 kB / 343.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.04423, allocations: 4 kB / 343.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.04423, allocations: 0 / 343.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.04424, allocations: 7.938 kB / 343.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.04562, allocations: 1.022 MB / 344.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.04562, allocations: 4 kB / 344.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.04574, allocations: 43.95 kB / 344.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.04617, allocations: 284.7 kB / 344.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.04619, allocations: 11.98 kB / 344.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.04839, allocations: 2.7 MB / 347.6 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.0484, allocations: 8 kB / 347.6 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009399/0.04934, allocations: 0.7925 MB / 348.4 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/0.04943, allocations: 71.81 kB / 348.4 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.04946, allocations: 12 kB / 348.4 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.04958, allocations: 19.98 kB / 348.5 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.04968, allocations: 75.73 kB / 348.5 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.0497, allocations: 19.98 kB / 348.5 MB, free: 7.828 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.04983, allocations: 180.2 kB / 348.7 MB, free: 7.652 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04983, allocations: 8.062 kB / 348.7 MB, free: 7.645 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.05018, allocations: 135.9 kB / 348.9 MB, free: 7.512 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 5 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode) * Number of discrete states: 1 (gear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00184/0.05202, allocations: 1.671 MB / 350.5 MB, free: 5.941 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007433/0.05276, allocations: 0.5943 MB / 351.1 MB, free: 5.332 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.05277, allocations: 0 / 351.1 MB, free: 5.332 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.05316, allocations: 417.9 kB / 351.5 MB, free: 4.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.05342, allocations: 40.94 kB / 351.6 MB, free: 4.871 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.05664, allocations: 3.359 MB / 354.9 MB, free: 1.391 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.05674, allocations: 171.8 kB / 355.1 MB, free: 1.207 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.05688, allocations: 70.92 kB / 355.2 MB, free: 1.137 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.05699, allocations: 92.44 kB / 355.3 MB, free: 1.047 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.05699, allocations: 0 / 355.3 MB, free: 1.047 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08495/0.1419, allocations: 10.71 MB / 366 MB, free: 6.395 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.232, allocations: 11.78 kB / 366 MB, free: 6.383 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.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,gear.mode Variables in the result: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,der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(gear.phi_a),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.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,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y,time,torque1.flange.phi,torque1.flange.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.diff.mat", vars={"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/LossyGearDemo3/LossyGearDemo3.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.diff.ref.mat", vars={"Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy_res.csv --output-variables Inertia2.phi Inertia2.w gear.mode --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.826632584445179]