Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.0009544/0.0009544, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003169/0.003169, allocations: 172 kB / 24.7 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8517/0.8517, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LossyGearDemo3,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 300 MB, free: 1.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014e-05/1.159e-05, allocations: 6.219 kB / 300 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.1093/0.1094, allocations: 2.203 MB / 302.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1107, allocations: 0.9245 MB / 303.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1109, allocations: 2.438 kB / 303.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.111, allocations: 46.92 kB / 303.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.1115, allocations: 147.6 kB / 303.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1117, allocations: 175.5 kB / 303.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.1121, allocations: 430.3 kB / 303.9 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1122, allocations: 43.06 kB / 303.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.1124, allocations: 247.9 kB / 304.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.1127, allocations: 195.2 kB / 304.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.205e-05/0.1128, allocations: 32.66 kB / 304.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.113, allocations: 119.8 kB / 304.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1131, allocations: 97.41 kB / 304.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1132, allocations: 120.6 kB / 304.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.1137, allocations: 487.9 kB / 305.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1137, allocations: 0 / 305.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1137, allocations: 3.938 kB / 305.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1137, allocations: 5.281 kB / 305.2 MB, free: 14 MB / 282.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.000773/0.1145, allocations: 0.552 MB / 305.8 MB, free: 13.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1145, allocations: 20.25 kB / 305.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.1145, allocations: 66.48 kB / 305.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.1147, allocations: 52.55 kB / 305.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.115, allocations: 245.6 kB / 306.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.1151, allocations: 141.5 kB / 306.3 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.1152, allocations: 27 kB / 306.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.1156, allocations: 407.3 kB / 306.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1156, allocations: 4.828 kB / 306.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.1157, allocations: 13.94 kB / 306.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1157, allocations: 7.625 kB / 306.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.1162, allocations: 415.4 kB / 307.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.1174, allocations: 1.105 MB / 308.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.1179, allocations: 347.2 kB / 308.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.1181, allocations: 166 kB / 308.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1181, allocations: 7.156 kB / 308.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.1181, allocations: 37.19 kB / 308.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 1.403e-06/0.1181, allocations: 0 / 308.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.002736/0.1209, allocations: 1.682 MB / 310.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.1209, allocations: 89.86 kB / 310.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1211, allocations: 242.3 kB / 310.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.1211, allocations: 36.64 kB / 310.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.1211, allocations: 137.2 kB / 311 MB, free: 10.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.1212, allocations: 161.4 kB / 311.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.1213, allocations: 80.64 kB / 311.2 MB, free: 10.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.825e-05/0.1213, allocations: 338 kB / 311.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.1216, allocations: 165.4 kB / 311.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.1218, allocations: 266.2 kB / 312 MB, free: 10.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.1222, allocations: 342 kB / 312.3 MB, free: 9.898 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1222, allocations: 1.688 kB / 312.3 MB, free: 9.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006518/0.1229, allocations: 0.5499 MB / 312.8 MB, free: 9.664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1229, allocations: 7.391 kB / 312.9 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1229, allocations: 3.938 kB / 312.9 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004479/0.1234, allocations: 252 kB / 313.1 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1235, allocations: 50.48 kB / 313.2 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.1257, allocations: 2.741 MB / 315.9 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.1258, allocations: 26.27 kB / 315.9 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.1259, allocations: 19.33 kB / 315.9 MB, free: 7.543 MB / 282.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.0001002/0.126, allocations: 150 kB / 316.1 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.126, allocations: 23.92 kB / 316.1 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.1261, allocations: 46.67 kB / 316.2 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1261, allocations: 5.25 kB / 316.2 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.1261, allocations: 4.125 kB / 316.2 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1261, allocations: 1.922 kB / 316.2 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.1272, allocations: 1.002 MB / 317.2 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1272, allocations: 0 / 317.2 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.1273, allocations: 44.73 kB / 317.2 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003771/0.1277, allocations: 235.3 kB / 317.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.1277, allocations: 10.78 kB / 317.5 MB, free: 6.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.1298, allocations: 2.702 MB / 320.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1298, allocations: 3.938 kB / 320.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009082/0.1307, allocations: 0.8075 MB / 321 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.1308, allocations: 63.94 kB / 321 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1308, allocations: 13.05 kB / 321 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1309, allocations: 22.06 kB / 321.1 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.131, allocations: 67.06 kB / 321.1 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1311, allocations: 14.73 kB / 321.1 MB, free: 4.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1312, allocations: 180.9 kB / 321.3 MB, free: 4.141 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1312, allocations: 0 / 321.3 MB, free: 4.141 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003944/0.1316, allocations: 137.8 kB / 321.5 MB, free: 4.121 MB / 282.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.001173/0.1327, allocations: 1.428 MB / 322.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007409/0.1335, allocations: 0.5991 MB / 323.5 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1335, allocations: 1.625 kB / 323.5 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.1338, allocations: 419 kB / 323.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1341, allocations: 34.08 kB / 323.9 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.1372, allocations: 3.386 MB / 327.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.503e-05/0.1373, allocations: 175.5 kB / 327.5 MB, free: 384 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.1374, allocations: 64.12 kB / 327.5 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/0.1375, allocations: 85.23 kB / 327.6 MB, free: 280 kB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1375, allocations: 3.938 kB / 327.6 MB, free: 276 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07933/0.2168, allocations: 10.02 MB / 337.7 MB, free: 7.383 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.392, allocations: 4.062 kB / 337.7 MB, free: 7.379 MB / 298.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.diff.mat", vars={"Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.diff.ref.mat", vars={"Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 10.931443533860147]