Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007867/0.0007867, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002015, allocations: 449.6 kB / 10.33 MB, free: 372 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 153.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.002225, allocations: 475.5 kB / 11.67 MB, free: 2.492 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9218/0.9218, allocations: 177.4 MB / 189.8 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07511/0.9969, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_trunk_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.242e-06/1.242e-06, allocations: 0 / 244.9 MB, free: 13.69 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.183e-06/8.425e-06, allocations: 2.312 kB / 244.9 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.006554/0.006562, allocations: 2.979 MB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.007974, allocations: 1.056 MB / 249 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.008104, allocations: 11.94 kB / 249 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.008288, allocations: 83.17 kB / 249 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.008572, allocations: 166.8 kB / 249.2 MB, free: 9.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.00886, allocations: 191.6 kB / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005009/0.009361, allocations: 0.6085 MB / 250 MB, free: 8.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003165/0.01253, allocations: 86.95 kB / 250.1 MB, free: 8.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.01293, allocations: 399.9 kB / 250.5 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.01322, allocations: 235.4 kB / 250.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.01329, allocations: 48 kB / 250.8 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.01345, allocations: 99.92 kB / 250.9 MB, free: 7.715 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.01356, allocations: 91.72 kB / 250.9 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.0137, allocations: 127.8 kB / 251.1 MB, free: 7.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000664/0.01436, allocations: 402.6 kB / 251.5 MB, free: 7.105 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.244e-05/0.01438, allocations: 0 / 251.5 MB, free: 7.105 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01438, allocations: 0 / 251.5 MB, free: 7.105 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.01439, allocations: 0 / 251.5 MB, free: 7.105 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.00402/0.01841, allocations: 0.745 MB / 252.2 MB, free: 6.336 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.01844, allocations: 12.62 kB / 252.2 MB, free: 6.324 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.01856, allocations: 87.55 kB / 252.3 MB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/0.01866, allocations: 64.89 kB / 252.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.01897, allocations: 233.2 kB / 252.6 MB, free: 5.906 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.019, allocations: 33.36 kB / 252.6 MB, free: 5.875 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.717e-05/0.01906, allocations: 36.38 kB / 252.7 MB, free: 5.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.01951, allocations: 318.9 kB / 253 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.01952, allocations: 4.125 kB / 253 MB, free: 5.516 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.01956, allocations: 20.12 kB / 253 MB, free: 5.496 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.01957, allocations: 12 kB / 253 MB, free: 5.484 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.0199, allocations: 182.8 kB / 253.2 MB, free: 5.309 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004431/0.02433, allocations: 0.8649 MB / 254.1 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.02475, allocations: 221.2 kB / 254.3 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.02491, allocations: 106.3 kB / 254.4 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.02495, allocations: 8.5 kB / 254.4 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.02497, allocations: 39 kB / 254.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=50): time 1.754e-06/0.02498, allocations: 0 / 254.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.005662/0.03064, allocations: 1.287 MB / 255.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.03067, allocations: 55.91 kB / 255.8 MB, free: 2.602 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.03085, allocations: 242.6 kB / 256 MB, free: 2.352 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.0309, allocations: 45.7 kB / 256 MB, free: 2.301 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.03097, allocations: 160.9 kB / 256.2 MB, free: 2.137 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.03109, allocations: 194.4 kB / 256.4 MB, free: 1.945 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.03124, allocations: 106.2 kB / 256.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.03133, allocations: 350.7 kB / 256.8 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.0315, allocations: 81.28 kB / 256.9 MB, free: 1.402 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.03168, allocations: 152.1 kB / 257.1 MB, free: 1.238 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.03198, allocations: 245.6 kB / 257.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.03198, allocations: 3.938 kB / 257.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006088/0.03259, allocations: 384.8 kB / 257.7 MB, free: 0.582 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.0326, allocations: 4 kB / 257.7 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.03261, allocations: 4.125 kB / 257.7 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005276/0.03314, allocations: 310.3 kB / 258 MB, free: 268 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.03447, allocations: 79.91 kB / 258.1 MB, free: 188 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.03695, allocations: 3.044 MB / 261.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/0.04029, allocations: 51.94 kB / 261.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.04032, allocations: 15.94 kB / 261.2 MB, free: 12.85 MB / 266.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.0001183/0.04044, allocations: 144.7 kB / 261.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.0405, allocations: 39.97 kB / 261.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.04102, allocations: 408.9 kB / 261.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.04102, allocations: 8 kB / 261.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.04102, allocations: 0 / 261.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.04103, allocations: 4 kB / 261.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.04229, allocations: 0.7305 MB / 262.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.04229, allocations: 0 / 262.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.04253, allocations: 59.91 kB / 262.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.04268, allocations: 59.72 kB / 262.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000646/0.04333, allocations: 302.3 kB / 262.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.04337, allocations: 15.98 kB / 262.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.04529, allocations: 3.049 MB / 266 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.04529, allocations: 7.938 kB / 266 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009109/0.0462, allocations: 0.5616 MB / 266.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.734e-05/0.04629, allocations: 23.94 kB / 266.6 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.04658, allocations: 47.94 kB / 266.6 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.04678, allocations: 100.2 kB / 266.7 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.04682, allocations: 19.98 kB / 266.7 MB, free: 6.957 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.04692, allocations: 86.77 kB / 266.8 MB, free: 6.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04692, allocations: 0 / 266.8 MB, free: 6.871 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000438/0.04736, allocations: 123.9 kB / 266.9 MB, free: 6.75 MB / 266.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.001826/0.04918, allocations: 1.108 MB / 268.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000827/0.05001, allocations: 0.5433 MB / 268.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.05002, allocations: 4 kB / 268.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005154/0.05053, allocations: 436.4 kB / 269 MB, free: 4.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.05099, allocations: 144 kB / 269.2 MB, free: 4.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.05452, allocations: 2.298 MB / 271.5 MB, free: 2.254 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.208e-05/0.05459, allocations: 114.3 kB / 271.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.789e-05/0.05466, allocations: 31.23 kB / 271.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.05487, allocations: 215.3 kB / 271.8 MB, free: 1.879 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.05487, allocations: 0 / 271.8 MB, free: 1.879 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.03843/0.09331, allocations: 17 MB / 288.8 MB, free: 1.035 MB / 282.7 MB Notification: FMU-only work: backend 0.0003833, simCode 0.001651, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1708/0.2641, allocations: 1.407 MB / 290.2 MB, free: 36.15 MB / 282.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 3.046/3.31, allocations: 14.94 kB / 290.2 MB, free: 36.14 MB / 282.7 MB " [Timeout remaining time 657] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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] Reference file matches (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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(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_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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/v4.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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] Reference file matches (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmpy-fmi3-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/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_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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/v4.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.833269310183823]