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.0007127/0.0007127, allocations: 76.47 kB / 9.889 MB, free: 0.8047 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001739, allocations: 441.7 kB / 10.32 MB, free: 384 kB / 10.45 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.0006653/0.0006653, allocations: 136.9 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009649/0.00163, allocations: 463.6 kB / 11.65 MB, free: 2.527 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 0.9448/0.9448, allocations: 173.4 MB / 185.7 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0808/1.026, allocations: 52.51 MB / 238.3 MB, free: 4.426 MB / 234.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+3.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+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 239.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.389e-05, allocations: 2.312 kB / 239.5 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.004112/0.004126, allocations: 2.843 MB / 242.3 MB, free: 376 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.005893, allocations: 0.8918 MB / 243.2 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.006078, allocations: 7.938 kB / 243.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.006252, allocations: 71.38 kB / 243.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.006523, allocations: 111 kB / 243.4 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.007059, allocations: 215.5 kB / 243.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006313/0.007691, allocations: 0.5693 MB / 244.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.007879, allocations: 91.02 kB / 244.2 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005007/0.00838, allocations: 367.1 kB / 244.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.008718, allocations: 223.5 kB / 244.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.008793, allocations: 48 kB / 244.9 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.009005, allocations: 103.9 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.009107, allocations: 79.75 kB / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.009268, allocations: 119.8 kB / 245.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005057/0.009773, allocations: 358.8 kB / 245.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.676e-05/0.00979, allocations: 0 / 245.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.009791, allocations: 0 / 245.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.009808, allocations: 4 kB / 245.5 MB, free: 13.12 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001164/0.01097, allocations: 0.7024 MB / 246.2 MB, free: 12.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.01101, allocations: 8.031 kB / 246.2 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.01114, allocations: 79.66 kB / 246.3 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.01125, allocations: 60.89 kB / 246.4 MB, free: 12.24 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.01159, allocations: 220.5 kB / 246.6 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.01163, allocations: 29.38 kB / 246.6 MB, free: 11.97 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.01169, allocations: 36.38 kB / 246.7 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.01226, allocations: 327.6 kB / 247 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.01228, allocations: 12.12 kB / 247 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.01232, allocations: 16.12 kB / 247 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.01233, allocations: 12 kB / 247 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.01262, allocations: 186.8 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.01376, allocations: 0.8323 MB / 248 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.01407, allocations: 215 kB / 248.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.01419, allocations: 121.2 kB / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.01422, allocations: 9.125 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.01424, allocations: 38.56 kB / 248.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.443e-06/0.01424, allocations: 0 / 248.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.001932/0.01618, allocations: 1.263 MB / 249.7 MB, free: 8.789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.0162, allocations: 59.91 kB / 249.7 MB, free: 8.719 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.01633, allocations: 229 kB / 249.9 MB, free: 8.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.01636, allocations: 45.69 kB / 250 MB, free: 8.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.01642, allocations: 164.8 kB / 250.1 MB, free: 8.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/0.01651, allocations: 170.5 kB / 250.3 MB, free: 8.098 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.01661, allocations: 98.23 kB / 250.4 MB, free: 7.996 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.01669, allocations: 346.8 kB / 250.8 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.01682, allocations: 93.27 kB / 250.8 MB, free: 7.559 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.01696, allocations: 160.1 kB / 251 MB, free: 7.383 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.01718, allocations: 254.8 kB / 251.2 MB, free: 7.117 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01719, allocations: 0 / 251.2 MB, free: 7.117 MB / 250.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004877/0.01767, allocations: 404.8 kB / 251.6 MB, free: 6.703 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.01769, allocations: 8 kB / 251.7 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01769, allocations: 0 / 251.7 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/0.01824, allocations: 450.2 kB / 252.1 MB, free: 6.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.0184, allocations: 83.84 kB / 252.2 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.01982, allocations: 3.077 MB / 255.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.01999, allocations: 51.94 kB / 255.3 MB, free: 2.812 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.02002, allocations: 15.94 kB / 255.3 MB, free: 2.797 MB / 250.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.0001076/0.02013, allocations: 148.7 kB / 255.5 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.02018, allocations: 39.97 kB / 255.5 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.02066, allocations: 408.8 kB / 255.9 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.02066, allocations: 4 kB / 255.9 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.02066, allocations: 7.938 kB / 255.9 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02067, allocations: 7.984 kB / 255.9 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.02146, allocations: 0.7176 MB / 256.6 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.02146, allocations: 0 / 256.6 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.0216, allocations: 63.91 kB / 256.7 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.02169, allocations: 51.72 kB / 256.7 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.02218, allocations: 446.2 kB / 257.2 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.02221, allocations: 11.98 kB / 257.2 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.02353, allocations: 3.055 MB / 260.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.02353, allocations: 3.938 kB / 260.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.02411, allocations: 0.5756 MB / 260.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.02415, allocations: 15.94 kB / 260.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.02432, allocations: 51.94 kB / 260.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.02444, allocations: 92.34 kB / 261 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.02447, allocations: 23.97 kB / 261 MB, free: 12.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.532e-05/0.02452, allocations: 74.78 kB / 261.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02452, allocations: 0 / 261.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.02479, allocations: 120 kB / 261.2 MB, free: 12.58 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003951/0.02519, allocations: 0.729 MB / 261.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005464/0.02573, allocations: 0.5433 MB / 262.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.02574, allocations: 4 kB / 262.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.02606, allocations: 444.3 kB / 262.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.02634, allocations: 115.3 kB / 263 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.02877, allocations: 2.292 MB / 265.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.379e-05/0.02884, allocations: 113.2 kB / 265.4 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.196e-05/0.02892, allocations: 31.3 kB / 265.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.02912, allocations: 195.3 kB / 265.6 MB, free: 7.953 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02912, allocations: 0 / 265.6 MB, free: 7.953 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.2561/0.2852, allocations: 16.73 MB / 282.4 MB, free: 26.23 MB / 266.7 MB Notification: FMU-only work: backend 0.0002523, simCode 0.001152, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09389/0.3791, allocations: 1.328 MB / 283.7 MB, free: 24.87 MB / 266.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.214/3.593, allocations: 19.78 kB / 283.7 MB, free: 24.86 MB / 266.7 MB " [Timeout remaining time 656] (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] Reference file matches (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(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.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={"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.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={"load.w", "engine.w", "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 (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.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_0_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.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.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: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.0.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.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_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"brake.mode"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 6.182325780391693]