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.001022/0.001022, allocations: 72.17 kB / 9.897 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002447, allocations: 449.7 kB / 10.34 MB, free: 360 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007169/0.0007169, allocations: 161.1 kB / 11.23 MB, free: 2.945 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008542/0.001571, allocations: 459.6 kB / 11.67 MB, free: 2.492 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.056/1.056, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.102/1.158, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0+3.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+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 244.4 MB, free: 14.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.139e-05, allocations: 12.92 kB / 244.4 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.006708/0.006729, allocations: 2.987 MB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.008364, allocations: 1.067 MB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.008514, allocations: 7.938 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003209/0.01172, allocations: 75.3 kB / 248.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.01206, allocations: 170.7 kB / 248.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.01239, allocations: 187.7 kB / 248.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.01291, allocations: 0.6046 MB / 249.5 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.01307, allocations: 86.95 kB / 249.6 MB, free: 9.172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004301/0.0135, allocations: 399.9 kB / 250 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.01379, allocations: 239.4 kB / 250.2 MB, free: 8.547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.01387, allocations: 44 kB / 250.3 MB, free: 8.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.01403, allocations: 107.9 kB / 250.4 MB, free: 8.398 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.01414, allocations: 83.73 kB / 250.5 MB, free: 8.316 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.01427, allocations: 127.8 kB / 250.6 MB, free: 8.191 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003481/0.01775, allocations: 406.6 kB / 251 MB, free: 7.793 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.01777, allocations: 0 / 251 MB, free: 7.793 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.01777, allocations: 0 / 251 MB, free: 7.793 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.01778, allocations: 0 / 251 MB, free: 7.793 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.0009998/0.01878, allocations: 0.7451 MB / 251.7 MB, free: 7.023 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.01881, allocations: 8.031 kB / 251.7 MB, free: 7.016 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.01894, allocations: 87.59 kB / 251.8 MB, free: 6.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.842e-05/0.01904, allocations: 64.83 kB / 251.9 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000814/0.01986, allocations: 241.2 kB / 252.1 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.01989, allocations: 33.38 kB / 252.2 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.01995, allocations: 44.34 kB / 252.2 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.02039, allocations: 314.9 kB / 252.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.0204, allocations: 192 / 252.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.02043, allocations: 16.12 kB / 252.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.02044, allocations: 8 kB / 252.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.02081, allocations: 182.8 kB / 252.7 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005554/0.02636, allocations: 0.8571 MB / 253.6 MB, free: 5.105 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.02676, allocations: 221.2 kB / 253.8 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.02692, allocations: 114.3 kB / 253.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.02695, allocations: 8.5 kB / 253.9 MB, free: 4.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.02698, allocations: 46.98 kB / 253.9 MB, free: 4.695 MB / 250.7 MB Notification: Performance of pre-optimization done (n=50): time 1.503e-06/0.02698, allocations: 0 / 253.9 MB, free: 4.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.00244/0.02942, allocations: 1.287 MB / 255.2 MB, free: 3.352 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.02945, allocations: 55.91 kB / 255.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.02969, allocations: 250.6 kB / 255.5 MB, free: 3.027 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.02973, allocations: 41.7 kB / 255.6 MB, free: 2.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.02979, allocations: 156.9 kB / 255.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.02991, allocations: 198.4 kB / 255.9 MB, free: 2.625 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.03005, allocations: 106.2 kB / 256 MB, free: 2.516 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.03014, allocations: 346.7 kB / 256.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.03029, allocations: 89.27 kB / 256.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.03046, allocations: 156.1 kB / 256.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.03074, allocations: 237.6 kB / 256.8 MB, free: 1.656 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.03074, allocations: 4 kB / 256.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006592/0.0314, allocations: 384.8 kB / 257.2 MB, free: 1.262 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.03141, allocations: 6.812 kB / 257.2 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.03142, allocations: 4 kB / 257.2 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003579/0.035, allocations: 314.5 kB / 257.5 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.03518, allocations: 71.91 kB / 257.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.03681, allocations: 3.032 MB / 260.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.03703, allocations: 60.09 kB / 260.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.03728, allocations: 15.94 kB / 260.7 MB, free: 13.54 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.000122/0.03741, allocations: 149.2 kB / 260.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003078/0.04048, allocations: 35.97 kB / 260.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005916/0.04107, allocations: 420.9 kB / 261.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.04108, allocations: 8 kB / 261.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.04108, allocations: 0 / 261.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.04109, allocations: 4 kB / 261.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.0421, allocations: 0.7305 MB / 262 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.0421, allocations: 0 / 262 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.04228, allocations: 59.91 kB / 262.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.04241, allocations: 63.7 kB / 262.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/0.04291, allocations: 298.3 kB / 262.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.04294, allocations: 11.98 kB / 262.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/0.04742, allocations: 3.044 MB / 265.5 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.04743, allocations: 7.938 kB / 265.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.04798, allocations: 0.5536 MB / 266.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.04803, allocations: 24.06 kB / 266.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.04819, allocations: 51.94 kB / 266.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.04831, allocations: 104.2 kB / 266.2 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.04833, allocations: 11.98 kB / 266.3 MB, free: 7.652 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.297e-05/0.04839, allocations: 90.69 kB / 266.3 MB, free: 7.562 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04839, allocations: 4 kB / 266.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.04864, allocations: 119.9 kB / 266.5 MB, free: 7.441 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.001218/0.04986, allocations: 1.122 MB / 267.6 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007619/0.05062, allocations: 0.5352 MB / 268.1 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.05063, allocations: 4 kB / 268.1 MB, free: 5.969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.05095, allocations: 440.6 kB / 268.6 MB, free: 5.508 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.05122, allocations: 148.3 kB / 268.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.05554, allocations: 2.241 MB / 270.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.486e-05/0.05561, allocations: 126.2 kB / 271.1 MB, free: 2.895 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.277e-05/0.05569, allocations: 35.27 kB / 271.1 MB, free: 2.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.05589, allocations: 207.3 kB / 271.3 MB, free: 2.656 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.05589, allocations: 0 / 271.3 MB, free: 2.656 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.03185/0.08774, allocations: 17.14 MB / 288.4 MB, free: 1.672 MB / 282.7 MB Notification: FMU-only work: backend 0.0002739, simCode 0.001022, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05905/0.1468, allocations: 1.553 MB / 290 MB, free: 36 kB / 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 2.917/3.063, allocations: 27.25 kB / 290 MB, free: 16 kB / 282.7 MB " [Timeout remaining time 657] (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] Reference file matches (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(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_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={"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_4.1.0_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_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] Reference file matches (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.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_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_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.821970285847783]