Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008658/0.0008658, allocations: 68.5 kB / 9.894 MB, free: 0.7969 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.002139, allocations: 453.6 kB / 10.34 MB, free: 364 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 144.9 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004678/0.00551, allocations: 459.6 kB / 11.66 MB, free: 2.512 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9944/0.9944, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07992/1.074, allocations: 52.5 MB / 238.2 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 239.5 MB, free: 3.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.576e-06/9.868e-06, allocations: 2.312 kB / 239.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.002215/0.002225, allocations: 2.475 MB / 241.9 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003358, allocations: 0.9711 MB / 242.9 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.757e-05/0.003456, allocations: 4 kB / 242.9 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.003571, allocations: 59.44 kB / 243 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.003876, allocations: 151 kB / 243.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.004106, allocations: 187.5 kB / 243.3 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.004434, allocations: 470.3 kB / 243.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.004561, allocations: 67.09 kB / 243.8 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.00485, allocations: 315.3 kB / 244.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.005188, allocations: 203.5 kB / 244.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.005232, allocations: 36 kB / 244.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.005413, allocations: 143.7 kB / 244.5 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.005492, allocations: 71.8 kB / 244.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/0.005574, allocations: 99.81 kB / 244.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.00591, allocations: 342.9 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.005924, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005925, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.005935, allocations: 4 kB / 245 MB, free: 13.64 MB / 250.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.0007881/0.006723, allocations: 0.6437 MB / 245.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.006755, allocations: 12.03 kB / 245.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.006805, allocations: 66.69 kB / 245.7 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.007029, allocations: 158 kB / 245.9 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.007283, allocations: 217.8 kB / 246.1 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.282e-05/0.007366, allocations: 144 kB / 246.2 MB, free: 12.31 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.007406, allocations: 32.38 kB / 246.3 MB, free: 12.28 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.007744, allocations: 326 kB / 246.6 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.007754, allocations: 192 / 246.6 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.007775, allocations: 19.94 kB / 246.6 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.007781, allocations: 7.984 kB / 246.6 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.008012, allocations: 199.1 kB / 246.8 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.008833, allocations: 0.6436 MB / 247.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.009102, allocations: 205 kB / 247.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.009208, allocations: 98.31 kB / 247.7 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.009235, allocations: 8.5 kB / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.009258, allocations: 39.05 kB / 247.8 MB, free: 10.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.182e-06/0.009259, allocations: 4 kB / 247.8 MB, free: 10.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=55): time 0.00188/0.01114, allocations: 1.279 MB / 249.1 MB, free: 9.352 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.01117, allocations: 63.89 kB / 249.1 MB, free: 9.277 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.0113, allocations: 224.1 kB / 249.4 MB, free: 9.043 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.01132, allocations: 37.7 kB / 249.4 MB, free: 9 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.01137, allocations: 125.2 kB / 249.5 MB, free: 8.871 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.65e-05/0.01147, allocations: 194.3 kB / 249.7 MB, free: 8.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.01156, allocations: 82.16 kB / 249.8 MB, free: 8.594 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.01164, allocations: 346.7 kB / 250.1 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.214e-05/0.01174, allocations: 63.8 kB / 250.2 MB, free: 8.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.01185, allocations: 149.7 kB / 250.3 MB, free: 8.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.01205, allocations: 205.1 kB / 250.5 MB, free: 7.809 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.01205, allocations: 4.031 kB / 250.5 MB, free: 7.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00032/0.01237, allocations: 306.9 kB / 250.8 MB, free: 7.496 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.01238, allocations: 7.938 kB / 250.8 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01239, allocations: 8 kB / 250.9 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/0.01272, allocations: 194.6 kB / 251 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.01289, allocations: 75.88 kB / 251.1 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.01472, allocations: 2.082 MB / 253.2 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.01484, allocations: 23.97 kB / 253.2 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.01486, allocations: 16 kB / 253.2 MB, free: 5.004 MB / 250.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 9.637e-05/0.01496, allocations: 140.1 kB / 253.4 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.01501, allocations: 43.95 kB / 253.4 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.01506, allocations: 51.3 kB / 253.5 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01506, allocations: 11.94 kB / 253.5 MB, free: 4.754 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.01507, allocations: 0 / 253.5 MB, free: 4.754 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01507, allocations: 3.984 kB / 253.5 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007766/0.01585, allocations: 0.7099 MB / 254.2 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01585, allocations: 4.031 kB / 254.2 MB, free: 3.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.01602, allocations: 71.88 kB / 254.3 MB, free: 3.926 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.0161, allocations: 47.78 kB / 254.3 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/0.01638, allocations: 184.6 kB / 254.5 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.01641, allocations: 15.98 kB / 254.5 MB, free: 3.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.01792, allocations: 2.056 MB / 256.6 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01792, allocations: 3.938 kB / 256.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.0184, allocations: 0.5076 MB / 257.1 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.01844, allocations: 12 kB / 257.1 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.01855, allocations: 15.98 kB / 257.1 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.01868, allocations: 72.42 kB / 257.2 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.0187, allocations: 15.92 kB / 257.2 MB, free: 0.875 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.01876, allocations: 85 kB / 257.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01876, allocations: 0 / 257.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.0191, allocations: 147.9 kB / 257.4 MB, free: 0.6445 MB / 250.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.0008963/0.02, allocations: 1.042 MB / 258.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.02047, allocations: 469.5 kB / 258.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.02048, allocations: 4 kB / 258.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.02077, allocations: 378 kB / 259.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.021, allocations: 88.44 kB / 259.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.02484, allocations: 1.908 MB / 261.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.43e-05/0.02492, allocations: 118.2 kB / 261.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.737e-05/0.02502, allocations: 42.98 kB / 261.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.02519, allocations: 167.3 kB / 261.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02519, allocations: 0 / 261.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.1117/0.1369, allocations: 14.35 MB / 276 MB, free: 27.23 MB / 266.7 MB Notification: FMU-only work: backend 0.0007398, simCode 0.0008662, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05819/0.1951, allocations: 1.474 MB / 277.4 MB, free: 25.73 MB / 266.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.014/3.209, allocations: 10.56 kB / 277.4 MB, free: 25.72 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,gear.mode Variables in the result:DriveSine.amplitude,DriveSine.f,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,PowerLoss,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.flange_a.phi),der(Inertia2.flange_b.phi),der(Inertia2.phi),der(Inertia2.w),der(der(gear.phi_b)),der(gear.flange_b.phi),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),der(torque2.flange.phi),fixed.flange.phi,fixed.flange.tau,fixed.phi0,gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.support.phi,gear.support.tau,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.diff.mat", vars={"gear.mode", "Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.diff.ref.mat", vars={"gear.mode", "Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv --output-variables Inertia2.phi Inertia2.w gear.mode --start-time 0 --stop-time 0.5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode_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 CoSimulation --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6736561600118876]