Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.0009761/0.0009761, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009774/0.0009774, allocations: 166 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.8647/0.8647, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.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.LossyGearDemo1,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 326.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.798e-06/1.103e-05, allocations: 2.281 kB / 326.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.002327/0.002338, allocations: 2.417 MB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.003744, allocations: 1.084 MB / 329.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.989e-05/0.003844, allocations: 7.938 kB / 329.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.004061, allocations: 67.42 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.004372, allocations: 183.8 kB / 329.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.00461, allocations: 183.6 kB / 330.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.00497, allocations: 0.5295 MB / 330.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.0051, allocations: 64.8 kB / 330.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.005511, allocations: 315.4 kB / 331 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.005772, allocations: 231.5 kB / 331.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.005822, allocations: 44 kB / 331.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.005985, allocations: 139.8 kB / 331.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-05/0.006079, allocations: 119.6 kB / 331.5 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.777e-05/0.006177, allocations: 147.6 kB / 331.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.006598, allocations: 0.588 MB / 332.2 MB, free: 8.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.006602, allocations: 4 kB / 332.2 MB, free: 8.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006602, allocations: 0 / 332.2 MB, free: 8.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.006607, allocations: 0 / 332.2 MB, free: 8.992 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.0008065/0.007413, allocations: 0.6336 MB / 332.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.007447, allocations: 12.03 kB / 332.9 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/0.007504, allocations: 66.72 kB / 332.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.007734, allocations: 68.67 kB / 333 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.008037, allocations: 269.2 kB / 333.3 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-05/0.008132, allocations: 144 kB / 333.4 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.008177, allocations: 36.33 kB / 333.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.008695, allocations: 443.1 kB / 333.9 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.008709, allocations: 4.172 kB / 333.9 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.008737, allocations: 19.94 kB / 333.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.008743, allocations: 7.938 kB / 333.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.009337, allocations: 462.3 kB / 334.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.01037, allocations: 0.8425 MB / 335.2 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.01092, allocations: 366.2 kB / 335.5 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.0112, allocations: 206.4 kB / 335.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.01123, allocations: 12.5 kB / 335.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.01125, allocations: 35.06 kB / 335.8 MB, free: 5.242 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 1.854e-06/0.01125, allocations: 0 / 335.8 MB, free: 5.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.003294/0.01455, allocations: 1.925 MB / 337.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.01458, allocations: 85.61 kB / 337.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.01478, allocations: 273.8 kB / 338.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.01481, allocations: 33.7 kB / 338.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.01488, allocations: 149.1 kB / 338.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.842e-05/0.01497, allocations: 182.4 kB / 338.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01507, allocations: 98.16 kB / 338.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.057e-05/0.01514, allocations: 338.8 kB / 338.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.01541, allocations: 196.9 kB / 339 MB, free: 1.879 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.01581, allocations: 269.6 kB / 339.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.01633, allocations: 383.5 kB / 339.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01633, allocations: 0 / 339.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007754/0.01711, allocations: 0.6043 MB / 340.3 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.01712, allocations: 4 kB / 340.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01712, allocations: 0 / 340.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004778/0.0176, allocations: 303.4 kB / 340.6 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.01777, allocations: 67.89 kB / 340.7 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.02018, allocations: 2.801 MB / 343.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.02033, allocations: 27.97 kB / 343.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.02036, allocations: 20 kB / 343.5 MB, free: 13.29 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.0003523/0.02071, allocations: 161.8 kB / 343.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.02076, allocations: 35.75 kB / 343.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.02081, allocations: 47.61 kB / 343.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.02081, allocations: 12.06 kB / 343.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.02081, allocations: 0 / 343.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.02082, allocations: 0 / 343.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.02218, allocations: 1.185 MB / 344.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02218, allocations: 0 / 344.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.02236, allocations: 71.88 kB / 345 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004232/0.02278, allocations: 288.6 kB / 345.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.02281, allocations: 11.98 kB / 345.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.02503, allocations: 2.707 MB / 348 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.02504, allocations: 7.969 kB / 348 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.02617, allocations: 0.9411 MB / 349 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.02628, allocations: 79.77 kB / 349 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.02631, allocations: 12 kB / 349 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.02647, allocations: 27.97 kB / 349.1 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.02658, allocations: 80.28 kB / 349.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.0266, allocations: 19.98 kB / 349.2 MB, free: 7.406 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.02674, allocations: 197.2 kB / 349.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02674, allocations: 4.062 kB / 349.4 MB, free: 7.211 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003696/0.02711, allocations: 155.9 kB / 349.5 MB, free: 7.059 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.002305/0.02942, allocations: 1.81 MB / 351.3 MB, free: 5.371 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008547/0.03027, allocations: 0.664 MB / 352 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.03027, allocations: 0 / 352 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.03076, allocations: 464.4 kB / 352.4 MB, free: 4.227 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.03105, allocations: 59.88 kB / 352.5 MB, free: 4.172 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.03493, allocations: 3.758 MB / 356.3 MB, free: 328 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.03505, allocations: 198.8 kB / 356.5 MB, free: 108 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000158/0.03521, allocations: 74.91 kB / 356.5 MB, free: 32 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.03536, allocations: 108.5 kB / 356.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03536, allocations: 3.938 kB / 356.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07874/0.1141, allocations: 11.83 MB / 368.5 MB, free: 4.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.237, allocations: 10.89 kB / 368.5 MB, free: 4.152 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.754742085933685]