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.001338/0.001338, allocations: 114.7 kB / 20.44 MB, free: 4.605 MB / 13.93 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.001144/0.001144, allocations: 221.3 kB / 23.74 MB, free: 2.141 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.9939/0.9939, allocations: 231.1 MB / 258 MB, free: 8.938 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.89 kB / 380.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2049, allocations: 53.56 MB / 433.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.002443/0.2074, allocations: 2.332 MB / 436.1 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.2084, allocations: 1.006 MB / 437.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2085, allocations: 2.781 kB / 437.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.2087, allocations: 75.27 kB / 437.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.2091, allocations: 147.3 kB / 437.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.2093, allocations: 165.5 kB / 437.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.2097, allocations: 479.5 kB / 437.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2098, allocations: 41.19 kB / 438 MB, free: 15.31 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.21, allocations: 209.2 kB / 438.2 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.2102, allocations: 231.9 kB / 438.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.2103, allocations: 36.38 kB / 438.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.2104, allocations: 122.3 kB / 438.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.2105, allocations: 105.3 kB / 438.7 MB, free: 14.94 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.2106, allocations: 156 kB / 438.8 MB, free: 14.83 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.211, allocations: 0.4964 MB / 439.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2111, allocations: 0 / 439.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2111, allocations: 0 / 439.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2111, allocations: 1.094 kB / 439.3 MB, free: 14.48 MB / 346.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.0008232/0.2119, allocations: 0.6 MB / 439.9 MB, free: 13.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2119, allocations: 8.969 kB / 439.9 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.397e-05/0.212, allocations: 63.95 kB / 440 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.2122, allocations: 52.88 kB / 440 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.2125, allocations: 242.8 kB / 440.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.2126, allocations: 142.2 kB / 440.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.2127, allocations: 30.41 kB / 440.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.2132, allocations: 410.2 kB / 440.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2132, allocations: 9.266 kB / 440.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.2132, allocations: 11.12 kB / 440.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2132, allocations: 6.875 kB / 440.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.2138, allocations: 410.2 kB / 441.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.2151, allocations: 1.135 MB / 442.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.2156, allocations: 314.1 kB / 442.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.2158, allocations: 167.7 kB / 442.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.2159, allocations: 9.125 kB / 442.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.2159, allocations: 36.84 kB / 442.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.2159, allocations: 1.594 kB / 442.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002927/0.2188, allocations: 1.672 MB / 444.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.2188, allocations: 84.86 kB / 444.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.2192, allocations: 242.8 kB / 444.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.2192, allocations: 41.69 kB / 445 MB, free: 10.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.2193, allocations: 136.8 kB / 445.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.234e-05/0.2194, allocations: 158.9 kB / 445.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.2195, allocations: 90.06 kB / 445.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.661e-05/0.2195, allocations: 334.8 kB / 445.7 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.2198, allocations: 164.8 kB / 445.8 MB, free: 9.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.22, allocations: 251.6 kB / 446.1 MB, free: 9.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.2204, allocations: 335.2 kB / 446.4 MB, free: 8.922 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2204, allocations: 8.031 kB / 446.4 MB, free: 8.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007028/0.2211, allocations: 0.5395 MB / 446.9 MB, free: 8.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2212, allocations: 4 kB / 447 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2212, allocations: 7.984 kB / 447 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/0.2217, allocations: 300.7 kB / 447.3 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.2218, allocations: 55.89 kB / 447.3 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.2242, allocations: 2.751 MB / 450.1 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.2244, allocations: 24.02 kB / 450.1 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.2244, allocations: 23.98 kB / 450.1 MB, free: 5.09 MB / 346.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.0001167/0.2245, allocations: 153.8 kB / 450.3 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.2246, allocations: 27.81 kB / 450.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.2246, allocations: 46.98 kB / 450.3 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2246, allocations: 4 kB / 450.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2246, allocations: 0 / 450.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2246, allocations: 3.984 kB / 450.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.2258, allocations: 1.019 MB / 451.4 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2258, allocations: 4 kB / 451.4 MB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.2259, allocations: 47.91 kB / 451.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/0.2263, allocations: 285 kB / 451.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.2264, allocations: 19.92 kB / 451.7 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.2288, allocations: 2.696 MB / 454.4 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2288, allocations: 8.047 kB / 454.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009663/0.2298, allocations: 0.7965 MB / 455.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.925e-05/0.2299, allocations: 67.81 kB / 455.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.2299, allocations: 15.94 kB / 455.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.23, allocations: 19.97 kB / 455.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2302, allocations: 67.88 kB / 455.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.2302, allocations: 19.97 kB / 455.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.2303, allocations: 180.5 kB / 455.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2303, allocations: 4.062 kB / 455.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003957/0.2307, allocations: 139.9 kB / 455.7 MB, free: 15.29 MB / 362.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.002038/0.2327, allocations: 1.657 MB / 457.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008065/0.2335, allocations: 0.5978 MB / 458 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2335, allocations: 0 / 458 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.234, allocations: 421.6 kB / 458.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.2343, allocations: 49.47 kB / 458.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.2377, allocations: 3.409 MB / 461.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.2378, allocations: 171.8 kB / 462 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.238, allocations: 70.91 kB / 462.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.2381, allocations: 87.39 kB / 462.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2381, allocations: 4 kB / 462.2 MB, free: 8.777 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08275/0.3209, allocations: 10.56 MB / 472.7 MB, free: 14.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.419, allocations: 13.38 kB / 472.7 MB, free: 14.25 MB / 378.7 MB " [Timeout remaining time 651] (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] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,gear.mode Variables in the result:Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(gear.phi_a),gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.smoothness,gear.startBackward,gear.startForward,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y,time,torque1.flange.phi,torque1.flange.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.diff.mat", vars={"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/LossyGearDemo3/LossyGearDemo3.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.diff.ref.mat", vars={"Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,gear.mode Variables in the result:Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(gear.phi_a),gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.smoothness,gear.startBackward,gear.startForward,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y,time,torque1.flange.phi,torque1.flange.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.diff.mat", vars={"Inertia2.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/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.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy_res.csv --output-variables Inertia2.phi Inertia2.w gear.mode --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.129125689156353]