Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.001321/0.001321, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001393/0.001393, allocations: 157 kB / 23.94 MB, free: 0.625 MB / 18.57 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.8638/0.8638, allocations: 173.3 MB / 200.4 MB, free: 9.445 MB / 186.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.LossyGearDemo1,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 320 MB, free: 5.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.119e-05, allocations: 2.281 kB / 320 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.002367/0.002379, allocations: 2.277 MB / 322.3 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003552, allocations: 0.9401 MB / 323.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.003667, allocations: 7.938 kB / 323.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.003835, allocations: 47.56 kB / 323.3 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.004242, allocations: 174.8 kB / 323.4 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.004477, allocations: 187.6 kB / 323.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.004803, allocations: 482.3 kB / 324.1 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.004934, allocations: 65.11 kB / 324.1 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.005201, allocations: 283.4 kB / 324.4 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.005405, allocations: 211.5 kB / 324.6 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.005449, allocations: 40 kB / 324.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.005603, allocations: 123.8 kB / 324.8 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.525e-05/0.005699, allocations: 107.7 kB / 324.9 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.315e-05/0.005792, allocations: 135.6 kB / 325 MB, free: 432 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.006209, allocations: 0.5297 MB / 325.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.006211, allocations: 4 kB / 325.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006211, allocations: 0 / 325.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.006217, allocations: 0 / 325.6 MB, free: 15.89 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0008014/0.007018, allocations: 0.6065 MB / 326.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.007053, allocations: 8.922 kB / 326.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/0.007109, allocations: 66.73 kB / 326.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.007291, allocations: 56.67 kB / 326.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.007588, allocations: 257.1 kB / 326.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.346e-05/0.007682, allocations: 144 kB / 326.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.007727, allocations: 36.33 kB / 326.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.008236, allocations: 435.2 kB / 327.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.00825, allocations: 8.172 kB / 327.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.008277, allocations: 19.92 kB / 327.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.008284, allocations: 8 kB / 327.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.008867, allocations: 466.2 kB / 327.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.009894, allocations: 0.827 MB / 328.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.01056, allocations: 379 kB / 328.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.01093, allocations: 206.3 kB / 329 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.01096, allocations: 4.5 kB / 329 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.01098, allocations: 43.06 kB / 329.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 1.603e-06/0.01098, allocations: 4 kB / 329.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.003164/0.01414, allocations: 1.945 MB / 331 MB, free: 10.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.01418, allocations: 85.61 kB / 331.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.01438, allocations: 263.1 kB / 331.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.01441, allocations: 45.69 kB / 331.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.01447, allocations: 133.2 kB / 331.5 MB, free: 9.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.181e-05/0.01456, allocations: 186.4 kB / 331.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.932e-05/0.01466, allocations: 94.12 kB / 331.8 MB, free: 9.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.01473, allocations: 342.8 kB / 332.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.015, allocations: 192.9 kB / 332.3 MB, free: 8.824 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.01529, allocations: 273.6 kB / 332.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.01577, allocations: 399.6 kB / 333 MB, free: 8.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01577, allocations: 0 / 333 MB, free: 8.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007294/0.0165, allocations: 0.5926 MB / 333.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.01651, allocations: 4 kB / 333.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01651, allocations: 48 / 333.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/0.01695, allocations: 270.5 kB / 333.9 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.01713, allocations: 63.89 kB / 333.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.01974, allocations: 2.786 MB / 336.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.01989, allocations: 27.97 kB / 336.7 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.01992, allocations: 19.98 kB / 336.8 MB, free: 4.266 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 32 * 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.02004, allocations: 157.8 kB / 336.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.02008, allocations: 35.75 kB / 336.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.02013, allocations: 55.3 kB / 337 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02013, allocations: 7.984 kB / 337 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.02014, allocations: 0 / 337 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.02014, allocations: 3.984 kB / 337 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.02145, allocations: 1.161 MB / 338.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.02145, allocations: 0 / 338.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.02162, allocations: 63.95 kB / 338.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003641/0.02198, allocations: 241.2 kB / 338.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.02201, allocations: 19.92 kB / 338.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.02424, allocations: 2.691 MB / 341.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.02425, allocations: 7.922 kB / 341.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.02531, allocations: 0.9529 MB / 342.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.913e-05/0.02541, allocations: 71.78 kB / 342.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.02545, allocations: 12 kB / 342.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.02559, allocations: 32.09 kB / 342.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.02571, allocations: 76.3 kB / 342.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.02573, allocations: 16 kB / 342.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001358/0.02587, allocations: 196.6 kB / 342.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02587, allocations: 0 / 342.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003789/0.02624, allocations: 155.9 kB / 342.7 MB, free: 14.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (31): * Single equations (assignments): 30 * 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.001404/0.02765, allocations: 1.543 MB / 344.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008311/0.02848, allocations: 0.6912 MB / 344.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02848, allocations: 0 / 344.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004505/0.02893, allocations: 456.5 kB / 345.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.02921, allocations: 52.34 kB / 345.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.03291, allocations: 3.777 MB / 349.2 MB, free: 7.453 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.03304, allocations: 190.9 kB / 349.4 MB, free: 7.246 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.03317, allocations: 66.92 kB / 349.4 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.03329, allocations: 96.45 kB / 349.5 MB, free: 7.086 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03329, allocations: 0 / 349.5 MB, free: 7.086 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08243/0.1157, allocations: 11.12 MB / 360.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.086, allocations: 4.062 kB / 360.7 MB, free: 12.16 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.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.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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.LossyGearDemo1_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.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:DriveSine.amplitude,DriveSine.f,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,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,PowerLoss,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(der(gear.phi_b)),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),fixed.flange.phi,fixed.flange.tau,fixed.phi0,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.support.phi,gear.support.tau,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,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.diff.mat", vars={"gear.mode", "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/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.diff.ref.mat", vars={"gear.mode", "Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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.LossyGearDemo1_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.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:DriveSine.amplitude,DriveSine.f,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,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,PowerLoss,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(der(gear.phi_b)),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),fixed.flange.phi,fixed.flange.tau,fixed.phi0,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.support.phi,gear.support.tau,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,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.diff.mat", vars={"gear.mode", "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/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.diff.ref.mat", vars={"gear.mode", "Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv --output-variables Inertia2.phi Inertia2.w gear.mode --start-time 0 --stop-time 0.5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.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:time,Inertia2.phi,Inertia2.w,gear.mode filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.diff.mat", vars={"gear.mode", "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/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.diff.ref.mat", vars={"gear.mode", "Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 10.531535560265183]