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.0007365/0.0007365, allocations: 80.11 kB / 9.905 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.00178, allocations: 441.7 kB / 10.34 MB, free: 360 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.0007265/0.0007265, allocations: 157.1 kB / 11.22 MB, free: 2.949 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009446/0.001671, allocations: 467.6 kB / 11.68 MB, free: 2.488 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.8945/0.8945, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07331/0.9678, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.223e-06/1.223e-06, allocations: 3.938 kB / 244.9 MB, free: 13.7 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.621e-05, allocations: 2.312 kB / 244.9 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.003866/0.003882, allocations: 2.499 MB / 247.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.005523, allocations: 1.057 MB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.005638, allocations: 7.938 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.005835, allocations: 55.52 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.006205, allocations: 155.2 kB / 248.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.006537, allocations: 171.6 kB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.007021, allocations: 466.6 kB / 249.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.007156, allocations: 54.86 kB / 249.4 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.007519, allocations: 311.4 kB / 249.7 MB, free: 8.922 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.007813, allocations: 203.5 kB / 249.9 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.007879, allocations: 44 kB / 249.9 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.008124, allocations: 127.8 kB / 250.1 MB, free: 8.555 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.008224, allocations: 71.8 kB / 250.1 MB, free: 8.484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.008338, allocations: 95.81 kB / 250.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.0088, allocations: 354.8 kB / 250.6 MB, free: 8.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.526e-05/0.008815, allocations: 0 / 250.6 MB, free: 8.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008816, allocations: 0 / 250.6 MB, free: 8.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.008832, allocations: 3.984 kB / 250.6 MB, free: 8.039 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.00105/0.009882, allocations: 0.628 MB / 251.2 MB, free: 7.387 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.009918, allocations: 8.625 kB / 251.2 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.009995, allocations: 70.67 kB / 251.3 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.01031, allocations: 149.9 kB / 251.4 MB, free: 7.137 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.01068, allocations: 212.3 kB / 251.6 MB, free: 6.898 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.01082, allocations: 148 kB / 251.8 MB, free: 6.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/0.01088, allocations: 32.38 kB / 251.8 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.01139, allocations: 319.7 kB / 252.1 MB, free: 6.359 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.0114, allocations: 192 / 252.1 MB, free: 6.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.01143, allocations: 15.94 kB / 252.1 MB, free: 6.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.01144, allocations: 8 kB / 252.1 MB, free: 6.336 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.01182, allocations: 179.2 kB / 252.3 MB, free: 6.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.01344, allocations: 0.8768 MB / 253.2 MB, free: 5.238 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.01384, allocations: 170.3 kB / 253.4 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.014, allocations: 77.55 kB / 253.4 MB, free: 4.984 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.01403, allocations: 11.95 kB / 253.4 MB, free: 4.973 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.01406, allocations: 38.56 kB / 253.5 MB, free: 4.926 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.934e-06/0.01406, allocations: 0 / 253.5 MB, free: 4.926 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.002835/0.01689, allocations: 1.125 MB / 254.6 MB, free: 3.746 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.01693, allocations: 67.34 kB / 254.7 MB, free: 3.668 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.01713, allocations: 212.1 kB / 254.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.01716, allocations: 33.7 kB / 254.9 MB, free: 3.406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.01735, allocations: 124.8 kB / 255 MB, free: 3.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.01747, allocations: 162.6 kB / 255.2 MB, free: 3.121 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.01761, allocations: 78.14 kB / 255.3 MB, free: 3.035 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01771, allocations: 342.8 kB / 255.6 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.01786, allocations: 63.73 kB / 255.7 MB, free: 2.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.01804, allocations: 152.3 kB / 255.8 MB, free: 2.457 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.01835, allocations: 201.7 kB / 256 MB, free: 2.242 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01835, allocations: 4 kB / 256 MB, free: 2.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005254/0.01888, allocations: 290.2 kB / 256.3 MB, free: 1.945 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.01889, allocations: 15.92 kB / 256.3 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.0189, allocations: 0 / 256.3 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.01944, allocations: 209.3 kB / 256.5 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.01967, allocations: 67.88 kB / 256.6 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.0225, allocations: 2.068 MB / 258.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.02269, allocations: 23.97 kB / 258.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.013e-05/0.02273, allocations: 8 kB / 258.7 MB, free: 15.46 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 0.0001415/0.02287, allocations: 140.6 kB / 258.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.02295, allocations: 31.92 kB / 258.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.526e-05/0.02301, allocations: 46.92 kB / 258.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.02302, allocations: 8.031 kB / 258.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.02302, allocations: 0 / 258.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.02303, allocations: 7.922 kB / 258.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.02416, allocations: 0.625 MB / 259.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.02417, allocations: 0 / 259.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.02439, allocations: 59.89 kB / 259.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.02451, allocations: 43.81 kB / 259.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005076/0.02502, allocations: 211.6 kB / 259.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.02506, allocations: 15.98 kB / 259.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.02742, allocations: 2.049 MB / 261.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02742, allocations: 4 kB / 261.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.02811, allocations: 457.8 kB / 262.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.02816, allocations: 12 kB / 262.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.02835, allocations: 15.98 kB / 262.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.0285, allocations: 67.81 kB / 262.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.02853, allocations: 11.98 kB / 262.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.226e-05/0.02862, allocations: 65.78 kB / 262.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02862, allocations: 4 kB / 262.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005579/0.02918, allocations: 135.9 kB / 262.7 MB, free: 11.3 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.001895/0.03108, allocations: 1.071 MB / 263.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007523/0.03183, allocations: 441.5 kB / 264.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.03184, allocations: 4 kB / 264.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.03231, allocations: 358.1 kB / 264.5 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.03268, allocations: 110.5 kB / 264.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005539/0.03822, allocations: 1.74 MB / 266.4 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.03833, allocations: 105.3 kB / 266.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.03853, allocations: 54.94 kB / 266.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.0388, allocations: 159.3 kB / 266.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0388, allocations: 0 / 266.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.1204/0.1592, allocations: 12.83 MB / 279.5 MB, free: 21.24 MB / 266.7 MB Notification: FMU-only work: backend 0.0003381, simCode 0.00156, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06243/0.2217, allocations: 1.55 MB / 281.1 MB, free: 19.61 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.95/3.171, allocations: 23.94 kB / 281.1 MB, free: 19.59 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.585146120749414]