Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 110.9 kB / 20.43 MB, free: 4.594 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.001451/0.001451, allocations: 213.5 kB / 23.73 MB, free: 2.129 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9228/0.9228, allocations: 230.6 MB / 257.5 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 55.91 kB / 379.3 MB, free: 452 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.219, allocations: 53.37 MB / 432.6 MB, free: 3.191 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.002947/0.2219, allocations: 2.766 MB / 435.4 MB, free: 1.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.2229, allocations: 1.016 MB / 436.4 MB, free: 292 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.223, allocations: 8 kB / 436.4 MB, free: 288 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.2233, allocations: 79.64 kB / 436.5 MB, free: 220 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.2235, allocations: 163 kB / 436.7 MB, free: 88 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.2238, allocations: 191.2 kB / 436.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.2242, allocations: 0.5981 MB / 437.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.2244, allocations: 86.61 kB / 437.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.2246, allocations: 270.2 kB / 437.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.2248, allocations: 265.3 kB / 438.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.2249, allocations: 47.62 kB / 438.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.225, allocations: 104.5 kB / 438.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.2252, allocations: 128.8 kB / 438.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.2253, allocations: 197.1 kB / 438.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.2258, allocations: 0.5921 MB / 439.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2258, allocations: 1.469 kB / 439.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2258, allocations: 0 / 439.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.2258, allocations: 4 kB / 439.1 MB, free: 14.48 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.0009425/0.2267, allocations: 0.707 MB / 439.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2268, allocations: 17.34 kB / 439.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.2269, allocations: 80.77 kB / 439.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.227, allocations: 50.17 kB / 440 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.2273, allocations: 259.3 kB / 440.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.2273, allocations: 28.78 kB / 440.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.2274, allocations: 40.94 kB / 440.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.228, allocations: 447.6 kB / 440.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.228, allocations: 2.688 kB / 440.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.228, allocations: 18.47 kB / 440.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.228, allocations: 9.344 kB / 440.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.2286, allocations: 447.6 kB / 441.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.2304, allocations: 1.133 MB / 442.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.231, allocations: 378.1 kB / 442.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.2313, allocations: 227 kB / 442.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.2314, allocations: 5.75 kB / 442.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.2314, allocations: 42.72 kB / 443 MB, free: 11.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 2.505e-06/0.2314, allocations: 0 / 443 MB, free: 11.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.003135/0.2345, allocations: 1.961 MB / 444.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.2346, allocations: 59.84 kB / 445 MB, free: 10.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.2348, allocations: 269.8 kB / 445.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.2348, allocations: 41.7 kB / 445.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.2349, allocations: 176.9 kB / 445.5 MB, free: 9.945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.235, allocations: 190.5 kB / 445.7 MB, free: 9.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.2351, allocations: 102.3 kB / 445.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.2352, allocations: 346.8 kB / 446.1 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.2355, allocations: 221.2 kB / 446.3 MB, free: 9.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.2358, allocations: 292 kB / 446.6 MB, free: 8.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.2363, allocations: 402.7 kB / 447 MB, free: 8.375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2363, allocations: 0 / 447 MB, free: 8.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009447/0.2372, allocations: 0.7221 MB / 447.7 MB, free: 7.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2372, allocations: 4 kB / 447.7 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2372, allocations: 4 kB / 447.7 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006561/0.2379, allocations: 426.4 kB / 448.1 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.238, allocations: 71.89 kB / 448.2 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.2401, allocations: 3.431 MB / 451.6 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.2404, allocations: 79.89 kB / 451.7 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.2404, allocations: 24.2 kB / 451.7 MB, free: 3.344 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.0001417/0.2405, allocations: 166.4 kB / 451.9 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.2406, allocations: 43.7 kB / 451.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009474/0.2415, allocations: 0.7068 MB / 452.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2415, allocations: 8 kB / 452.7 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2415, allocations: 0 / 452.7 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2415, allocations: 0 / 452.7 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.2429, allocations: 1.178 MB / 453.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2429, allocations: 12 kB / 453.9 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.2431, allocations: 47.97 kB / 453.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005509/0.2436, allocations: 401.5 kB / 454.3 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.2437, allocations: 27.91 kB / 454.3 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.2456, allocations: 3.399 MB / 457.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2456, allocations: 384 / 457.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.2468, allocations: 1.015 MB / 458.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.247, allocations: 83.73 kB / 458.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.247, allocations: 27.92 kB / 458.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.2472, allocations: 71.91 kB / 458.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.2474, allocations: 92.31 kB / 459 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.2474, allocations: 23.97 kB / 459 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.2475, allocations: 189.2 kB / 459.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2475, allocations: 0 / 459.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.2479, allocations: 127.9 kB / 459.3 MB, free: 11.39 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.002193/0.25, allocations: 1.865 MB / 461.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009488/0.251, allocations: 0.7558 MB / 462 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.251, allocations: 0 / 462 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004814/0.2515, allocations: 0.5067 MB / 462.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.2518, allocations: 76.17 kB / 462.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.2564, allocations: 4.291 MB / 466.8 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.2565, allocations: 208.8 kB / 467 MB, free: 3.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.878e-05/0.2566, allocations: 39.2 kB / 467.1 MB, free: 3.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.2568, allocations: 119.4 kB / 467.2 MB, free: 3.453 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2568, allocations: 4 kB / 467.2 MB, free: 3.449 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/0.3434, allocations: 13.23 MB / 480.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.523, allocations: 15.88 kB / 480.4 MB, free: 6.332 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,engine.phi,engine.w,load.phi,load.w,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:brake.a,brake.a_relfric,brake.cgeo,brake.f_normalized,brake.flange_a.phi,brake.flange_a.tau,brake.flange_b.phi,brake.flange_b.tau,brake.fn,brake.fn_max,brake.free,brake.locked,brake.lossPower,brake.mode,brake.mu,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.phi,brake.sa,brake.smoothness,brake.startBackward,brake.startForward,brake.tau,brake.tau0,brake.tau0_max,brake.useHeatPort,brake.useSupport,brake.w,brake.w_relfric,brake.w_small,clutch.a_rel,clutch.a_relfric,clutch.cgeo,clutch.f_normalized,clutch.flange_a.phi,clutch.flange_a.tau,clutch.flange_b.phi,clutch.flange_b.tau,clutch.fn,clutch.fn_max,clutch.free,clutch.locked,clutch.lossPower,clutch.mode,clutch.mu,clutch.mu_pos[1,1],clutch.mu_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.smoothness,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const1.k,const1.y,der(brake.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(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_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.mat", vars={"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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv --output-variables clutch.phi_rel clutch.w_rel engine.phi engine.w load.phi load.w brake.mode brake.startBackward brake.startForward clutch.mode clutch.startBackward clutch.startForward --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.150631452910602]