Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009801/0.0009801, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002503, allocations: 449.7 kB / 10.33 MB, free: 372 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.001046/0.001046, allocations: 153.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002409/0.003455, allocations: 467.6 kB / 11.67 MB, free: 2.5 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.082/1.082, allocations: 158.6 MB / 171 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.192/1.274, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 221.7 MB, free: 240 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.939e-05, allocations: 6.25 kB / 221.7 MB, free: 232 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.002857/0.002876, allocations: 2.835 MB / 224.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.004267, allocations: 0.9508 MB / 225.5 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.004425, allocations: 7.938 kB / 225.5 MB, free: 12.4 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.004569, allocations: 55.44 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.004756, allocations: 119 kB / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.005176, allocations: 215.5 kB / 225.9 MB, free: 12.02 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.005631, allocations: 0.5732 MB / 226.5 MB, free: 11.44 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.005795, allocations: 79.02 kB / 226.6 MB, free: 11.36 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.006199, allocations: 371.1 kB / 226.9 MB, free: 11 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.006448, allocations: 223.5 kB / 227.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.006507, allocations: 47.94 kB / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.00671, allocations: 111.9 kB / 227.3 MB, free: 10.62 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.006783, allocations: 75.75 kB / 227.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.006889, allocations: 119.8 kB / 227.5 MB, free: 10.43 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.007255, allocations: 354.9 kB / 227.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.007268, allocations: 0 / 227.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007269, allocations: 0 / 227.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.007281, allocations: 3.938 kB / 227.8 MB, free: 10.08 MB / 234.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.0008752/0.008156, allocations: 0.7063 MB / 228.6 MB, free: 9.352 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.008192, allocations: 8.031 kB / 228.6 MB, free: 9.344 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.655e-05/0.008288, allocations: 83.55 kB / 228.6 MB, free: 9.254 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.678e-05/0.008365, allocations: 56.89 kB / 228.7 MB, free: 9.199 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.008614, allocations: 208.7 kB / 228.9 MB, free: 8.969 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.008643, allocations: 29.38 kB / 228.9 MB, free: 8.941 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.008689, allocations: 44.33 kB / 229 MB, free: 8.898 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.009058, allocations: 327.6 kB / 229.3 MB, free: 8.57 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.009075, allocations: 8.172 kB / 229.3 MB, free: 8.562 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.009099, allocations: 16.12 kB / 229.3 MB, free: 8.547 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.009106, allocations: 11.98 kB / 229.3 MB, free: 8.535 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.009342, allocations: 190.8 kB / 229.5 MB, free: 8.348 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.01064, allocations: 0.844 MB / 230.4 MB, free: 7.457 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.01096, allocations: 196.3 kB / 230.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.01108, allocations: 117.5 kB / 230.7 MB, free: 7.141 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.01111, allocations: 9.125 kB / 230.7 MB, free: 7.133 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.01113, allocations: 42.56 kB / 230.7 MB, free: 7.082 MB / 234.7 MB Notification: Performance of pre-optimization done (n=45): time 1.593e-06/0.01114, allocations: 3.938 kB / 230.7 MB, free: 7.078 MB / 234.7 MB Notification: Performance of matching and sorting (n=49): time 0.001972/0.01311, allocations: 1.259 MB / 232 MB, free: 5.758 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.01313, allocations: 59.91 kB / 232 MB, free: 5.688 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.01328, allocations: 232.9 kB / 232.3 MB, free: 5.445 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.01331, allocations: 45.69 kB / 232.3 MB, free: 5.395 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.01338, allocations: 156.9 kB / 232.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.01347, allocations: 174.5 kB / 232.6 MB, free: 5.062 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.01359, allocations: 102.2 kB / 232.7 MB, free: 4.957 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.01368, allocations: 342.8 kB / 233.1 MB, free: 4.613 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.01385, allocations: 93.27 kB / 233.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.014, allocations: 160 kB / 233.3 MB, free: 4.348 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.01424, allocations: 254.9 kB / 233.6 MB, free: 4.082 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01424, allocations: 0 / 233.6 MB, free: 4.082 MB / 234.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005302/0.01477, allocations: 412.8 kB / 234 MB, free: 3.664 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.01479, allocations: 12.12 kB / 234 MB, free: 3.652 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01479, allocations: 0 / 234 MB, free: 3.652 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/0.01539, allocations: 438.2 kB / 234.4 MB, free: 3.215 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.01555, allocations: 71.91 kB / 234.5 MB, free: 3.145 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.01738, allocations: 3.067 MB / 237.5 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.01759, allocations: 56.16 kB / 237.6 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.01762, allocations: 19.94 kB / 237.6 MB, free: 15.78 MB / 250.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.0001424/0.01776, allocations: 144.6 kB / 237.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.01782, allocations: 39.97 kB / 237.8 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/0.01833, allocations: 416.9 kB / 238.2 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01833, allocations: 4 kB / 238.2 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01834, allocations: 3.938 kB / 238.2 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.01834, allocations: 3.984 kB / 238.2 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009132/0.01925, allocations: 0.7254 MB / 238.9 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.01926, allocations: 0 / 238.9 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.01941, allocations: 59.97 kB / 239 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.01952, allocations: 51.73 kB / 239 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005602/0.02008, allocations: 448.8 kB / 239.5 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.02012, allocations: 15.98 kB / 239.5 MB, free: 13.81 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.02199, allocations: 3.063 MB / 242.6 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.02199, allocations: 3.984 kB / 242.6 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.02261, allocations: 0.5676 MB / 243.1 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.02266, allocations: 16 kB / 243.2 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.02283, allocations: 52 kB / 243.2 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.02297, allocations: 92.31 kB / 243.3 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.02299, allocations: 19.97 kB / 243.3 MB, free: 9.754 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.459e-05/0.02306, allocations: 78.77 kB / 243.4 MB, free: 9.676 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02306, allocations: 0 / 243.4 MB, free: 9.676 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.0234, allocations: 124 kB / 243.5 MB, free: 9.555 MB / 250.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.000522/0.02392, allocations: 0.7173 MB / 244.2 MB, free: 8.816 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006081/0.02453, allocations: 0.55 MB / 244.8 MB, free: 8.238 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.02454, allocations: 4 kB / 244.8 MB, free: 8.234 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.02489, allocations: 448.5 kB / 245.2 MB, free: 7.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.02519, allocations: 108.4 kB / 245.3 MB, free: 7.664 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.02834, allocations: 2.289 MB / 247.6 MB, free: 5.281 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.113e-05/0.02842, allocations: 117.2 kB / 247.7 MB, free: 5.148 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.966e-05/0.02852, allocations: 27.3 kB / 247.8 MB, free: 5.121 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.02874, allocations: 191.3 kB / 247.9 MB, free: 4.934 MB / 250.7 MB Notification: Performance of SimCode: time 1.593e-06/0.02874, allocations: 0 / 247.9 MB, free: 4.934 MB / 250.7 MB Notification: Performance of FMU documentation: time 0.03634/0.06508, allocations: 16.73 MB / 264.7 MB, free: 4.035 MB / 266.7 MB Notification: FMU-only work: backend 0.0003373, simCode 0.001576, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08731/0.1524, allocations: 1.342 MB / 266 MB, free: 2.656 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.922/3.074, allocations: 19.8 kB / 266 MB, free: 2.641 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.mue0,brake.mue_pos[1,1],brake.mue_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.mue0,clutch.mue_pos[1,1],clutch.mue_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(clutch.w_relfric),der(engine.phi),der(engine.w),der(idealPlanetary.carrier.phi),der(load.flange_a.phi),der(load.flange_b.phi),der(load.phi),der(load.w),der(quadraticSpeedDependentTorque.flange.phi),der(quadraticSpeedDependentTorque.phi),der(quadraticSpeedDependentTorque.w),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_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.mat", vars={"load.w", "engine.w", "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/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.ref.mat", vars={"load.w", "engine.w", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode_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 CoSimulation --output-interval 0.01 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmpy-fmi3-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.diff.mat", vars={"brake.mode"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"brake.mode"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.915646978653967]