Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.001016/0.001016, 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.001565/0.001565, allocations: 153 kB / 23.93 MB, free: 0.6289 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.951/0.951, allocations: 173.4 MB / 200.5 MB, free: 9.469 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.SimpleGearShift,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 320 MB, free: 5.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.828e-05, allocations: 2.281 kB / 320 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.002705/0.002724, allocations: 2.64 MB / 322.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003875, allocations: 0.8531 MB / 323.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.004005, allocations: 7.938 kB / 323.5 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.004184, allocations: 67.31 kB / 323.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.004368, allocations: 115 kB / 323.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.004784, allocations: 219.5 kB / 323.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.005191, allocations: 0.5926 MB / 324.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.005346, allocations: 75.03 kB / 324.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.005638, allocations: 339.4 kB / 324.9 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.005867, allocations: 231.4 kB / 325.1 MB, free: 376 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.005918, allocations: 44 kB / 325.1 MB, free: 332 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.006044, allocations: 99.94 kB / 325.2 MB, free: 232 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.006132, allocations: 115.6 kB / 325.3 MB, free: 116 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.006254, allocations: 163.7 kB / 325.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.006698, allocations: 0.5764 MB / 326.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.0067, allocations: 0 / 326.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006701, allocations: 0 / 326.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.006706, allocations: 0 / 326.1 MB, free: 15.38 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0008621/0.007568, allocations: 0.6605 MB / 326.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.007605, allocations: 8.922 kB / 326.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.007707, allocations: 91.59 kB / 326.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.007769, allocations: 40.7 kB / 326.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.008043, allocations: 256.5 kB / 327.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.008072, allocations: 29.38 kB / 327.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.008119, allocations: 36.38 kB / 327.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.00867, allocations: 442.9 kB / 327.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.008687, allocations: 4.141 kB / 327.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.008716, allocations: 20.12 kB / 327.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.008724, allocations: 11.94 kB / 327.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.009328, allocations: 463.7 kB / 328.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.01071, allocations: 1.113 MB / 329.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/0.01124, allocations: 359.1 kB / 329.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.01153, allocations: 233.2 kB / 329.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.01156, allocations: 4.375 kB / 329.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.01158, allocations: 34.94 kB / 329.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 1.472e-06/0.01158, allocations: 4 kB / 329.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.003183/0.01476, allocations: 1.962 MB / 331.8 MB, free: 9.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.01479, allocations: 55.91 kB / 331.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.01496, allocations: 249.9 kB / 332.1 MB, free: 9.109 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.01499, allocations: 41.7 kB / 332.2 MB, free: 9.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.01507, allocations: 176.8 kB / 332.3 MB, free: 8.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.259e-05/0.01516, allocations: 182.5 kB / 332.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.01528, allocations: 90.33 kB / 332.6 MB, free: 8.609 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.01536, allocations: 358.7 kB / 332.9 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.01567, allocations: 233.2 kB / 333.2 MB, free: 8.023 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.016, allocations: 308.1 kB / 333.5 MB, free: 7.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.0165, allocations: 415 kB / 333.9 MB, free: 7.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.0165, allocations: 0 / 333.9 MB, free: 7.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009705/0.01748, allocations: 0.7495 MB / 334.6 MB, free: 6.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01749, allocations: 8 kB / 334.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.0175, allocations: 4.125 kB / 334.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/0.01818, allocations: 0.5489 MB / 335.2 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.01835, allocations: 71.89 kB / 335.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.0202, allocations: 3.441 MB / 338.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.02046, allocations: 72.22 kB / 338.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.02048, allocations: 20 kB / 338.8 MB, free: 2.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.02063, allocations: 169.6 kB / 339 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.02068, allocations: 35.77 kB / 339 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.02172, allocations: 0.7185 MB / 339.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.02173, allocations: 4 kB / 339.7 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.02173, allocations: 8 kB / 339.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.02174, allocations: 3.984 kB / 339.7 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.02303, allocations: 1.142 MB / 340.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.02303, allocations: 3.984 kB / 340.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.02318, allocations: 59.91 kB / 340.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005762/0.02376, allocations: 0.5254 MB / 341.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.02379, allocations: 23.91 kB / 341.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.02561, allocations: 3.407 MB / 344.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02561, allocations: 0 / 344.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.02678, allocations: 1.035 MB / 345.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.0269, allocations: 87.58 kB / 346 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.02694, allocations: 16 kB / 346 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.02717, allocations: 67.91 kB / 346.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.0273, allocations: 96.25 kB / 346.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.02733, allocations: 23.98 kB / 346.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.02743, allocations: 181.2 kB / 346.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02743, allocations: 0 / 346.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.02774, allocations: 120 kB / 346.5 MB, free: 10 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load.w,quadraticSpeedDependentTorque.phi,clutch.phi_rel,clutch.w_rel) * Number of discrete variables: 10 (clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 6 (clutch.mode,clutch.startBackward,brake.mode,brake.startBackward,brake.startForward,clutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/0.02916, allocations: 1.606 MB / 348.1 MB, free: 8.359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000891/0.03005, allocations: 0.7755 MB / 348.9 MB, free: 7.555 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.03005, allocations: 0 / 348.9 MB, free: 7.555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.03052, allocations: 0.5142 MB / 349.4 MB, free: 7.016 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.03083, allocations: 67.58 kB / 349.5 MB, free: 6.953 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.03548, allocations: 4.269 MB / 353.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.03561, allocations: 199.2 kB / 353.9 MB, free: 2.336 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.05e-05/0.0357, allocations: 35.28 kB / 354 MB, free: 2.301 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.03581, allocations: 112.4 kB / 354.1 MB, free: 2.191 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03581, allocations: 0 / 354.1 MB, free: 2.191 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08467/0.1205, allocations: 12.83 MB / 366.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/8.556, allocations: 10.97 kB / 366.9 MB, free: 5.562 MB / 330.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.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.SimpleGearShift_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_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.SimpleGearShift_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,engine.phi,engine.w,load.phi,load.w,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:brake.a,brake.a_relfric,brake.cgeo,brake.f_normalized,brake.flange_a.phi,brake.flange_a.tau,brake.flange_b.phi,brake.flange_b.tau,brake.fn,brake.fn_max,brake.free,brake.locked,brake.lossPower,brake.mode,brake.mu0,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.phi,brake.sa,brake.startBackward,brake.startForward,brake.tau,brake.tau0,brake.tau0_max,brake.useHeatPort,brake.useSupport,brake.w,brake.w_relfric,brake.w_small,clutch.a_rel,clutch.a_relfric,clutch.cgeo,clutch.f_normalized,clutch.flange_a.phi,clutch.flange_a.tau,clutch.flange_b.phi,clutch.flange_b.tau,clutch.fn,clutch.fn_max,clutch.free,clutch.locked,clutch.lossPower,clutch.mode,clutch.mu0,clutch.mu_pos[1,1],clutch.mu_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const1.k,const1.y,der(brake.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(engine.phi),der(engine.w),der(load.w),der(quadraticSpeedDependentTorque.phi),engine.J,engine.a,engine.flange_a.phi,engine.flange_a.tau,engine.flange_b.phi,engine.flange_b.tau,engine.phi,engine.stateSelect,engine.w,feedback.u1,feedback.u2,feedback.y,gearRatio,idealPlanetary.carrier.phi,idealPlanetary.carrier.tau,idealPlanetary.ratio,idealPlanetary.ring.phi,idealPlanetary.ring.tau,idealPlanetary.sun.phi,idealPlanetary.sun.tau,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,quadraticSpeedDependentTorque.TorqueDirection,quadraticSpeedDependentTorque.flange.phi,quadraticSpeedDependentTorque.flange.tau,quadraticSpeedDependentTorque.phi,quadraticSpeedDependentTorque.tau,quadraticSpeedDependentTorque.tau_nominal,quadraticSpeedDependentTorque.useSupport,quadraticSpeedDependentTorque.w,quadraticSpeedDependentTorque.w_nominal,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,time,torqueStep.flange.phi,torqueStep.flange.tau,torqueStep.offsetTorque,torqueStep.phi,torqueStep.startTime,torqueStep.stepTorque,torqueStep.tau,torqueStep.useSupport,wEngine,wLoad filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.diff.mat", vars={"load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, 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/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.diff.ref.mat", vars={"load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_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.SimpleGearShift_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,engine.phi,engine.w,load.phi,load.w,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:brake.a,brake.a_relfric,brake.cgeo,brake.f_normalized,brake.flange_a.phi,brake.flange_a.tau,brake.flange_b.phi,brake.flange_b.tau,brake.fn,brake.fn_max,brake.free,brake.locked,brake.lossPower,brake.mode,brake.mu0,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.phi,brake.sa,brake.startBackward,brake.startForward,brake.tau,brake.tau0,brake.tau0_max,brake.useHeatPort,brake.useSupport,brake.w,brake.w_relfric,brake.w_small,clutch.a_rel,clutch.a_relfric,clutch.cgeo,clutch.f_normalized,clutch.flange_a.phi,clutch.flange_a.tau,clutch.flange_b.phi,clutch.flange_b.tau,clutch.fn,clutch.fn_max,clutch.free,clutch.locked,clutch.lossPower,clutch.mode,clutch.mu0,clutch.mu_pos[1,1],clutch.mu_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const1.k,const1.y,der(brake.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(engine.phi),der(engine.w),der(load.w),der(quadraticSpeedDependentTorque.phi),engine.J,engine.a,engine.flange_a.phi,engine.flange_a.tau,engine.flange_b.phi,engine.flange_b.tau,engine.phi,engine.stateSelect,engine.w,feedback.u1,feedback.u2,feedback.y,gearRatio,idealPlanetary.carrier.phi,idealPlanetary.carrier.tau,idealPlanetary.ratio,idealPlanetary.ring.phi,idealPlanetary.ring.tau,idealPlanetary.sun.phi,idealPlanetary.sun.tau,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,quadraticSpeedDependentTorque.TorqueDirection,quadraticSpeedDependentTorque.flange.phi,quadraticSpeedDependentTorque.flange.tau,quadraticSpeedDependentTorque.phi,quadraticSpeedDependentTorque.tau,quadraticSpeedDependentTorque.tau_nominal,quadraticSpeedDependentTorque.useSupport,quadraticSpeedDependentTorque.w,quadraticSpeedDependentTorque.w_nominal,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,time,torqueStep.flange.phi,torqueStep.flange.tau,torqueStep.offsetTorque,torqueStep.phi,torqueStep.startTime,torqueStep.stepTorque,torqueStep.tau,torqueStep.useSupport,wEngine,wLoad filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.mat", vars={"brake.startForward", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, 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/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.ref.mat", vars={"brake.startForward", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv --output-variables clutch.phi_rel clutch.w_rel engine.phi engine.w load.phi load.w brake.mode brake.startBackward brake.startForward clutch.mode clutch.startBackward clutch.startForward --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,engine.phi,engine.w,load.phi,load.w,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:time,clutch.phi_rel,clutch.w_rel,load.w,engine.phi,engine.w,load.phi,brake.mode,clutch.mode,brake.startBackward,brake.startForward,clutch.startBackward,clutch.startForward filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.diff.mat", vars={"clutch.mode", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, 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/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.diff.ref.mat", vars={"clutch.mode", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 11.242487624287605]