Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007945/0.0007945, allocations: 76.17 kB / 9.905 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001868, allocations: 441.7 kB / 10.34 MB, free: 356 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000745/0.000745, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008559/0.001601, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9026/0.9026, allocations: 158.6 MB / 171 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1207/1.023, allocations: 49.49 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_3_2_3_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.092e-06/1.092e-06, allocations: 0 / 221.7 MB, free: 232 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.424e-05, allocations: 6.312 kB / 221.8 MB, free: 224 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.002356/0.00237, allocations: 2.464 MB / 224.2 MB, free: 13.73 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003631, allocations: 1.011 MB / 225.2 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.003749, allocations: 4 kB / 225.2 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.003876, allocations: 51.52 kB / 225.3 MB, free: 12.66 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.004248, allocations: 155 kB / 225.4 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.004494, allocations: 183.5 kB / 225.6 MB, free: 12.32 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.004836, allocations: 486.3 kB / 226.1 MB, free: 11.85 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.004959, allocations: 62.89 kB / 226.1 MB, free: 11.79 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.005258, allocations: 307.4 kB / 226.5 MB, free: 11.49 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.005467, allocations: 203.5 kB / 226.6 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.005511, allocations: 40 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.005703, allocations: 139.8 kB / 226.8 MB, free: 11.11 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.005788, allocations: 75.8 kB / 226.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.005875, allocations: 95.81 kB / 227 MB, free: 10.95 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.006208, allocations: 342.9 kB / 227.3 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.00622, allocations: 0 / 227.3 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006221, allocations: 0 / 227.3 MB, free: 10.61 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.006231, allocations: 0 / 227.3 MB, free: 10.61 MB / 234.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.0007719/0.007003, allocations: 0.6477 MB / 228 MB, free: 9.938 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.007039, allocations: 8.031 kB / 228 MB, free: 9.93 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.007093, allocations: 74.67 kB / 228.1 MB, free: 9.848 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.007338, allocations: 158 kB / 228.2 MB, free: 9.676 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.007625, allocations: 213.8 kB / 228.4 MB, free: 9.438 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.951e-05/0.007724, allocations: 140 kB / 228.6 MB, free: 9.277 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.00777, allocations: 36.36 kB / 228.6 MB, free: 9.242 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.008136, allocations: 329.9 kB / 228.9 MB, free: 8.898 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.008148, allocations: 4.141 kB / 228.9 MB, free: 8.895 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.00817, allocations: 15.94 kB / 228.9 MB, free: 8.879 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.008176, allocations: 12 kB / 228.9 MB, free: 8.867 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.008406, allocations: 187.2 kB / 229.1 MB, free: 8.684 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000879/0.009285, allocations: 0.6436 MB / 229.8 MB, free: 8.008 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.0096, allocations: 213.1 kB / 230 MB, free: 7.793 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.009715, allocations: 98.31 kB / 230.1 MB, free: 7.695 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.009745, allocations: 8.5 kB / 230.1 MB, free: 7.688 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.009771, allocations: 39.06 kB / 230.1 MB, free: 7.641 MB / 234.7 MB Notification: Performance of pre-optimization done (n=49): time 1.523e-06/0.009773, allocations: 0 / 230.1 MB, free: 7.641 MB / 234.7 MB Notification: Performance of matching and sorting (n=55): time 0.001994/0.01177, allocations: 1.283 MB / 231.4 MB, free: 6.305 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.0118, allocations: 55.91 kB / 231.5 MB, free: 6.238 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.01198, allocations: 229.2 kB / 231.7 MB, free: 6 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.01202, allocations: 37.7 kB / 231.7 MB, free: 5.957 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.01208, allocations: 125.2 kB / 231.8 MB, free: 5.832 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.01221, allocations: 186.4 kB / 232 MB, free: 5.648 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.01232, allocations: 90.12 kB / 232.1 MB, free: 5.555 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.01239, allocations: 350.7 kB / 232.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.0125, allocations: 67.8 kB / 232.5 MB, free: 5.133 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.01261, allocations: 137.7 kB / 232.7 MB, free: 4.984 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.01283, allocations: 217.1 kB / 232.9 MB, free: 4.766 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01283, allocations: 0 / 232.9 MB, free: 4.766 MB / 234.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003327/0.01316, allocations: 298.9 kB / 233.2 MB, free: 4.465 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01318, allocations: 4 kB / 233.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01318, allocations: 8.016 kB / 233.2 MB, free: 4.453 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.01354, allocations: 197.8 kB / 233.4 MB, free: 4.258 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.01373, allocations: 67.95 kB / 233.4 MB, free: 4.191 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.01551, allocations: 2.102 MB / 235.5 MB, free: 1.988 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01564, allocations: 23.92 kB / 235.6 MB, free: 1.965 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.01566, allocations: 11.98 kB / 235.6 MB, free: 1.953 MB / 234.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.0001071/0.01577, allocations: 140.6 kB / 235.7 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.01582, allocations: 39.97 kB / 235.7 MB, free: 1.766 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.01587, allocations: 47.3 kB / 235.8 MB, free: 1.723 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01587, allocations: 7.938 kB / 235.8 MB, free: 1.715 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01588, allocations: 4.031 kB / 235.8 MB, free: 1.711 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01588, allocations: 0 / 235.8 MB, free: 1.711 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008821/0.01676, allocations: 0.7138 MB / 236.5 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.01677, allocations: 4 kB / 236.5 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.01696, allocations: 75.88 kB / 236.6 MB, free: 0.875 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.01705, allocations: 39.8 kB / 236.6 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003173/0.01736, allocations: 204.5 kB / 236.8 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.01739, allocations: 15.98 kB / 236.8 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.01899, allocations: 2.044 MB / 238.9 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01899, allocations: 0 / 238.9 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.0195, allocations: 0.5114 MB / 239.4 MB, free: 13.94 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.01954, allocations: 16 kB / 239.4 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.01966, allocations: 15.98 kB / 239.4 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.01978, allocations: 68.36 kB / 239.5 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.0198, allocations: 15.98 kB / 239.5 MB, free: 13.83 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.769e-05/0.01987, allocations: 71.94 kB / 239.6 MB, free: 13.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01987, allocations: 0 / 239.6 MB, free: 13.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000405/0.02028, allocations: 159.9 kB / 239.7 MB, free: 13.6 MB / 250.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.0008308/0.02111, allocations: 1.038 MB / 240.8 MB, free: 12.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005608/0.02167, allocations: 468.7 kB / 241.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.02167, allocations: 4 kB / 241.2 MB, free: 12.04 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.02198, allocations: 370 kB / 241.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.02223, allocations: 92.45 kB / 241.7 MB, free: 11.57 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.02618, allocations: 1.925 MB / 243.6 MB, free: 9.582 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.34e-05/0.02627, allocations: 114.3 kB / 243.7 MB, free: 9.449 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.02638, allocations: 42.97 kB / 243.8 MB, free: 9.402 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.02656, allocations: 167.3 kB / 243.9 MB, free: 9.238 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02656, allocations: 4 kB / 243.9 MB, free: 9.234 MB / 250.7 MB Notification: Performance of FMU documentation: time 0.03275/0.05932, allocations: 14.31 MB / 258.3 MB, free: 10.81 MB / 266.7 MB Notification: FMU-only work: backend 0.0006432, simCode 0.0008862, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0801/0.1394, allocations: 1.468 MB / 259.7 MB, free: 9.301 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.113/3.252, allocations: 31.72 kB / 259.8 MB, free: 9.273 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.freqHz,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.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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmpy-fmi3-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.593227946199477]