Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.001695/0.001695, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001765/0.001765, allocations: 166 kB / 23.94 MB, free: 0.6211 MB / 18.57 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.8791/0.8791, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.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.SimpleGearShift,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 326.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.757e-06/9.92e-06, allocations: 2.281 kB / 326.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.002735/0.002745, allocations: 2.792 MB / 328.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003983, allocations: 1.017 MB / 329.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.004114, allocations: 4 kB / 329.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.004338, allocations: 75.25 kB / 330 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.004597, allocations: 166.7 kB / 330.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.004859, allocations: 199.6 kB / 330.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.005247, allocations: 0.6123 MB / 331 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.005391, allocations: 75.05 kB / 331 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.005662, allocations: 363.3 kB / 331.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.00589, allocations: 235.4 kB / 331.6 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.86e-05/0.005949, allocations: 48 kB / 331.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.00607, allocations: 103.8 kB / 331.8 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.006187, allocations: 135.6 kB / 331.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.006306, allocations: 171.6 kB / 332.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.006736, allocations: 0.6192 MB / 332.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006738, allocations: 0 / 332.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006739, allocations: 0 / 332.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.006744, allocations: 0 / 332.7 MB, free: 8.48 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008732/0.007618, allocations: 0.7148 MB / 333.4 MB, free: 7.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.00765, allocations: 8.031 kB / 333.4 MB, free: 7.73 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.007753, allocations: 87.66 kB / 333.5 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.007825, allocations: 48.66 kB / 333.6 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.008108, allocations: 268.4 kB / 333.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.008131, allocations: 33.38 kB / 333.8 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.008179, allocations: 36.38 kB / 333.9 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.008725, allocations: 442.9 kB / 334.3 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.00874, allocations: 8.125 kB / 334.3 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.008773, allocations: 20.12 kB / 334.3 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.008781, allocations: 8 kB / 334.4 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006163/0.009398, allocations: 451.6 kB / 334.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.01084, allocations: 1.136 MB / 335.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.01142, allocations: 377.1 kB / 336.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.01172, allocations: 230.1 kB / 336.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.01175, allocations: 8.5 kB / 336.5 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.01177, allocations: 35.06 kB / 336.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.493e-06/0.01177, allocations: 0 / 336.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.003138/0.01491, allocations: 1.973 MB / 338.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.01494, allocations: 59.84 kB / 338.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.01512, allocations: 269.8 kB / 338.9 MB, free: 2.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.01516, allocations: 45.7 kB / 338.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.01523, allocations: 168.9 kB / 339.1 MB, free: 1.875 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/0.01533, allocations: 202.4 kB / 339.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.01544, allocations: 98.33 kB / 339.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.01552, allocations: 338.8 kB / 339.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.01583, allocations: 221.2 kB / 339.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.01617, allocations: 292.1 kB / 340.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.01666, allocations: 399 kB / 340.6 MB, free: 312 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01666, allocations: 0 / 340.6 MB, free: 312 kB / 298.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009782/0.01764, allocations: 0.7144 MB / 341.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.01765, allocations: 8 kB / 341.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01765, allocations: 4.125 kB / 341.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006494/0.0183, allocations: 431.1 kB / 341.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01845, allocations: 63.91 kB / 341.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.02029, allocations: 3.441 MB / 345.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.02054, allocations: 80.3 kB / 345.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.02056, allocations: 16 kB / 345.3 MB, free: 11.28 MB / 314.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 (44): * Single equations (assignments): 41 * 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,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.02072, allocations: 170.3 kB / 345.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.02077, allocations: 35.77 kB / 345.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000966/0.02174, allocations: 0.7107 MB / 346.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.02174, allocations: 7.938 kB / 346.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.02174, allocations: 0 / 346.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02175, allocations: 7.922 kB / 346.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.02315, allocations: 1.163 MB / 347.4 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02315, allocations: 0 / 347.4 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.0233, allocations: 55.91 kB / 347.5 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005781/0.02388, allocations: 418.1 kB / 347.9 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.02391, allocations: 15.98 kB / 347.9 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.02564, allocations: 3.407 MB / 351.3 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02564, allocations: 0 / 351.3 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.0269, allocations: 1.012 MB / 352.3 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.02703, allocations: 83.88 kB / 352.4 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.02708, allocations: 24 kB / 352.4 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.02732, allocations: 67.91 kB / 352.5 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.02745, allocations: 100.2 kB / 352.6 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.02748, allocations: 19.98 kB / 352.6 MB, free: 3.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.02761, allocations: 197.2 kB / 352.8 MB, free: 3.441 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02761, allocations: 0 / 352.8 MB, free: 3.441 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.02791, allocations: 120 kB / 352.9 MB, free: 3.324 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,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00225/0.03016, allocations: 1.853 MB / 354.8 MB, free: 1.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009835/0.03115, allocations: 0.7561 MB / 355.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.03115, allocations: 4 kB / 355.5 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.03163, allocations: 0.5103 MB / 356 MB, free: 272 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.03197, allocations: 76.09 kB / 356.1 MB, free: 204 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/0.03741, allocations: 4.228 MB / 360.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.03783, allocations: 212.8 kB / 360.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.87e-05/0.03793, allocations: 35.27 kB / 360.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.03806, allocations: 120.5 kB / 360.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03806, allocations: 0 / 360.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1417/0.1798, allocations: 13.39 MB / 374.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/8.422, allocations: 6.516 kB / 374.1 MB, free: 14.18 MB / 346.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.mu,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.phi,brake.sa,brake.smoothness,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.mu,clutch.mu_pos[1,1],clutch.mu_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.smoothness,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.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.mu,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.phi,brake.sa,brake.smoothness,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.mu,clutch.mu_pos[1,1],clutch.mu_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.smoothness,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.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.959420374594629]