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.001064/0.001064, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002452, allocations: 441.7 kB / 10.32 MB, free: 380 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.001037/0.001037, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002306, allocations: 467.5 kB / 11.66 MB, free: 2.504 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.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0795/1.137, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.513e-06/1.513e-06, allocations: 0 / 244.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.201e-05, allocations: 6.25 kB / 244.4 MB, free: 14.37 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.004444/0.004466, allocations: 2.986 MB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.006227, allocations: 1.06 MB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.006379, allocations: 7.938 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.006612, allocations: 91.17 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.006963, allocations: 162.8 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.007305, allocations: 183.7 kB / 248.9 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.007901, allocations: 0.6124 MB / 249.5 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.008079, allocations: 82.95 kB / 249.6 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004801/0.008559, allocations: 395.9 kB / 250 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.008902, allocations: 243.4 kB / 250.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.252e-05/0.008985, allocations: 48 kB / 250.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.009164, allocations: 99.92 kB / 250.4 MB, free: 8.395 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.009301, allocations: 87.73 kB / 250.5 MB, free: 8.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.009463, allocations: 123.8 kB / 250.6 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005284/0.009991, allocations: 410.6 kB / 251 MB, free: 7.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-05/0.01001, allocations: 0 / 251 MB, free: 7.785 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01001, allocations: 4 kB / 251 MB, free: 7.781 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.01002, allocations: 0 / 251 MB, free: 7.781 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.001233/0.01126, allocations: 0.7372 MB / 251.7 MB, free: 7.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.0113, allocations: 16.03 kB / 251.7 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.01143, allocations: 87.59 kB / 251.8 MB, free: 6.906 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.01155, allocations: 60.89 kB / 251.9 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.01193, allocations: 237.1 kB / 252.1 MB, free: 6.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.01197, allocations: 29.38 kB / 252.1 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.01204, allocations: 44.34 kB / 252.2 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.01258, allocations: 314.9 kB / 252.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.0126, allocations: 8.188 kB / 252.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.01264, allocations: 20.12 kB / 252.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.01265, allocations: 8 kB / 252.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.01305, allocations: 182.8 kB / 252.7 MB, free: 5.992 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.01484, allocations: 0.8492 MB / 253.6 MB, free: 5.105 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.01536, allocations: 232.2 kB / 253.8 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.01556, allocations: 106.3 kB / 253.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.0156, allocations: 12.5 kB / 253.9 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.01563, allocations: 39 kB / 253.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of pre-optimization done (n=50): time 2.144e-06/0.01563, allocations: 0 / 253.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.003169/0.0188, allocations: 1.291 MB / 255.2 MB, free: 3.352 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.01884, allocations: 59.91 kB / 255.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.01905, allocations: 250.6 kB / 255.5 MB, free: 3.023 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.0191, allocations: 45.7 kB / 255.6 MB, free: 2.973 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.01919, allocations: 152.9 kB / 255.7 MB, free: 2.816 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.01933, allocations: 202.3 kB / 255.9 MB, free: 2.617 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.01948, allocations: 102.2 kB / 256 MB, free: 2.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.01956, allocations: 350.7 kB / 256.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.01981, allocations: 85.27 kB / 256.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.01995, allocations: 148.1 kB / 256.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.02017, allocations: 245.7 kB / 256.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.02018, allocations: 0 / 256.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004818/0.02066, allocations: 384.9 kB / 257.2 MB, free: 1.262 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.02067, allocations: 12 kB / 257.2 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.02068, allocations: 0 / 257.2 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000477/0.02115, allocations: 310.3 kB / 257.5 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.0213, allocations: 75.91 kB / 257.6 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.02309, allocations: 3.033 MB / 260.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.02327, allocations: 51.94 kB / 260.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.02329, 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.0001248/0.02342, allocations: 161.2 kB / 260.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.02348, allocations: 39.97 kB / 260.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.02397, allocations: 408.9 kB / 261.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.02397, allocations: 4 kB / 261.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.02398, allocations: 8 kB / 261.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.02398, allocations: 0 / 261.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008439/0.02482, allocations: 0.7266 MB / 262 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02483, allocations: 0 / 262 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.02497, allocations: 59.91 kB / 262.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.02508, allocations: 59.72 kB / 262.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000417/0.02549, allocations: 306.3 kB / 262.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.02552, allocations: 15.98 kB / 262.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.02686, allocations: 3.036 MB / 265.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.02687, allocations: 12.22 kB / 265.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.02745, allocations: 0.5575 MB / 266.1 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.0275, allocations: 23.94 kB / 266.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.02767, allocations: 47.94 kB / 266.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.0278, allocations: 104.2 kB / 266.2 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.02783, allocations: 23.92 kB / 266.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.375e-05/0.02789, allocations: 82.77 kB / 266.3 MB, free: 7.559 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02789, allocations: 0 / 266.3 MB, free: 7.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.02815, allocations: 123.9 kB / 266.5 MB, free: 7.438 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.001544/0.0297, allocations: 1.113 MB / 267.6 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005518/0.03025, allocations: 0.5433 MB / 268.1 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.03025, allocations: 0 / 268.1 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.03058, allocations: 436.3 kB / 268.5 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.0003022/0.03088, allocations: 155.6 kB / 268.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.03331, allocations: 2.288 MB / 271 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.601e-05/0.03337, allocations: 122.2 kB / 271.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.208e-05/0.03346, allocations: 35.28 kB / 271.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.03367, allocations: 207.3 kB / 271.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03367, allocations: 0 / 271.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.03524/0.06891, allocations: 17 MB / 288.3 MB, free: 1.754 MB / 282.7 MB Notification: FMU-only work: backend 0.0005191, simCode 0.001062, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0624/0.1313, allocations: 1.415 MB / 289.8 MB, free: 276 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 3.117/3.248, allocations: 23.48 kB / 289.8 MB, free: 260 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.962985534220934]