Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.001086/0.001086, allocations: 84.34 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009974/0.0009974, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.9469/0.9469, allocations: 177.4 MB / 204.5 MB, free: 5.305 MB / 186.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.LossyGearDemo1,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 326.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.156e-05, allocations: 4.953 kB / 326.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.003908/0.00393, allocations: 2.422 MB / 329.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.005611, allocations: 1.088 MB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.005717, allocations: 7.938 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.005956, allocations: 63.42 kB / 330.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.006286, allocations: 179.1 kB / 330.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.006551, allocations: 183.5 kB / 330.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.006931, allocations: 0.5334 MB / 331.3 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.00707, allocations: 64.84 kB / 331.3 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.007391, allocations: 319.4 kB / 331.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.007613, allocations: 231.5 kB / 331.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.007661, allocations: 40 kB / 331.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.007821, allocations: 139.8 kB / 332.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.007921, allocations: 115.7 kB / 332.2 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.008021, allocations: 151.6 kB / 332.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.00846, allocations: 0.588 MB / 332.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.008462, allocations: 0 / 332.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.008463, allocations: 0 / 332.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.008468, allocations: 0 / 332.9 MB, free: 8.145 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.0008285/0.009296, allocations: 0.6297 MB / 333.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.00933, allocations: 15.98 kB / 333.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.009387, allocations: 66.72 kB / 333.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.009613, allocations: 68.67 kB / 333.7 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.009922, allocations: 269.2 kB / 333.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.01003, allocations: 151.9 kB / 334.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.01007, allocations: 36.33 kB / 334.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.0106, allocations: 439.1 kB / 334.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.01061, allocations: 4.188 kB / 334.6 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.01064, allocations: 15.94 kB / 334.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.01064, allocations: 12 kB / 334.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006261/0.01127, allocations: 462.2 kB / 335 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.01235, allocations: 0.8541 MB / 335.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.0129, allocations: 357.2 kB / 336.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.01319, allocations: 206.4 kB / 336.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.01322, allocations: 12.44 kB / 336.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.01324, allocations: 39.06 kB / 336.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 1.392e-06/0.01324, allocations: 0 / 336.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.003322/0.01656, allocations: 1.922 MB / 338.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.01659, allocations: 85.61 kB / 338.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.0168, allocations: 269.8 kB / 338.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.01683, allocations: 41.69 kB / 338.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.0169, allocations: 141.2 kB / 338.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.01699, allocations: 198.3 kB / 339.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.01709, allocations: 90.17 kB / 339.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.01717, allocations: 342.8 kB / 339.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.01744, allocations: 192.9 kB / 339.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.01774, allocations: 265.7 kB / 340 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.01825, allocations: 383.5 kB / 340.4 MB, free: 372 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01825, allocations: 8.031 kB / 340.4 MB, free: 364 kB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009937/0.01924, allocations: 0.5926 MB / 341 MB, free: 15.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.01925, allocations: 7.938 kB / 341 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01926, allocations: 0 / 341 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004681/0.01973, allocations: 306.5 kB / 341.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.0199, allocations: 79.81 kB / 341.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.02231, allocations: 2.782 MB / 344.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.02246, allocations: 27.97 kB / 344.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.02249, allocations: 19.98 kB / 344.2 MB, free: 12.43 MB / 314.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.0001227/0.02261, allocations: 157.8 kB / 344.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.02267, allocations: 43.8 kB / 344.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.02271, allocations: 47.62 kB / 344.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.02271, allocations: 4 kB / 344.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.02271, allocations: 0 / 344.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.02272, allocations: 3.984 kB / 344.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.02405, allocations: 1.185 MB / 345.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.02405, allocations: 4.031 kB / 345.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.02422, allocations: 63.89 kB / 345.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.02462, allocations: 292.6 kB / 346 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.02465, allocations: 15.98 kB / 346 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/0.0271, allocations: 2.698 MB / 348.7 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.0271, allocations: 11.94 kB / 348.7 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.02824, allocations: 0.945 MB / 349.7 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.02835, allocations: 79.75 kB / 349.7 MB, free: 6.684 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.02838, allocations: 12 kB / 349.7 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.02853, allocations: 31.97 kB / 349.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.02866, allocations: 76.36 kB / 349.8 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.02868, allocations: 23.98 kB / 349.9 MB, free: 6.543 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.02883, allocations: 201.2 kB / 350.1 MB, free: 6.344 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02883, allocations: 0 / 350.1 MB, free: 6.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004062/0.02924, allocations: 147.9 kB / 350.2 MB, free: 6.199 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.002161/0.0314, allocations: 1.802 MB / 352 MB, free: 4.492 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008838/0.03229, allocations: 0.664 MB / 352.7 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.03229, allocations: 0 / 352.7 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.03276, allocations: 468.5 kB / 353.1 MB, free: 3.344 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.03305, allocations: 48.08 kB / 353.2 MB, free: 3.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.0371, allocations: 3.756 MB / 356.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.03723, allocations: 194.8 kB / 357.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.03738, allocations: 74.91 kB / 357.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.03752, allocations: 112.4 kB / 357.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03752, allocations: 4 kB / 357.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07852/0.116, allocations: 11.84 MB / 369.2 MB, free: 3.262 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.137, allocations: 11.27 kB / 369.2 MB, free: 3.254 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.continuous,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.smoothness,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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.continuous,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.smoothness,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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.716406950727105]