Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009546/0.0009546, allocations: 119.3 kB / 21.19 MB, free: 4.391 MB / 13.93 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.002138/0.002138, allocations: 217.5 kB / 24.48 MB, free: 1.391 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9769/0.9769, allocations: 207.7 MB / 235.3 MB, free: 4.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 62.11 kB / 348.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1767, allocations: 49.16 MB / 397.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.002981/0.1797, allocations: 2.644 MB / 400.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1809, allocations: 0.9044 MB / 401.4 MB, free: 9.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1811, allocations: 7.938 kB / 401.4 MB, free: 9.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.1812, allocations: 63.39 kB / 401.5 MB, free: 9.891 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1814, allocations: 111.1 kB / 401.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.1818, allocations: 223.6 kB / 401.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000368/0.1822, allocations: 0.5656 MB / 402.4 MB, free: 8.996 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.1824, allocations: 74.97 kB / 402.5 MB, free: 8.918 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.1826, allocations: 255.2 kB / 402.7 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.1828, allocations: 251 kB / 403 MB, free: 8.422 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.1828, allocations: 44 kB / 403 MB, free: 8.379 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.183, allocations: 99.95 kB / 403.1 MB, free: 8.281 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1831, allocations: 127.6 kB / 403.2 MB, free: 8.156 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1832, allocations: 183.2 kB / 403.4 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.1836, allocations: 0.5357 MB / 403.9 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1836, allocations: 0 / 403.9 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1836, allocations: 0 / 403.9 MB, free: 7.441 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1836, allocations: 0 / 403.9 MB, free: 7.441 MB / 314.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.0008503/0.1845, allocations: 0.6689 MB / 404.6 MB, free: 6.738 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1845, allocations: 15.92 kB / 404.6 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.899e-05/0.1846, allocations: 83.66 kB / 404.7 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.1847, allocations: 48.66 kB / 404.8 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.185, allocations: 252.9 kB / 405 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.185, allocations: 25.38 kB / 405 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.1851, allocations: 40.33 kB / 405.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/0.1859, allocations: 446.4 kB / 405.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.1859, allocations: 4 kB / 405.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.1859, allocations: 12 kB / 405.5 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1859, allocations: 12 kB / 405.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005944/0.1865, allocations: 459.7 kB / 406 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.188, allocations: 1.113 MB / 407.1 MB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.1885, allocations: 357 kB / 407.4 MB, free: 3.801 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.1888, allocations: 229.5 kB / 407.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.1888, allocations: 8.359 kB / 407.7 MB, free: 3.566 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1888, allocations: 38.88 kB / 407.7 MB, free: 3.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.1888, allocations: 0 / 407.7 MB, free: 3.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002975/0.1918, allocations: 1.961 MB / 409.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1918, allocations: 59.84 kB / 409.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.192, allocations: 249.8 kB / 410 MB, free: 1.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.192, allocations: 45.7 kB / 410 MB, free: 1.125 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.1921, allocations: 168.9 kB / 410.2 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.1922, allocations: 182.5 kB / 410.4 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.1923, allocations: 98.28 kB / 410.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.1924, allocations: 346.8 kB / 410.8 MB, free: 332 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.1927, allocations: 237.2 kB / 411 MB, free: 92 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.1931, allocations: 300.1 kB / 411.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.1935, allocations: 422.7 kB / 411.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1935, allocations: 0 / 411.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000943/0.1945, allocations: 0.7418 MB / 412.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1945, allocations: 4 kB / 412.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1945, allocations: 12.12 kB / 412.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009369/0.1954, allocations: 0.5451 MB / 413 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.1956, allocations: 71.91 kB / 413.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.1974, allocations: 3.446 MB / 416.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.1976, allocations: 76.25 kB / 416.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.1977, allocations: 23.98 kB / 416.7 MB, free: 10.15 MB / 330.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.0001386/0.1978, allocations: 162.3 kB / 416.8 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.1979, allocations: 35.75 kB / 416.9 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009033/0.1988, allocations: 0.7131 MB / 417.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1988, allocations: 7.938 kB / 417.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1988, allocations: 3.984 kB / 417.6 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1988, allocations: 0 / 417.6 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.2001, allocations: 1.16 MB / 418.7 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2001, allocations: 4 kB / 418.7 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.2003, allocations: 59.91 kB / 418.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005948/0.2008, allocations: 0.5293 MB / 419.3 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.2009, allocations: 15.98 kB / 419.3 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.2028, allocations: 3.407 MB / 422.8 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2028, allocations: 3.984 kB / 422.8 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.204, allocations: 1.033 MB / 423.8 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.2041, allocations: 79.73 kB / 423.9 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.2041, allocations: 27.88 kB / 423.9 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.2044, allocations: 67.91 kB / 424 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.2045, allocations: 96.25 kB / 424.1 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.2045, allocations: 23.97 kB / 424.1 MB, free: 2.355 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.2046, allocations: 173.2 kB / 424.2 MB, free: 2.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2046, allocations: 0 / 424.2 MB, free: 2.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000328/0.205, allocations: 128 kB / 424.4 MB, free: 2.059 MB / 330.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.001437/0.2064, allocations: 1.596 MB / 426 MB, free: 432 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009486/0.2073, allocations: 0.7705 MB / 426.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2073, allocations: 0 / 426.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007656/0.2081, allocations: 0.5135 MB / 427.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.2085, allocations: 64.47 kB / 427.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.213, allocations: 4.359 MB / 431.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2131, allocations: 199.2 kB / 431.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.62e-05/0.2132, allocations: 35.28 kB / 431.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2133, allocations: 107.4 kB / 432 MB, free: 10.19 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2133, allocations: 3.938 kB / 432 MB, free: 10.19 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09342/0.3067, allocations: 12.68 MB / 444.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.492, allocations: 3.984 kB / 444.7 MB, free: 13.43 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.mue0,brake.mue_pos[1,1],brake.mue_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.mue0,clutch.mue_pos[1,1],clutch.mue_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const1.k,const1.y,der(brake.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(engine.phi),der(engine.w),der(load.w),der(quadraticSpeedDependentTorque.phi),engine.J,engine.a,engine.flange_a.phi,engine.flange_a.tau,engine.flange_b.phi,engine.flange_b.tau,engine.phi,engine.stateSelect,engine.w,feedback.u1,feedback.u2,feedback.y,gearRatio,idealPlanetary.carrier.phi,idealPlanetary.carrier.tau,idealPlanetary.ratio,idealPlanetary.ring.phi,idealPlanetary.ring.tau,idealPlanetary.sun.phi,idealPlanetary.sun.tau,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,quadraticSpeedDependentTorque.TorqueDirection,quadraticSpeedDependentTorque.flange.phi,quadraticSpeedDependentTorque.flange.tau,quadraticSpeedDependentTorque.phi,quadraticSpeedDependentTorque.tau,quadraticSpeedDependentTorque.tau_nominal,quadraticSpeedDependentTorque.useSupport,quadraticSpeedDependentTorque.w,quadraticSpeedDependentTorque.w_nominal,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,time,torqueStep.flange.phi,torqueStep.flange.tau,torqueStep.offsetTorque,torqueStep.phi,torqueStep.startTime,torqueStep.stepTorque,torqueStep.tau,torqueStep.useSupport,wEngine,wLoad filterSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.diff.mat", vars={"brake.startForward", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.diff.ref.mat", vars={"brake.startForward", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.mue0,brake.mue_pos[1,1],brake.mue_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.mue0,clutch.mue_pos[1,1],clutch.mue_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const1.k,const1.y,der(brake.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(engine.phi),der(engine.w),der(load.w),der(quadraticSpeedDependentTorque.phi),engine.J,engine.a,engine.flange_a.phi,engine.flange_a.tau,engine.flange_b.phi,engine.flange_b.tau,engine.phi,engine.stateSelect,engine.w,feedback.u1,feedback.u2,feedback.y,gearRatio,idealPlanetary.carrier.phi,idealPlanetary.carrier.tau,idealPlanetary.ratio,idealPlanetary.ring.phi,idealPlanetary.ring.tau,idealPlanetary.sun.phi,idealPlanetary.sun.tau,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,quadraticSpeedDependentTorque.TorqueDirection,quadraticSpeedDependentTorque.flange.phi,quadraticSpeedDependentTorque.flange.tau,quadraticSpeedDependentTorque.phi,quadraticSpeedDependentTorque.tau,quadraticSpeedDependentTorque.tau_nominal,quadraticSpeedDependentTorque.useSupport,quadraticSpeedDependentTorque.w,quadraticSpeedDependentTorque.w_nominal,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,time,torqueStep.flange.phi,torqueStep.flange.tau,torqueStep.offsetTorque,torqueStep.phi,torqueStep.startTime,torqueStep.stepTorque,torqueStep.tau,torqueStep.useSupport,wEngine,wLoad filterSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.mat", vars={"brake.startForward", "brake.mode", "load.w", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.ref.mat", vars={"brake.startForward", "brake.mode", "load.w", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.136550636030734]