Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 84.34 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9037/0.9037, allocations: 177.4 MB / 204.5 MB, free: 5.305 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 326.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.526e-06/9.688e-06, allocations: 4.812 kB / 326.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.002586/0.002596, allocations: 2.788 MB / 329.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.003679, allocations: 1.017 MB / 330.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.003794, allocations: 4 kB / 330.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.004015, allocations: 83.22 kB / 330.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.004259, allocations: 166.8 kB / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.004484, allocations: 199.6 kB / 331.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.004855, allocations: 0.6123 MB / 331.7 MB, free: 9.375 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.005001, allocations: 75.03 kB / 331.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.005271, allocations: 359.3 kB / 332.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.005492, allocations: 247.3 kB / 332.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/0.005546, allocations: 52 kB / 332.4 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.005664, allocations: 95.92 kB / 332.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.005779, allocations: 131.6 kB / 332.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.005891, allocations: 167.6 kB / 332.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.00633, allocations: 0.6231 MB / 333.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.006332, allocations: 0 / 333.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.006332, allocations: 0 / 333.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.006338, allocations: 0 / 333.4 MB, free: 7.641 MB / 298.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.0008623/0.0072, allocations: 0.7077 MB / 334.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.007232, allocations: 11.98 kB / 334.1 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.623e-05/0.007328, allocations: 87.61 kB / 334.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.007394, allocations: 44.66 kB / 334.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.007676, allocations: 276.5 kB / 334.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.0077, allocations: 29.38 kB / 334.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.007747, allocations: 36.38 kB / 334.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.008281, allocations: 438.9 kB / 335 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.008296, allocations: 8.141 kB / 335 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.008328, allocations: 20.11 kB / 335 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.008335, allocations: 12 kB / 335 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005966/0.008931, allocations: 447.7 kB / 335.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.01034, allocations: 1.132 MB / 336.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.01091, allocations: 389 kB / 337 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.01121, allocations: 226.2 kB / 337.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.01124, allocations: 4.5 kB / 337.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.01126, allocations: 39.06 kB / 337.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.513e-06/0.01126, allocations: 3.938 kB / 337.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.00308/0.01434, allocations: 1.961 MB / 339.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.01437, allocations: 63.78 kB / 339.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.0146, allocations: 269.9 kB / 339.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.01465, allocations: 49.69 kB / 339.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01475, allocations: 176.9 kB / 339.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.0149, allocations: 186.4 kB / 340 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.01504, allocations: 94.33 kB / 340 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.01513, allocations: 346.8 kB / 340.4 MB, free: 400 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.01543, allocations: 221.2 kB / 340.6 MB, free: 180 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.01576, allocations: 284.1 kB / 340.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/0.01625, allocations: 403 kB / 341.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01625, allocations: 0 / 341.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009445/0.0172, allocations: 0.7261 MB / 342 MB, free: 14.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.01721, allocations: 4 kB / 342 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01722, allocations: 4 kB / 342 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/0.01785, allocations: 422.2 kB / 342.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.018, allocations: 71.89 kB / 342.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.01986, allocations: 3.436 MB / 345.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.02011, allocations: 75.88 kB / 346 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.02013, allocations: 19.98 kB / 346 MB, free: 10.44 MB / 314.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.000138/0.02027, allocations: 171.3 kB / 346.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.02032, allocations: 39.77 kB / 346.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009249/0.02125, allocations: 0.7068 MB / 346.9 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.02125, allocations: 7.938 kB / 346.9 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.02125, allocations: 8 kB / 346.9 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.02126, allocations: 0 / 346.9 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.02271, allocations: 1.163 MB / 348.1 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.02271, allocations: 4 kB / 348.1 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.02286, allocations: 59.91 kB / 348.2 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005468/0.0234, allocations: 406.2 kB / 348.6 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.02343, allocations: 19.97 kB / 348.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.02524, allocations: 3.399 MB / 352 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02524, allocations: 7.922 kB / 352 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.02643, allocations: 1.008 MB / 353 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.02655, allocations: 87.67 kB / 353.1 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.0266, allocations: 19.98 kB / 353.1 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.02683, allocations: 71.91 kB / 353.2 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.02696, allocations: 96.25 kB / 353.3 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.02699, allocations: 23.97 kB / 353.3 MB, free: 2.789 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.02711, allocations: 197.2 kB / 353.5 MB, free: 2.598 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02711, allocations: 0 / 353.5 MB, free: 2.598 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.02739, allocations: 123.9 kB / 353.6 MB, free: 2.477 MB / 314.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.002048/0.02944, allocations: 1.853 MB / 355.5 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009008/0.03034, allocations: 0.7558 MB / 356.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.03034, allocations: 0 / 356.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.03081, allocations: 0.5106 MB / 356.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.03114, allocations: 79.75 kB / 356.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/0.03561, allocations: 4.224 MB / 361 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.03573, allocations: 208.8 kB / 361.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.112e-05/0.03581, allocations: 27.3 kB / 361.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.03593, allocations: 128.4 kB / 361.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03593, allocations: 4 kB / 361.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07934/0.1153, allocations: 13.38 MB / 374.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/8.472, allocations: 7.938 kB / 374.8 MB, free: 13.29 MB / 346.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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(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_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.diff.mat", vars={"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.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.diff.ref.mat", vars={"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_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,engine.phi,engine.w,load.phi,load.w,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:brake.a,brake.a_relfric,brake.cgeo,brake.f_normalized,brake.flange_a.phi,brake.flange_a.tau,brake.flange_b.phi,brake.flange_b.tau,brake.fn,brake.fn_max,brake.free,brake.locked,brake.lossPower,brake.mode,brake.mu,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.phi,brake.sa,brake.smoothness,brake.startBackward,brake.startForward,brake.tau,brake.tau0,brake.tau0_max,brake.useHeatPort,brake.useSupport,brake.w,brake.w_relfric,brake.w_small,clutch.a_rel,clutch.a_relfric,clutch.cgeo,clutch.f_normalized,clutch.flange_a.phi,clutch.flange_a.tau,clutch.flange_b.phi,clutch.flange_b.tau,clutch.fn,clutch.fn_max,clutch.free,clutch.locked,clutch.lossPower,clutch.mode,clutch.mu,clutch.mu_pos[1,1],clutch.mu_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.smoothness,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const1.k,const1.y,der(brake.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(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_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.mat", vars={"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.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.ref.mat", vars={"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_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv --output-variables clutch.phi_rel clutch.w_rel engine.phi engine.w load.phi load.w brake.mode brake.startBackward brake.startForward clutch.mode clutch.startBackward clutch.startForward --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,engine.phi,engine.w,load.phi,load.w,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:time,clutch.phi_rel,clutch.w_rel,load.w,engine.phi,engine.w,load.phi,brake.mode,clutch.mode,brake.startBackward,brake.startForward,clutch.startBackward,clutch.startForward filterSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.diff.mat", vars={"clutch.mode", "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.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.diff.ref.mat", vars={"clutch.mode", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 11.00678827892989]