Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 157 kB / 23.94 MB, free: 0.625 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9106/0.9106, allocations: 173.3 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 320 MB, free: 5.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.979e-05, allocations: 9.453 kB / 320 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.00315/0.00317, allocations: 2.219 MB / 322.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.004672, allocations: 0.8934 MB / 323.1 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.004823, allocations: 4 kB / 323.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.005029, allocations: 55.44 kB / 323.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.005518, allocations: 135.2 kB / 323.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.005863, allocations: 183.6 kB / 323.5 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004393/0.006302, allocations: 418.6 kB / 323.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.006447, allocations: 48.89 kB / 323.9 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.00675, allocations: 251.5 kB / 324.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.007011, allocations: 191.5 kB / 324.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.007068, allocations: 32 kB / 324.4 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.007263, allocations: 115.9 kB / 324.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.007377, allocations: 99.69 kB / 324.6 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.00749, allocations: 123.7 kB / 324.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.008013, allocations: 486.6 kB / 325.2 MB, free: 268 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.008016, allocations: 0 / 325.2 MB, free: 268 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.008017, allocations: 4 kB / 325.2 MB, free: 264 kB / 282.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.008025, allocations: 0 / 325.2 MB, free: 264 kB / 282.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.0009728/0.008998, allocations: 0.5627 MB / 325.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.009038, allocations: 8.922 kB / 325.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.641e-05/0.009115, allocations: 66.66 kB / 325.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.009369, allocations: 52.73 kB / 325.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.009754, allocations: 241.2 kB / 326.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.009888, allocations: 144 kB / 326.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/0.009946, allocations: 32.33 kB / 326.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.01057, allocations: 408.8 kB / 326.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.01059, allocations: 4.188 kB / 326.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.01063, allocations: 11.94 kB / 326.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.01064, allocations: 8 kB / 326.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.01128, allocations: 410.2 kB / 327.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.01252, allocations: 1.107 MB / 328.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.01294, allocations: 326.5 kB / 328.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.01315, allocations: 176.8 kB / 328.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.01318, allocations: 4 kB / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.0132, allocations: 39.28 kB / 328.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.0132, allocations: 0 / 328.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.002645/0.01585, allocations: 1.696 MB / 330.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.01588, allocations: 84.86 kB / 330.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.01606, allocations: 238.3 kB / 330.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.01609, allocations: 29.7 kB / 330.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.01616, allocations: 152.9 kB / 330.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.01623, allocations: 154.7 kB / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/0.01632, allocations: 90.08 kB / 331.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.0164, allocations: 330.8 kB / 331.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.01663, allocations: 172.9 kB / 331.7 MB, free: 9.473 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.01688, allocations: 256.2 kB / 331.9 MB, free: 9.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.01728, allocations: 348.2 kB / 332.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01728, allocations: 0 / 332.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006476/0.01793, allocations: 0.545 MB / 332.8 MB, free: 8.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.01794, allocations: 8 kB / 332.8 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01795, allocations: 0 / 332.8 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/0.01837, allocations: 249.5 kB / 333.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.0185, allocations: 55.91 kB / 333.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.02087, allocations: 2.731 MB / 335.8 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.021, allocations: 23.97 kB / 335.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.02102, allocations: 20 kB / 335.9 MB, free: 5.09 MB / 298.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.0001153/0.02114, allocations: 168.7 kB / 336 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.02118, allocations: 27.81 kB / 336.1 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.02122, allocations: 42.98 kB / 336.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.02122, allocations: 4 kB / 336.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.02122, allocations: 0 / 336.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.02123, allocations: 0 / 336.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.02231, allocations: 0.9997 MB / 337.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02231, allocations: 0 / 337.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.02242, allocations: 43.91 kB / 337.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000362/0.02279, allocations: 245 kB / 337.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.02281, allocations: 15.98 kB / 337.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.02502, allocations: 2.698 MB / 340.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02502, allocations: 8 kB / 340.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008957/0.02592, allocations: 0.8004 MB / 340.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.02601, allocations: 71.77 kB / 341 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.02603, allocations: 8 kB / 341 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.02615, allocations: 23.97 kB / 341 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.02626, allocations: 67.81 kB / 341.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.02628, allocations: 12 kB / 341.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.0264, allocations: 184.2 kB / 341.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0264, allocations: 4.062 kB / 341.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.02677, allocations: 139.9 kB / 341.4 MB, free: 15.35 MB / 314.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.00123/0.028, allocations: 1.413 MB / 342.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007714/0.02878, allocations: 0.5982 MB / 343.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02878, allocations: 0 / 343.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.02921, allocations: 418.2 kB / 343.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.02947, allocations: 46.64 kB / 343.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.0329, allocations: 3.408 MB / 347.3 MB, free: 9.297 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.03302, allocations: 167.8 kB / 347.5 MB, free: 9.113 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.03313, allocations: 54.95 kB / 347.5 MB, free: 9.059 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.881e-05/0.03323, allocations: 88.45 kB / 347.6 MB, free: 8.973 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03323, allocations: 0 / 347.6 MB, free: 8.973 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08795/0.1212, allocations: 10.01 MB / 357.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.032, allocations: 13.95 kB / 357.6 MB, free: 15.15 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.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.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.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_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 10.539699180983007]