Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 111.8 kB / 20.43 MB, free: 4.598 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 193.3 kB / 23.71 MB, free: 2.148 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.037/1.037, allocations: 225.7 MB / 252.5 MB, free: 14.41 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 47.92 kB / 371.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2193, allocations: 52.18 MB / 424.1 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.002704/0.222, allocations: 2.64 MB / 426.8 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2232, allocations: 0.863 MB / 427.6 MB, free: 5.324 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.2233, allocations: 8.062 kB / 427.6 MB, free: 5.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.2235, allocations: 59.56 kB / 427.7 MB, free: 5.285 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.2237, allocations: 101.1 kB / 427.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.2242, allocations: 230.5 kB / 428 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.2246, allocations: 0.5607 MB / 428.6 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.2248, allocations: 78.03 kB / 428.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.225, allocations: 254.9 kB / 428.9 MB, free: 4.691 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.2253, allocations: 256.8 kB / 429.2 MB, free: 4.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.2254, allocations: 44.69 kB / 429.2 MB, free: 4.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.2255, allocations: 96.45 kB / 429.3 MB, free: 4.574 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-05/0.2256, allocations: 116.4 kB / 429.4 MB, free: 4.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.2257, allocations: 181.8 kB / 429.6 MB, free: 4.402 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.2262, allocations: 0.5437 MB / 430.1 MB, free: 4.086 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2262, allocations: 4 kB / 430.1 MB, free: 4.082 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2262, allocations: 0 / 430.1 MB, free: 4.082 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.2262, allocations: 0 / 430.1 MB, free: 4.082 MB / 330.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.000806/0.227, allocations: 0.6762 MB / 430.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.227, allocations: 10.34 kB / 430.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.697e-05/0.2271, allocations: 76.72 kB / 430.9 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.2272, allocations: 50.33 kB / 430.9 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.2275, allocations: 245.5 kB / 431.2 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.2275, allocations: 23.81 kB / 431.2 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.2275, allocations: 38.55 kB / 431.2 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.2281, allocations: 455.4 kB / 431.7 MB, free: 2.914 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.2281, allocations: 5.062 kB / 431.7 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.2281, allocations: 15.25 kB / 431.7 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.2281, allocations: 12.52 kB / 431.7 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.2287, allocations: 461.8 kB / 432.2 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.2301, allocations: 1.12 MB / 433.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.2306, allocations: 340.2 kB / 433.6 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.2309, allocations: 233.7 kB / 433.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.2309, allocations: 8 kB / 433.9 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.2309, allocations: 42.48 kB / 433.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 2.494e-06/0.231, allocations: 0 / 433.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.002966/0.2339, allocations: 1.961 MB / 435.9 MB, free: 408 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.2339, allocations: 56.75 kB / 435.9 MB, free: 344 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.2341, allocations: 256 kB / 436.2 MB, free: 160 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.2342, allocations: 43.02 kB / 436.2 MB, free: 116 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.2343, allocations: 171.5 kB / 436.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2344, allocations: 178.9 kB / 436.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.2345, allocations: 97.25 kB / 436.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.2346, allocations: 342.8 kB / 437 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.2349, allocations: 231.5 kB / 437.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.2352, allocations: 311.2 kB / 437.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.2358, allocations: 417.1 kB / 437.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2358, allocations: 0 / 437.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001036/0.2368, allocations: 0.7453 MB / 438.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2368, allocations: 5.906 kB / 438.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.2368, allocations: 5.078 kB / 438.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007978/0.2376, allocations: 0.5522 MB / 439.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.2378, allocations: 74.17 kB / 439.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.2398, allocations: 3.441 MB / 442.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.2401, allocations: 71.34 kB / 442.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.2402, allocations: 17.47 kB / 442.8 MB, free: 10.88 MB / 346.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.0001937/0.2404, allocations: 170.8 kB / 443 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.2404, allocations: 37.12 kB / 443 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.2417, allocations: 0.7116 MB / 443.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2417, allocations: 9.531 kB / 443.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2417, allocations: 1.031 kB / 443.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2417, allocations: 3.984 kB / 443.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.2431, allocations: 1.163 MB / 444.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2431, allocations: 0 / 444.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2433, allocations: 59.91 kB / 445 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000619/0.2439, allocations: 0.5217 MB / 445.5 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.2439, allocations: 23.91 kB / 445.5 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.2458, allocations: 3.425 MB / 449 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2458, allocations: 0 / 449 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.247, allocations: 1.025 MB / 450 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.2472, allocations: 87.67 kB / 450.1 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.2472, allocations: 19.94 kB / 450.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.2474, allocations: 63.91 kB / 450.1 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.2476, allocations: 92.25 kB / 450.2 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.2476, allocations: 27.97 kB / 450.3 MB, free: 3.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.2477, allocations: 181.2 kB / 450.4 MB, free: 3.344 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2477, allocations: 0 / 450.4 MB, free: 3.344 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006625/0.2484, allocations: 120 kB / 450.6 MB, free: 3.227 MB / 346.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.001508/0.2499, allocations: 1.6 MB / 452.2 MB, free: 1.586 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.2509, allocations: 0.7624 MB / 452.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2509, allocations: 0 / 452.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005034/0.2514, allocations: 0.5255 MB / 453.4 MB, free: 256 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.2518, allocations: 75.38 kB / 453.5 MB, free: 188 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/0.2569, allocations: 4.359 MB / 457.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.2571, allocations: 199.2 kB / 458.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.2572, allocations: 39.27 kB / 458.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.2573, allocations: 107.4 kB / 458.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of SimCode: time 1.502e-06/0.2573, allocations: 0 / 458.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09462/0.3519, allocations: 12.68 MB / 470.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/8.874, allocations: 1.375 kB / 470.9 MB, free: 14.87 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,engine.phi,engine.w,load.phi,load.w,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:brake.a,brake.a_relfric,brake.cgeo,brake.f_normalized,brake.flange_a.phi,brake.flange_a.tau,brake.flange_b.phi,brake.flange_b.tau,brake.fn,brake.fn_max,brake.free,brake.locked,brake.lossPower,brake.mode,brake.mu0,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.phi,brake.sa,brake.startBackward,brake.startForward,brake.tau,brake.tau0,brake.tau0_max,brake.useHeatPort,brake.useSupport,brake.w,brake.w_relfric,brake.w_small,clutch.a_rel,clutch.a_relfric,clutch.cgeo,clutch.f_normalized,clutch.flange_a.phi,clutch.flange_a.tau,clutch.flange_b.phi,clutch.flange_b.tau,clutch.fn,clutch.fn_max,clutch.free,clutch.locked,clutch.lossPower,clutch.mode,clutch.mu0,clutch.mu_pos[1,1],clutch.mu_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const1.k,const1.y,der(brake.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(engine.phi),der(engine.w),der(load.w),der(quadraticSpeedDependentTorque.phi),engine.J,engine.a,engine.flange_a.phi,engine.flange_a.tau,engine.flange_b.phi,engine.flange_b.tau,engine.phi,engine.stateSelect,engine.w,feedback.u1,feedback.u2,feedback.y,gearRatio,idealPlanetary.carrier.phi,idealPlanetary.carrier.tau,idealPlanetary.ratio,idealPlanetary.ring.phi,idealPlanetary.ring.tau,idealPlanetary.sun.phi,idealPlanetary.sun.tau,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,quadraticSpeedDependentTorque.TorqueDirection,quadraticSpeedDependentTorque.flange.phi,quadraticSpeedDependentTorque.flange.tau,quadraticSpeedDependentTorque.phi,quadraticSpeedDependentTorque.tau,quadraticSpeedDependentTorque.tau_nominal,quadraticSpeedDependentTorque.useSupport,quadraticSpeedDependentTorque.w,quadraticSpeedDependentTorque.w_nominal,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,time,torqueStep.flange.phi,torqueStep.flange.tau,torqueStep.offsetTorque,torqueStep.phi,torqueStep.startTime,torqueStep.stepTorque,torqueStep.tau,torqueStep.useSupport,wEngine,wLoad filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.diff.mat", vars={"brake.startForward", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.diff.ref.mat", vars={"brake.startForward", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,engine.phi,engine.w,load.phi,load.w,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:brake.a,brake.a_relfric,brake.cgeo,brake.f_normalized,brake.flange_a.phi,brake.flange_a.tau,brake.flange_b.phi,brake.flange_b.tau,brake.fn,brake.fn_max,brake.free,brake.locked,brake.lossPower,brake.mode,brake.mu0,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.phi,brake.sa,brake.startBackward,brake.startForward,brake.tau,brake.tau0,brake.tau0_max,brake.useHeatPort,brake.useSupport,brake.w,brake.w_relfric,brake.w_small,clutch.a_rel,clutch.a_relfric,clutch.cgeo,clutch.f_normalized,clutch.flange_a.phi,clutch.flange_a.tau,clutch.flange_b.phi,clutch.flange_b.tau,clutch.fn,clutch.fn_max,clutch.free,clutch.locked,clutch.lossPower,clutch.mode,clutch.mu0,clutch.mu_pos[1,1],clutch.mu_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const1.k,const1.y,der(brake.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(engine.phi),der(engine.w),der(load.w),der(quadraticSpeedDependentTorque.phi),engine.J,engine.a,engine.flange_a.phi,engine.flange_a.tau,engine.flange_b.phi,engine.flange_b.tau,engine.phi,engine.stateSelect,engine.w,feedback.u1,feedback.u2,feedback.y,gearRatio,idealPlanetary.carrier.phi,idealPlanetary.carrier.tau,idealPlanetary.ratio,idealPlanetary.ring.phi,idealPlanetary.ring.tau,idealPlanetary.sun.phi,idealPlanetary.sun.tau,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,quadraticSpeedDependentTorque.TorqueDirection,quadraticSpeedDependentTorque.flange.phi,quadraticSpeedDependentTorque.flange.tau,quadraticSpeedDependentTorque.phi,quadraticSpeedDependentTorque.tau,quadraticSpeedDependentTorque.tau_nominal,quadraticSpeedDependentTorque.useSupport,quadraticSpeedDependentTorque.w,quadraticSpeedDependentTorque.w_nominal,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,time,torqueStep.flange.phi,torqueStep.flange.tau,torqueStep.offsetTorque,torqueStep.phi,torqueStep.startTime,torqueStep.stepTorque,torqueStep.tau,torqueStep.useSupport,wEngine,wLoad filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.mat", vars={"brake.startForward", "brake.mode", "load.w", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.ref.mat", vars={"brake.startForward", "brake.mode", "load.w", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv --output-variables clutch.phi_rel clutch.w_rel engine.phi engine.w load.phi load.w brake.mode brake.startBackward brake.startForward clutch.mode clutch.startBackward clutch.startForward --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.613023011945188]