Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000972/0.000972, 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.003156/0.003156, allocations: 168.5 kB / 24.7 MB, free: 9.41 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.777/0.777, allocations: 158.6 MB / 186.5 MB, free: 3.055 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.LossyGearDemo1,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 300 MB, free: 1.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3e-05, allocations: 2.281 kB / 300 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.1087/0.1087, allocations: 2.283 MB / 302.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.11, allocations: 0.971 MB / 303.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1102, allocations: 7.812 kB / 303.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.1104, allocations: 49.72 kB / 303.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004658/0.1108, allocations: 159.5 kB / 303.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.1111, allocations: 187.2 kB / 303.6 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.1115, allocations: 487.6 kB / 304.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1117, allocations: 61.44 kB / 304.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.112, allocations: 287.7 kB / 304.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.1122, allocations: 206.1 kB / 304.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.1123, allocations: 42.44 kB / 304.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1125, allocations: 124.5 kB / 304.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1126, allocations: 104 kB / 304.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1127, allocations: 141 kB / 305.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.1132, allocations: 0.5233 MB / 305.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1132, allocations: 0 / 305.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1132, allocations: 1.438 kB / 305.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1132, allocations: 4.453 kB / 305.6 MB, free: 13.81 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0008622/0.1141, allocations: 0.6093 MB / 306.2 MB, free: 13.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1141, allocations: 15.58 kB / 306.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.1142, allocations: 67.78 kB / 306.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.1144, allocations: 55.78 kB / 306.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1147, allocations: 265.9 kB / 306.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.1148, allocations: 142.8 kB / 306.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.1148, allocations: 33.38 kB / 306.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005345/0.1153, allocations: 437.1 kB / 307.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1153, allocations: 0.9375 kB / 307.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.1154, allocations: 15.34 kB / 307.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1154, allocations: 7.438 kB / 307.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000622/0.116, allocations: 469.5 kB / 307.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.1171, allocations: 0.8362 MB / 308.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.1177, allocations: 387.5 kB / 308.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.1179, allocations: 211.3 kB / 309.1 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.118, allocations: 6.5 kB / 309.1 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.118, allocations: 37.88 kB / 309.1 MB, free: 11.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 2.384e-06/0.118, allocations: 1.312 kB / 309.1 MB, free: 11.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.003142/0.1211, allocations: 1.934 MB / 311.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.1212, allocations: 87.34 kB / 311.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.1214, allocations: 258.7 kB / 311.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1214, allocations: 41.09 kB / 311.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.1214, allocations: 134.1 kB / 311.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/0.1215, allocations: 190.3 kB / 311.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/0.1216, allocations: 89.36 kB / 311.9 MB, free: 10.4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.1217, allocations: 340.7 kB / 312.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.1219, allocations: 199.8 kB / 312.4 MB, free: 10.01 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.1222, allocations: 268 kB / 312.6 MB, free: 9.883 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.1227, allocations: 395.8 kB / 313 MB, free: 9.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1227, allocations: 0 / 313 MB, free: 9.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007548/0.1235, allocations: 0.6011 MB / 313.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1235, allocations: 10 kB / 313.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1235, allocations: 1.375 kB / 313.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004855/0.124, allocations: 256 kB / 313.9 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.1242, allocations: 68.3 kB / 314 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.1266, allocations: 2.794 MB / 316.8 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.1268, allocations: 29.8 kB / 316.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.1268, allocations: 19.45 kB / 316.8 MB, free: 7.324 MB / 282.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.0001412/0.1269, allocations: 154.3 kB / 317 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.127, allocations: 36.67 kB / 317 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.127, allocations: 51.19 kB / 317 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.127, allocations: 5.984 kB / 317 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1271, allocations: 4.062 kB / 317 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1271, allocations: 6.609 kB / 317.1 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.1284, allocations: 1.158 MB / 318.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1284, allocations: 1.094 kB / 318.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.1286, allocations: 63.42 kB / 318.3 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.129, allocations: 243.3 kB / 318.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.1291, allocations: 15.44 kB / 318.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.1313, allocations: 2.703 MB / 321.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1313, allocations: 5.031 kB / 321.2 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.1324, allocations: 0.9496 MB / 322.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.1325, allocations: 75.17 kB / 322.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.1326, allocations: 11.75 kB / 322.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1327, allocations: 31.16 kB / 322.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.1329, allocations: 72.33 kB / 322.4 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1329, allocations: 17.41 kB / 322.4 MB, free: 3.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.133, allocations: 200.1 kB / 322.6 MB, free: 3.746 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.133, allocations: 1.094 kB / 322.6 MB, free: 3.746 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005033/0.1335, allocations: 153.5 kB / 322.7 MB, free: 3.723 MB / 282.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.001405/0.1349, allocations: 1.545 MB / 324.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009679/0.1359, allocations: 0.6738 MB / 325 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1359, allocations: 4.875 kB / 325 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005016/0.1364, allocations: 462.9 kB / 325.4 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1367, allocations: 50.95 kB / 325.5 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.1406, allocations: 3.773 MB / 329.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.1408, allocations: 192 kB / 329.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.1409, allocations: 54.7 kB / 329.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.141, allocations: 102.3 kB / 329.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.141, allocations: 0 / 329.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09195/0.233, allocations: 11.11 MB / 340.7 MB, free: 4.387 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.369, allocations: 4 kB / 340.7 MB, free: 4.383 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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.LossyGearDemo1_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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/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.freqHz,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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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.LossyGearDemo1_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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/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.freqHz,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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.749837738461792]