Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.0009245/0.0009245, allocations: 72.17 kB / 9.897 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002402/0.003327, allocations: 449.7 kB / 10.34 MB, free: 360 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.0009583/0.0009583, allocations: 161.1 kB / 11.23 MB, free: 2.945 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.002229, allocations: 459.6 kB / 11.67 MB, free: 2.492 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9387/0.9387, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07587/1.015, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.LossyGearDemo3,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_4_1_0_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.503e-06/1.503e-06, allocations: 0 / 244.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.828e-05, allocations: 6.25 kB / 244.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.003747/0.003765, allocations: 2.503 MB / 246.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.005543, allocations: 1.053 MB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.005683, allocations: 7.938 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.005894, allocations: 55.45 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.006304, allocations: 162.8 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.006673, allocations: 167.6 kB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.007218, allocations: 474.6 kB / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.00735, allocations: 46.48 kB / 248.9 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.007784, allocations: 311.4 kB / 249.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.008108, allocations: 199.6 kB / 249.4 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.008177, allocations: 51.88 kB / 249.4 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.008469, allocations: 127.9 kB / 249.6 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.008574, allocations: 71.8 kB / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.008693, allocations: 95.81 kB / 249.7 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.009195, allocations: 354.9 kB / 250.1 MB, free: 8.715 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-05/0.009213, allocations: 0 / 250.1 MB, free: 8.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.009214, allocations: 0 / 250.1 MB, free: 8.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.00923, allocations: 0 / 250.1 MB, free: 8.715 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.001103/0.01033, allocations: 0.6319 MB / 250.7 MB, free: 8.059 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.01037, allocations: 8.031 kB / 250.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.885e-05/0.01044, allocations: 66.62 kB / 250.8 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.01078, allocations: 153.9 kB / 250.9 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.01117, allocations: 212.8 kB / 251.1 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.01132, allocations: 152 kB / 251.3 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/0.01138, allocations: 32.3 kB / 251.3 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.01188, allocations: 311.7 kB / 251.6 MB, free: 7.035 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.0119, allocations: 4.172 kB / 251.6 MB, free: 7.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.01193, allocations: 15.94 kB / 251.6 MB, free: 7.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.01194, allocations: 8 kB / 251.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.01231, allocations: 183.2 kB / 251.8 MB, free: 6.828 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.01392, allocations: 0.869 MB / 252.7 MB, free: 5.914 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.01428, allocations: 173.4 kB / 252.9 MB, free: 5.738 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.01443, allocations: 81.55 kB / 252.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.01446, allocations: 11.95 kB / 253 MB, free: 5.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.01449, allocations: 38.56 kB / 253 MB, free: 5.598 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 2.905e-06/0.01449, allocations: 3.984 kB / 253 MB, free: 5.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.002806/0.0173, allocations: 1.128 MB / 254.1 MB, free: 4.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.01733, allocations: 67.34 kB / 254.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.01754, allocations: 207.9 kB / 254.4 MB, free: 4.113 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.01757, allocations: 37.7 kB / 254.4 MB, free: 4.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.01764, allocations: 128.8 kB / 254.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.01776, allocations: 158.6 kB / 254.7 MB, free: 3.785 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.0179, allocations: 90.02 kB / 254.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.01801, allocations: 346.8 kB / 255.1 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.01816, allocations: 55.81 kB / 255.2 MB, free: 3.285 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.01834, allocations: 144.3 kB / 255.3 MB, free: 3.121 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.01866, allocations: 201.8 kB / 255.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01866, allocations: 0 / 255.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005294/0.01919, allocations: 298.2 kB / 255.8 MB, free: 2.602 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.01921, allocations: 11.94 kB / 255.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01921, allocations: 0 / 255.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.01975, allocations: 205.3 kB / 256 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.01998, allocations: 67.88 kB / 256.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/0.02261, allocations: 2.078 MB / 258.2 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.02281, allocations: 15.98 kB / 258.2 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.02285, allocations: 12 kB / 258.2 MB, free: 124 kB / 250.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.0001528/0.023, allocations: 132.7 kB / 258.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.02308, allocations: 39.81 kB / 258.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.588e-05/0.02315, allocations: 47.02 kB / 258.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.02315, allocations: 4 kB / 258.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.02316, allocations: 0 / 258.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.02316, allocations: 3.984 kB / 258.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.02431, allocations: 0.6251 MB / 259 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.02431, allocations: 0 / 259 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.02454, allocations: 59.88 kB / 259.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.02466, allocations: 43.83 kB / 259.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005076/0.02517, allocations: 215.7 kB / 259.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.02521, allocations: 11.98 kB / 259.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.02781, allocations: 2.051 MB / 261.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.02782, allocations: 0 / 261.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.02856, allocations: 465.2 kB / 261.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.0286, allocations: 8 kB / 261.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.02876, allocations: 19.98 kB / 261.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.02886, allocations: 71.8 kB / 262 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.02888, allocations: 7.984 kB / 262 MB, free: 12.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.08e-05/0.02894, allocations: 56.81 kB / 262 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02894, allocations: 0 / 262 MB, free: 12.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.02931, allocations: 139.9 kB / 262.2 MB, free: 11.97 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.001198/0.0305, allocations: 1.094 MB / 263.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004903/0.03099, allocations: 436.9 kB / 263.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.031, allocations: 4 kB / 263.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.03127, allocations: 354.3 kB / 264 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.0315, allocations: 110.8 kB / 264.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.03454, allocations: 1.744 MB / 265.9 MB, free: 8.355 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.916e-05/0.0346, allocations: 105.3 kB / 266 MB, free: 8.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.03471, allocations: 58.88 kB / 266.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.03487, allocations: 155.3 kB / 266.2 MB, free: 8.02 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03487, allocations: 0 / 266.2 MB, free: 8.02 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.1133/0.1482, allocations: 12.82 MB / 279 MB, free: 21.46 MB / 266.7 MB Notification: FMU-only work: backend 0.0002169, simCode 0.0007514, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08923/0.2374, allocations: 1.555 MB / 280.6 MB, free: 19.84 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.002/3.239, allocations: 20.53 kB / 280.6 MB, free: 19.82 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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.799679766409099]