Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.0009786/0.0009786, allocations: 87.69 kB / 20.68 MB, free: 3.887 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.001152/0.001152, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8776/0.8776, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 326.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.287e-06/1.065e-05, allocations: 6.219 kB / 326.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.002198/0.002209, allocations: 2.332 MB / 328.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003223, allocations: 1.022 MB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.003309, allocations: 4 kB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.003519, allocations: 63.44 kB / 329.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.003792, allocations: 163 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.004014, allocations: 159.7 kB / 329.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.004345, allocations: 490.4 kB / 330.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.004457, allocations: 44.91 kB / 330.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.004655, allocations: 279.4 kB / 330.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.004853, allocations: 207.6 kB / 330.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.004898, allocations: 40 kB / 330.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.005046, allocations: 123.8 kB / 331 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.005134, allocations: 115.6 kB / 331.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.005255, allocations: 131.7 kB / 331.3 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.005641, allocations: 0.5258 MB / 331.8 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.005643, allocations: 4 kB / 331.8 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005643, allocations: 0 / 331.8 MB, free: 9.426 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.005648, allocations: 0 / 331.8 MB, free: 9.426 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.0007334/0.006381, allocations: 0.5945 MB / 332.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.00641, allocations: 12.03 kB / 332.4 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.006461, allocations: 62.73 kB / 332.5 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.006635, allocations: 52.72 kB / 332.5 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.006911, allocations: 246.9 kB / 332.7 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.563e-05/0.007007, allocations: 140 kB / 332.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.007045, allocations: 28.38 kB / 332.9 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.007551, allocations: 404.9 kB / 333.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.007565, allocations: 8.141 kB / 333.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.007589, allocations: 15.94 kB / 333.3 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.007595, allocations: 8 kB / 333.3 MB, free: 7.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.008106, allocations: 414.2 kB / 333.7 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.009312, allocations: 1.123 MB / 334.9 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.009762, allocations: 327.4 kB / 335.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.009996, allocations: 172.7 kB / 335.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.01002, allocations: 4.719 kB / 335.4 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.01004, allocations: 38.56 kB / 335.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.423e-06/0.01004, allocations: 0 / 335.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.002849/0.01289, allocations: 1.656 MB / 337 MB, free: 3.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.01293, allocations: 88.86 kB / 337.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.01312, allocations: 254.4 kB / 337.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.01315, allocations: 41.69 kB / 337.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.0132, allocations: 136.9 kB / 337.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.01328, allocations: 158.6 kB / 337.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.01337, allocations: 86.12 kB / 337.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.01344, allocations: 342.8 kB / 338.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.01367, allocations: 160.9 kB / 338.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.01393, allocations: 252.3 kB / 338.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.01434, allocations: 336.2 kB / 338.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01434, allocations: 0 / 338.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006761/0.01502, allocations: 0.545 MB / 339.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01503, allocations: 8 kB / 339.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01504, allocations: 0 / 339.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000454/0.01549, allocations: 296.7 kB / 339.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.01563, allocations: 51.97 kB / 339.8 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.01795, allocations: 2.755 MB / 342.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.01807, allocations: 27.91 kB / 342.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.0181, allocations: 16 kB / 342.6 MB, free: 14.16 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.0001123/0.01821, allocations: 165.8 kB / 342.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.01826, allocations: 27.81 kB / 342.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.0183, allocations: 39 kB / 342.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.0183, allocations: 7.984 kB / 342.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.0183, allocations: 4 kB / 342.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01831, allocations: 0 / 342.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.01954, allocations: 1.026 MB / 343.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01954, allocations: 0 / 343.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.01967, allocations: 55.95 kB / 343.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/0.02006, allocations: 272.7 kB / 344.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.02008, allocations: 11.98 kB / 344.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.02229, allocations: 2.704 MB / 346.9 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02229, allocations: 3.938 kB / 346.9 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009415/0.02323, allocations: 0.8003 MB / 347.7 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/0.02332, allocations: 71.81 kB / 347.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.02335, allocations: 8 kB / 347.7 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.02348, allocations: 19.98 kB / 347.8 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.02358, allocations: 71.8 kB / 347.8 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.0236, allocations: 23.98 kB / 347.9 MB, free: 8.676 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.02373, allocations: 184.2 kB / 348 MB, free: 8.496 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02373, allocations: 0 / 348 MB, free: 8.496 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.02408, allocations: 140 kB / 348.2 MB, free: 8.359 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.001886/0.02597, allocations: 1.668 MB / 349.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007444/0.02671, allocations: 0.5942 MB / 350.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.02672, allocations: 4.25 kB / 350.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.02712, allocations: 421.8 kB / 350.8 MB, free: 5.785 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.02738, allocations: 43.02 kB / 350.9 MB, free: 5.746 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.03072, allocations: 3.363 MB / 354.3 MB, free: 2.266 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.03082, allocations: 175.8 kB / 354.4 MB, free: 2.074 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.03096, allocations: 70.92 kB / 354.5 MB, free: 2.004 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.03107, allocations: 96.44 kB / 354.6 MB, free: 1.91 MB / 314.7 MB Notification: Performance of SimCode: time 4.8e-07/0.03107, allocations: 0 / 354.6 MB, free: 1.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07874/0.1098, allocations: 10.71 MB / 365.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.176, allocations: 8.047 kB / 365.3 MB, free: 7.281 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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.756998194381595]