Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 112.9 kB / 20.43 MB, free: 4.598 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 193.3 kB / 23.71 MB, free: 2.148 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8836/0.8836, allocations: 225.7 MB / 252.5 MB, free: 14.42 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 59.89 kB / 371.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2108, allocations: 52.19 MB / 424.1 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.002414/0.2132, allocations: 2.218 MB / 426.4 MB, free: 6.203 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2143, allocations: 0.8736 MB / 427.2 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2144, allocations: 8.062 kB / 427.2 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.2146, allocations: 44.25 kB / 427.3 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.2149, allocations: 137 kB / 427.4 MB, free: 5.512 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.2152, allocations: 175.7 kB / 427.6 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.2155, allocations: 419.5 kB / 428 MB, free: 5.246 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.2156, allocations: 54.77 kB / 428 MB, free: 5.215 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.2157, allocations: 182.8 kB / 428.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.216, allocations: 207.5 kB / 428.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/0.216, allocations: 37.31 kB / 428.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.2162, allocations: 116 kB / 428.6 MB, free: 5.047 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.716e-05/0.2163, allocations: 97.09 kB / 428.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.2164, allocations: 136.6 kB / 428.8 MB, free: 4.918 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.2168, allocations: 451.8 kB / 429.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2168, allocations: 0.6562 kB / 429.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2168, allocations: 5.531 kB / 429.2 MB, free: 4.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.2168, allocations: 0 / 429.2 MB, free: 4.746 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007341/0.2175, allocations: 0.5705 MB / 429.8 MB, free: 4.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2175, allocations: 9.031 kB / 429.8 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.2176, allocations: 68.44 kB / 429.9 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.2178, allocations: 56.28 kB / 430 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.218, allocations: 239.7 kB / 430.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.017e-05/0.2181, allocations: 144.7 kB / 430.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.2182, allocations: 29.56 kB / 430.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.2186, allocations: 409.1 kB / 430.8 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2186, allocations: 5.109 kB / 430.8 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.2186, allocations: 10.41 kB / 430.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2186, allocations: 6.812 kB / 430.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.2191, allocations: 412.5 kB / 431.2 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.2202, allocations: 1.108 MB / 432.3 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.2206, allocations: 340.9 kB / 432.6 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.2208, allocations: 164.8 kB / 432.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.2209, allocations: 7.75 kB / 432.8 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.2209, allocations: 40.62 kB / 432.8 MB, free: 2.254 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.413e-06/0.2209, allocations: 1.094 kB / 432.8 MB, free: 2.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.002497/0.2234, allocations: 1.687 MB / 434.5 MB, free: 1.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.2234, allocations: 86.17 kB / 434.6 MB, free: 1.184 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.2236, allocations: 241.1 kB / 434.8 MB, free: 1.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2236, allocations: 39.95 kB / 434.9 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.2236, allocations: 139 kB / 435 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.2237, allocations: 160.2 kB / 435.2 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.2238, allocations: 83.7 kB / 435.2 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.431e-05/0.2238, allocations: 332.5 kB / 435.6 MB, free: 328 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.224, allocations: 172.9 kB / 435.7 MB, free: 248 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.2242, allocations: 253.1 kB / 436 MB, free: 76 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.2247, allocations: 346.6 kB / 436.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2247, allocations: 0 / 436.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006842/0.2253, allocations: 0.539 MB / 436.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2253, allocations: 9.875 kB / 436.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2254, allocations: 5.047 kB / 436.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.2258, allocations: 247.3 kB / 437.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.2259, allocations: 52.19 kB / 437.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/0.2285, allocations: 2.754 MB / 439.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.2287, allocations: 28.23 kB / 440 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.2287, allocations: 16.98 kB / 440 MB, free: 13.26 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (gear.ideal,gear.mode,$PRE.gear.mode,gear.locked,gear.startBackward,gear.startForward,gear.tau_aPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.2288, allocations: 154.7 kB / 440.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.2289, allocations: 28.59 kB / 440.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.2289, allocations: 44.14 kB / 440.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2289, allocations: 9.094 kB / 440.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.2289, allocations: 0 / 440.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2289, allocations: 0 / 440.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.23, allocations: 0.9985 MB / 441.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.23, allocations: 0 / 441.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.2302, allocations: 45.75 kB / 441.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003653/0.2305, allocations: 233.6 kB / 441.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.2306, allocations: 19.02 kB / 441.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.2327, allocations: 2.707 MB / 444.2 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2327, allocations: 0 / 444.2 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008574/0.2336, allocations: 0.7963 MB / 445 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.799e-05/0.2337, allocations: 67.78 kB / 445.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.2337, allocations: 19.88 kB / 445.1 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.2338, allocations: 19.97 kB / 445.1 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-05/0.2339, allocations: 71.94 kB / 445.2 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2339, allocations: 15.98 kB / 445.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.2341, allocations: 176.4 kB / 445.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2341, allocations: 0 / 445.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000348/0.2344, allocations: 139.9 kB / 445.5 MB, free: 8.609 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 5 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode) * Number of discrete states: 1 (gear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.2355, allocations: 1.413 MB / 446.9 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008637/0.2364, allocations: 0.6016 MB / 447.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2364, allocations: 0 / 447.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.2368, allocations: 418.2 kB / 447.9 MB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.237, allocations: 43.45 kB / 448 MB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.2401, allocations: 3.428 MB / 451.4 MB, free: 2.547 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.2402, allocations: 175.8 kB / 451.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.2403, allocations: 58.95 kB / 451.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.561e-05/0.2404, allocations: 87.38 kB / 451.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2404, allocations: 0 / 451.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07934/0.3197, allocations: 9.866 MB / 461.6 MB, free: 8.527 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.651/8.97, allocations: 8 kB / 461.6 MB, free: 8.52 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,gear.mode Variables in the result:Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(gear.phi_a),gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y,time,torque1.flange.phi,torque1.flange.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.diff.mat", vars={"Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.diff.ref.mat", vars={"Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,gear.mode Variables in the result:Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(gear.phi_a),gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y,time,torque1.flange.phi,torque1.flange.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.diff.mat", vars={"Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.diff.ref.mat", vars={"Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy_res.csv --output-variables Inertia2.phi Inertia2.w gear.mode --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.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.44506627228111]