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.001166/0.001166, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001856/0.003022, allocations: 449.6 kB / 10.33 MB, free: 372 kB / 10.45 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.001268/0.001268, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.002633, allocations: 475.5 kB / 11.67 MB, free: 2.496 MB / 13.93 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.9432/0.9432, allocations: 177.4 MB / 189.8 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08097/1.024, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 244.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.865e-06/9.027e-06, allocations: 5.406 kB / 244.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.002323/0.002332, allocations: 2.503 MB / 247.4 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003741, allocations: 1.049 MB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.003835, allocations: 7.938 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.003991, allocations: 63.48 kB / 248.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.004255, allocations: 155.2 kB / 248.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.004501, allocations: 163.6 kB / 248.8 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.004857, allocations: 474.6 kB / 249.3 MB, free: 9.289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.004963, allocations: 50.86 kB / 249.4 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.005231, allocations: 315.4 kB / 249.7 MB, free: 8.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.005446, allocations: 207.5 kB / 249.9 MB, free: 8.727 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.005493, allocations: 36 kB / 249.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.005677, allocations: 131.9 kB / 250 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.005752, allocations: 71.8 kB / 250.1 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.00583, allocations: 95.81 kB / 250.2 MB, free: 8.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.006161, allocations: 350.8 kB / 250.5 MB, free: 8.055 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.006172, allocations: 0 / 250.5 MB, free: 8.055 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006173, allocations: 0 / 250.5 MB, free: 8.055 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.006183, allocations: 0 / 250.5 MB, free: 8.055 MB / 250.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.0007459/0.006929, allocations: 0.6319 MB / 251.2 MB, free: 7.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.00696, allocations: 12.62 kB / 251.2 MB, free: 7.387 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.007009, allocations: 70.62 kB / 251.3 MB, free: 7.309 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.007234, allocations: 142 kB / 251.4 MB, free: 7.152 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.007498, allocations: 220.2 kB / 251.6 MB, free: 6.906 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.621e-05/0.007584, allocations: 140 kB / 251.7 MB, free: 6.746 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.007623, allocations: 28.38 kB / 251.8 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.00795, allocations: 331.6 kB / 252.1 MB, free: 6.367 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.007961, allocations: 192 / 252.1 MB, free: 6.367 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.00798, allocations: 15.94 kB / 252.1 MB, free: 6.352 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.007987, allocations: 4 kB / 252.1 MB, free: 6.348 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.008216, allocations: 179.2 kB / 252.3 MB, free: 6.172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009981/0.009214, allocations: 0.8729 MB / 253.2 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.009445, allocations: 166.4 kB / 253.3 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.364e-05/0.009539, allocations: 81.53 kB / 253.4 MB, free: 5 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.009567, allocations: 15.89 kB / 253.4 MB, free: 4.984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.009588, allocations: 38.56 kB / 253.5 MB, free: 4.938 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.393e-06/0.009589, allocations: 4 kB / 253.5 MB, free: 4.934 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001806/0.01139, allocations: 1.125 MB / 254.6 MB, free: 3.754 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.01143, allocations: 85.05 kB / 254.7 MB, free: 3.652 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.01156, allocations: 216.5 kB / 254.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.01159, allocations: 33.7 kB / 254.9 MB, free: 3.387 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.01164, allocations: 132.8 kB / 255 MB, free: 3.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/0.01172, allocations: 158.6 kB / 255.2 MB, free: 3.098 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/0.01181, allocations: 82.14 kB / 255.3 MB, free: 3.008 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003067/0.01212, allocations: 342.8 kB / 255.6 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.225e-05/0.01221, allocations: 63.73 kB / 255.7 MB, free: 2.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.01232, allocations: 144.3 kB / 255.8 MB, free: 2.438 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.01251, allocations: 201.8 kB / 256 MB, free: 2.223 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01251, allocations: 0 / 256 MB, free: 2.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003265/0.01284, allocations: 290.2 kB / 256.3 MB, free: 1.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.01285, allocations: 11.94 kB / 256.3 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01286, allocations: 7.938 kB / 256.3 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/0.01321, allocations: 221.2 kB / 256.5 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.01336, allocations: 63.94 kB / 256.6 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.01503, allocations: 2.068 MB / 258.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01513, allocations: 12 kB / 258.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.01516, allocations: 15.98 kB / 258.7 MB, free: 15.44 MB / 266.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 8.945e-05/0.01525, allocations: 136.6 kB / 258.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.0153, allocations: 35.91 kB / 258.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.257e-05/0.01534, allocations: 42.98 kB / 258.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01535, allocations: 4 kB / 258.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01535, allocations: 4.031 kB / 258.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01535, allocations: 0 / 258.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007072/0.01606, allocations: 0.6327 MB / 259.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01606, allocations: 0 / 259.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.0162, allocations: 51.95 kB / 259.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.549e-05/0.01627, allocations: 51.75 kB / 259.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/0.0166, allocations: 215.6 kB / 259.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.01663, allocations: 7.984 kB / 259.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.01813, allocations: 2.053 MB / 261.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01813, allocations: 0 / 261.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.01858, allocations: 469.7 kB / 262.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.01861, allocations: 12 kB / 262.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.01872, allocations: 15.98 kB / 262.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/0.01904, allocations: 59.88 kB / 262.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.01906, allocations: 15.98 kB / 262.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.503e-05/0.01912, allocations: 60.78 kB / 262.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01912, allocations: 0 / 262.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.01945, allocations: 135.9 kB / 262.7 MB, free: 11.28 MB / 266.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.001204/0.02065, allocations: 1.082 MB / 263.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004641/0.02112, allocations: 437.3 kB / 264.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.02112, allocations: 0 / 264.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.0214, allocations: 354.4 kB / 264.5 MB, free: 9.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.02163, allocations: 111.4 kB / 264.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.02334, allocations: 1.782 MB / 266.4 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.425e-05/0.0234, allocations: 105.3 kB / 266.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.02351, allocations: 46.95 kB / 266.6 MB, free: 7.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.02369, allocations: 159.3 kB / 266.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02369, allocations: 0 / 266.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.1131/0.1368, allocations: 12.78 MB / 279.5 MB, free: 21.38 MB / 266.7 MB Notification: FMU-only work: backend 0.0002119, simCode 0.0007951, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06233/0.1992, allocations: 1.405 MB / 280.9 MB, free: 19.91 MB / 266.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.952/3.151, allocations: 24.25 kB / 280.9 MB, free: 19.89 MB / 266.7 MB " [Timeout remaining time 657] (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.flange_a.phi),der(Inertia2.flange_b.phi),der(Inertia2.phi),der(Inertia2.w),der(gear.flange_b.phi),der(gear.phi_a),der(gear.phi_b),der(torque2.flange.phi),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 (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode_res.csv --output-variables Inertia2.phi Inertia2.w gear.mode --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.001 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmpy-fmi3-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode_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: 5.740350333042443]