Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.001164/0.001164, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.002703, 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.0007401/0.0007401, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009765/0.001717, 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 1.015/1.015, allocations: 177.4 MB / 189.8 MB, free: 4.859 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0838/1.099, allocations: 53.87 MB / 243.7 MB, free: 14.93 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.LossyGearDemo1,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 244.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.346e-05, allocations: 5.828 kB / 244.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.003414/0.003438, allocations: 2.589 MB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.004965, allocations: 1.134 MB / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.0051, allocations: 7.938 kB / 248.6 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.005292, allocations: 75.36 kB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.00578, allocations: 171 kB / 248.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.006151, allocations: 183.6 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.006615, allocations: 0.5179 MB / 249.6 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.006758, allocations: 63.09 kB / 249.6 MB, free: 8.969 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004935/0.007252, allocations: 356 kB / 250 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003895/0.007641, allocations: 223.5 kB / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-05/0.007705, allocations: 44 kB / 250.3 MB, free: 8.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.008011, allocations: 139.8 kB / 250.4 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.00813, allocations: 87.8 kB / 250.5 MB, free: 8.137 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.008262, allocations: 107.8 kB / 250.6 MB, free: 8.031 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006666/0.008928, allocations: 386.7 kB / 251 MB, free: 7.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.541e-05/0.008954, allocations: 0 / 251 MB, free: 7.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.008956, allocations: 0 / 251 MB, free: 7.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.00898, allocations: 4 kB / 251 MB, free: 7.648 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001041/0.01002, allocations: 0.6747 MB / 251.6 MB, free: 6.949 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.01006, allocations: 16.61 kB / 251.7 MB, free: 6.934 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.802e-05/0.01012, allocations: 66.69 kB / 251.7 MB, free: 6.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.01043, allocations: 162 kB / 251.9 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.01076, allocations: 225.9 kB / 252.1 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.01092, allocations: 144 kB / 252.2 MB, free: 6.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.01099, allocations: 44.31 kB / 252.3 MB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.0115, allocations: 337.3 kB / 252.6 MB, free: 5.875 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.01152, allocations: 0 / 252.6 MB, free: 5.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.01155, allocations: 16 kB / 252.6 MB, free: 5.859 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.01155, allocations: 4 kB / 252.6 MB, free: 5.855 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.01187, allocations: 191.2 kB / 252.8 MB, free: 5.668 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009588/0.01282, allocations: 0.6436 MB / 253.5 MB, free: 4.992 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.01314, allocations: 201.1 kB / 253.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.01326, allocations: 94.27 kB / 253.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.01328, allocations: 12.5 kB / 253.8 MB, free: 4.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.01331, allocations: 43.06 kB / 253.8 MB, free: 4.629 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.452e-06/0.01331, allocations: 0 / 253.8 MB, free: 4.629 MB / 250.7 MB Notification: Performance of matching and sorting (n=55): time 0.002145/0.01545, allocations: 1.286 MB / 255.1 MB, free: 3.293 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.01549, allocations: 85.61 kB / 255.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.01564, allocations: 226.7 kB / 255.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.01567, allocations: 37.7 kB / 255.4 MB, free: 2.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.01573, allocations: 132.9 kB / 255.6 MB, free: 2.777 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.01583, allocations: 190.4 kB / 255.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.01594, allocations: 90.12 kB / 255.8 MB, free: 2.496 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.01602, allocations: 342.8 kB / 256.2 MB, free: 2.152 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.01612, allocations: 67.8 kB / 256.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.01626, allocations: 137.7 kB / 256.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.01649, allocations: 217.1 kB / 256.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01649, allocations: 0 / 256.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003725/0.01686, allocations: 298.9 kB / 256.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01688, allocations: 4 kB / 256.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01689, allocations: 0 / 256.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.01728, allocations: 222.5 kB / 257.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.01747, allocations: 83.88 kB / 257.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.01933, allocations: 2.095 MB / 259.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.01946, allocations: 19.98 kB / 259.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.01949, allocations: 16.02 kB / 259.3 MB, free: 14.88 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 32 * 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.0196, allocations: 136.6 kB / 259.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.01966, allocations: 43.91 kB / 259.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.01971, allocations: 51.61 kB / 259.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01971, allocations: 8 kB / 259.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01971, allocations: 0 / 259.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01972, allocations: 0 / 259.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000902/0.02062, allocations: 0.7371 MB / 260.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.02062, allocations: 0 / 260.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.02082, allocations: 87.8 kB / 260.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9e-05/0.02091, allocations: 47.78 kB / 260.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.02126, allocations: 212.1 kB / 260.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.02129, allocations: 15.98 kB / 260.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.02307, allocations: 2.048 MB / 262.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.02307, allocations: 3.938 kB / 262.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.02364, allocations: 0.5064 MB / 263.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.02368, allocations: 12 kB / 263.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.02381, allocations: 24.05 kB / 263.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.02394, allocations: 68.36 kB / 263.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.02396, allocations: 15.98 kB / 263.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.095e-05/0.02403, allocations: 74.8 kB / 263.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02403, allocations: 0 / 263.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003984/0.02443, allocations: 155.9 kB / 263.5 MB, free: 10.47 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 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 (31): * Single equations (assignments): 30 * 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.001997/0.02643, allocations: 1.387 MB / 264.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000585/0.02701, allocations: 481.5 kB / 265.4 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.02702, allocations: 4 kB / 265.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.02761, allocations: 382.1 kB / 265.8 MB, free: 8.363 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.02789, allocations: 111.8 kB / 265.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.03003, allocations: 1.939 MB / 267.8 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.496e-05/0.03013, allocations: 118.3 kB / 267.9 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.03026, allocations: 59.02 kB / 268 MB, free: 6.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.03047, allocations: 183.3 kB / 268.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03047, allocations: 4 kB / 268.2 MB, free: 5.867 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.1444/0.1748, allocations: 14.8 MB / 283 MB, free: 20.36 MB / 266.7 MB Notification: FMU-only work: backend 0.0006764, simCode 0.0009604, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09626/0.2711, allocations: 1.412 MB / 284.4 MB, free: 18.89 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 3.023/3.294, allocations: 11 kB / 284.4 MB, free: 18.88 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.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.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.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.LossyGearDemo1_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.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:DriveSine.amplitude,DriveSine.continuous,DriveSine.f,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,PowerLoss,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.flange_a.phi),der(Inertia2.flange_b.phi),der(Inertia2.phi),der(Inertia2.w),der(der(gear.phi_b)),der(gear.flange_b.phi),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),der(torque2.flange.phi),fixed.flange.phi,fixed.flange.tau,fixed.phi0,gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.smoothness,gear.startBackward,gear.startForward,gear.support.phi,gear.support.tau,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.diff.mat", vars={"gear.mode", "Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.diff.ref.mat", vars={"gear.mode", "Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv --output-variables Inertia2.phi Inertia2.w gear.mode --start-time 0 --stop-time 0.5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.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.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode_res.csv --output-variables Inertia2.phi Inertia2.w gear.mode --start-time 0 --stop-time 0.5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.001 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmpy-fmi3-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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/LossyGearDemo1/LossyGearDemo1.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.865605244413018]