Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007615/0.0007615, allocations: 72.17 kB / 9.897 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001806, 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.0007222/0.0007222, allocations: 161.1 kB / 11.23 MB, free: 2.945 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009106/0.001633, 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.9612/0.9612, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08141/1.043, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.LossyGearDemo1,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_4_1_0_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.322e-06/1.322e-06, allocations: 0 / 244.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.204e-05, allocations: 6.25 kB / 244.4 MB, free: 14.37 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.004038/0.00406, allocations: 2.592 MB / 247 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.00598, allocations: 1.13 MB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.006121, allocations: 7.938 kB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.006342, allocations: 71.36 kB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.006782, allocations: 175.9 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.007188, allocations: 187.5 kB / 248.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005513/0.007739, allocations: 0.5178 MB / 249.1 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.007906, allocations: 67.09 kB / 249.2 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005336/0.008439, allocations: 352 kB / 249.5 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005171/0.008956, allocations: 223.5 kB / 249.7 MB, free: 9.039 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.234e-05/0.009029, allocations: 44 kB / 249.8 MB, free: 8.996 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.009299, allocations: 139.9 kB / 249.9 MB, free: 8.859 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.009393, allocations: 79.75 kB / 250 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.009475, allocations: 103.8 kB / 250.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.009828, allocations: 390.7 kB / 250.5 MB, free: 8.297 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.009841, allocations: 4 kB / 250.5 MB, free: 8.293 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.009842, allocations: 4 kB / 250.5 MB, free: 8.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.009852, allocations: 0 / 250.5 MB, free: 8.289 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.000766/0.01062, allocations: 0.6747 MB / 251.2 MB, free: 7.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.01065, allocations: 12.03 kB / 251.2 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.0107, allocations: 70.67 kB / 251.2 MB, free: 7.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.01095, allocations: 166 kB / 251.4 MB, free: 7.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.01123, allocations: 229.9 kB / 251.6 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.651e-05/0.01132, allocations: 140 kB / 251.8 MB, free: 6.906 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.01136, allocations: 40.33 kB / 251.8 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.0117, allocations: 345.3 kB / 252.1 MB, free: 6.508 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.01171, allocations: 3.938 kB / 252.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.01173, allocations: 12 kB / 252.2 MB, free: 6.492 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.01174, allocations: 8 kB / 252.2 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.01197, allocations: 195.1 kB / 252.4 MB, free: 6.293 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008167/0.01278, allocations: 0.6358 MB / 253 MB, free: 5.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.01306, allocations: 193.1 kB / 253.2 MB, free: 5.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.01316, allocations: 94.33 kB / 253.3 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.01319, allocations: 12.48 kB / 253.3 MB, free: 5.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.01321, allocations: 43.05 kB / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.292e-06/0.01321, allocations: 0 / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=55): time 0.00192/0.01513, allocations: 1.294 MB / 254.6 MB, free: 3.926 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.01516, allocations: 55.91 kB / 254.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.0153, allocations: 226.7 kB / 254.9 MB, free: 3.621 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.01533, allocations: 37.7 kB / 254.9 MB, free: 3.578 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.01537, allocations: 132.9 kB / 255.1 MB, free: 3.445 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-05/0.01547, allocations: 190.3 kB / 255.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.444e-05/0.01557, allocations: 90.12 kB / 255.3 MB, free: 3.164 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.01564, allocations: 346.7 kB / 255.7 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.737e-05/0.01574, allocations: 71.8 kB / 255.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.01585, allocations: 133.7 kB / 255.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.01605, allocations: 205.1 kB / 256.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01606, allocations: 0 / 256.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000328/0.01638, allocations: 303 kB / 256.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.0164, allocations: 7.984 kB / 256.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.0164, allocations: 0 / 256.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/0.01695, allocations: 222.5 kB / 256.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.01712, allocations: 75.92 kB / 256.7 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.01874, allocations: 2.102 MB / 258.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.01885, allocations: 19.98 kB / 258.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.01888, allocations: 15.94 kB / 258.8 MB, free: 15.55 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (gear.ideal,gear.mode,$PRE.gear.mode,gear.locked,gear.startBackward,gear.startForward,gear.tau_aPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 9.465e-05/0.01897, allocations: 144.6 kB / 259 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.01903, allocations: 47.94 kB / 259 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.01907, allocations: 43.62 kB / 259 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01907, allocations: 8 kB / 259.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.01908, allocations: 0 / 259.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.01908, allocations: 7.969 kB / 259.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007941/0.01987, allocations: 0.7254 MB / 259.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01988, allocations: 0 / 259.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.02006, allocations: 91.89 kB / 259.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/0.02015, allocations: 43.78 kB / 259.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003125/0.02046, allocations: 208.1 kB / 260.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.02049, allocations: 15.98 kB / 260.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.02197, allocations: 2.061 MB / 262.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02198, allocations: 0 / 262.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.02247, allocations: 0.5064 MB / 262.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.02251, allocations: 12 kB / 262.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.02263, allocations: 23.98 kB / 262.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.02273, allocations: 64.36 kB / 262.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.02275, allocations: 20.05 kB / 262.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.287e-05/0.02282, allocations: 78.78 kB / 262.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02282, allocations: 7.938 kB / 262.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003465/0.02316, allocations: 151.9 kB / 263.1 MB, free: 11.13 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 5 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode) * Number of discrete states: 1 (gear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001774/0.02494, allocations: 1.399 MB / 264.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004889/0.02543, allocations: 469.5 kB / 264.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.02543, allocations: 4 kB / 264.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.02572, allocations: 378 kB / 265.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.02597, allocations: 112.5 kB / 265.4 MB, free: 8.961 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.0298, allocations: 1.924 MB / 267.3 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.193e-05/0.02987, allocations: 110.3 kB / 267.4 MB, free: 6.836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.03, allocations: 58.94 kB / 267.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.0302, allocations: 179.3 kB / 267.7 MB, free: 6.605 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0302, allocations: 0 / 267.7 MB, free: 6.605 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.116/0.1462, allocations: 15.03 MB / 282.7 MB, free: 21.37 MB / 266.7 MB Notification: FMU-only work: backend 0.0007855, simCode 0.0008365, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06214/0.2084, allocations: 1.55 MB / 284.2 MB, free: 19.74 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 2.994/3.203, allocations: 17.75 kB / 284.3 MB, free: 19.73 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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.LossyGearDemo1_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_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_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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.LossyGearDemo1_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_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_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,gear.mode Variables in the result:DriveSine.amplitude,DriveSine.continuous,DriveSine.f,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,PowerLoss,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.flange_a.phi),der(Inertia2.flange_b.phi),der(Inertia2.phi),der(Inertia2.w),der(der(gear.phi_b)),der(gear.flange_b.phi),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),der(torque2.flange.phi),fixed.flange.phi,fixed.flange.tau,fixed.phi0,gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.smoothness,gear.startBackward,gear.startForward,gear.support.phi,gear.support.tau,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.diff.mat", vars={"gear.mode", "Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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.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_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.709548065438867]