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.0009671/0.0009671, allocations: 115.2 kB / 20.44 MB, free: 4.586 MB / 13.93 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.0009897/0.0009897, allocations: 221.3 kB / 23.74 MB, free: 2.129 MB / 13.93 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.9413/0.9413, allocations: 231.1 MB / 258 MB, free: 8.93 MB / 202.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 0.002118/0.002118, allocations: 67.89 kB / 380.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2146, allocations: 53.56 MB / 433.8 MB, free: 2.449 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.002653/0.2173, allocations: 2.767 MB / 436.5 MB, free: 352 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2184, allocations: 1.011 MB / 437.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.2185, allocations: 8.969 kB / 437.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.2187, allocations: 74.83 kB / 437.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.219, allocations: 160 kB / 437.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.2192, allocations: 197.7 kB / 438 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.2196, allocations: 0.598 MB / 438.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.2198, allocations: 87.61 kB / 438.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.22, allocations: 266.8 kB / 438.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.2203, allocations: 269 kB / 439.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.272e-05/0.2203, allocations: 46.56 kB / 439.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2205, allocations: 96.3 kB / 439.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.2206, allocations: 133.2 kB / 439.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.2207, allocations: 201 kB / 439.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.2212, allocations: 0.5929 MB / 440.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2212, allocations: 0 / 440.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2212, allocations: 0 / 440.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2212, allocations: 5.156 kB / 440.2 MB, free: 13.74 MB / 346.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.0009153/0.2221, allocations: 0.7069 MB / 440.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2222, allocations: 12.5 kB / 441 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.2223, allocations: 85.53 kB / 441 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.2223, allocations: 46.25 kB / 441.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.2226, allocations: 274.4 kB / 441.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.2227, allocations: 29.5 kB / 441.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.2227, allocations: 37.34 kB / 441.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.2233, allocations: 443.9 kB / 441.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2233, allocations: 5.109 kB / 441.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.2233, allocations: 19.5 kB / 441.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2234, allocations: 8.5 kB / 441.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.224, allocations: 444.7 kB / 442.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.2255, allocations: 1.144 MB / 443.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.2261, allocations: 378.3 kB / 443.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.2264, allocations: 227.7 kB / 444.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.2264, allocations: 8.781 kB / 444.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2265, allocations: 38.22 kB / 444.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 1.943e-06/0.2265, allocations: 0 / 444.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.003354/0.2298, allocations: 1.96 MB / 446.1 MB, free: 9.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.2298, allocations: 59.84 kB / 446.1 MB, free: 9.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.23, allocations: 273.8 kB / 446.4 MB, free: 9.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.2301, allocations: 41.7 kB / 446.4 MB, free: 9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.2302, allocations: 176.9 kB / 446.6 MB, free: 8.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.2303, allocations: 198.4 kB / 446.8 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.2304, allocations: 98.28 kB / 446.9 MB, free: 8.523 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.2305, allocations: 342.8 kB / 447.2 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.2308, allocations: 221.2 kB / 447.4 MB, free: 7.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.2311, allocations: 292.1 kB / 447.7 MB, free: 7.664 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.2316, allocations: 402.7 kB / 448.1 MB, free: 7.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2316, allocations: 0 / 448.1 MB, free: 7.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009457/0.2325, allocations: 0.7143 MB / 448.8 MB, free: 6.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2325, allocations: 8 kB / 448.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.2325, allocations: 0 / 448.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006646/0.2332, allocations: 430.4 kB / 449.3 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.2333, allocations: 63.91 kB / 449.3 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.2354, allocations: 3.442 MB / 452.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.2356, allocations: 71.91 kB / 452.8 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.2357, allocations: 16.16 kB / 452.9 MB, free: 2.234 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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.0001416/0.2358, allocations: 169.8 kB / 453 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.2359, allocations: 39.7 kB / 453.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009502/0.2368, allocations: 0.7107 MB / 453.8 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2368, allocations: 4 kB / 453.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.2368, allocations: 0 / 453.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2368, allocations: 7.969 kB / 453.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.2382, allocations: 1.166 MB / 454.9 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2382, allocations: 4 kB / 455 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.2384, allocations: 63.94 kB / 455 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005536/0.2389, allocations: 398.4 kB / 455.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.239, allocations: 23.91 kB / 455.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.2406, allocations: 3.411 MB / 458.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2406, allocations: 384 / 458.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.2421, allocations: 1.019 MB / 459.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.2422, allocations: 83.72 kB / 459.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.2423, allocations: 23.94 kB / 460 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.2425, allocations: 71.91 kB / 460 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.2426, allocations: 96.3 kB / 460.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.2427, allocations: 23.98 kB / 460.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.2428, allocations: 189.2 kB / 460.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2428, allocations: 4 kB / 460.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.2431, allocations: 123.9 kB / 460.5 MB, free: 10.26 MB / 362.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.002163/0.2453, allocations: 1.835 MB / 462.3 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009322/0.2462, allocations: 0.7519 MB / 463 MB, free: 7.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2462, allocations: 0 / 463 MB, free: 7.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.2467, allocations: 0.5222 MB / 463.6 MB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.247, allocations: 76.52 kB / 463.6 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/0.2516, allocations: 4.29 MB / 467.9 MB, free: 2.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.2518, allocations: 208.8 kB / 468.1 MB, free: 2.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.994e-05/0.2519, allocations: 35.27 kB / 468.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.252, allocations: 119.4 kB / 468.3 MB, free: 2.309 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.252, allocations: 4 kB / 468.3 MB, free: 2.305 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08631/0.3383, allocations: 13.23 MB / 481.5 MB, free: 5.172 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/8.658, allocations: 18.62 kB / 481.5 MB, free: 5.164 MB / 378.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={"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-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_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", "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", "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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.31595017388463]