Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.001089/0.001089, allocations: 68.5 kB / 9.894 MB, free: 0.7969 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001621/0.002711, 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.001042/0.001042, allocations: 144.9 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002494, 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.8571/0.8571, allocations: 173.4 MB / 185.8 MB, free: 7.637 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1467/1.004, allocations: 52.48 MB / 238.3 MB, free: 7.75 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.LossyGearDemo3,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 239.5 MB, free: 6.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.315e-05, allocations: 6.25 kB / 239.5 MB, free: 6.566 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.003788/0.003811, allocations: 2.388 MB / 241.9 MB, free: 4.18 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.005505, allocations: 0.9198 MB / 242.8 MB, free: 3.262 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.005635, allocations: 7.938 kB / 242.8 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.005786, allocations: 47.52 kB / 242.8 MB, free: 3.207 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.006201, allocations: 129 kB / 243 MB, free: 3.082 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.006544, allocations: 173.2 kB / 243.1 MB, free: 2.914 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000461/0.007005, allocations: 422.6 kB / 243.5 MB, free: 2.5 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.007135, allocations: 51.8 kB / 243.6 MB, free: 2.445 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004082/0.007544, allocations: 277 kB / 243.9 MB, free: 2.176 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.007823, allocations: 186 kB / 244 MB, free: 1.996 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.007881, allocations: 32 kB / 244.1 MB, free: 1.965 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.008127, allocations: 123.9 kB / 244.2 MB, free: 1.844 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.00823, allocations: 67.8 kB / 244.3 MB, free: 1.777 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.008336, allocations: 95.81 kB / 244.3 MB, free: 1.684 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.00877, allocations: 311 kB / 244.7 MB, free: 1.379 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.635e-05/0.008786, allocations: 4 kB / 244.7 MB, free: 1.375 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.008787, allocations: 0.9062 kB / 244.7 MB, free: 1.375 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.008801, allocations: 0 / 244.7 MB, free: 1.375 MB / 234.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.001002/0.009803, allocations: 0.6006 MB / 245.3 MB, free: 0.75 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.009839, allocations: 12.03 kB / 245.3 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.478e-05/0.009903, allocations: 62.69 kB / 245.3 MB, free: 0.668 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.01021, allocations: 146 kB / 245.5 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.01055, allocations: 215.1 kB / 245.7 MB, free: 276 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.01067, allocations: 142 kB / 245.8 MB, free: 112 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.01073, allocations: 32.36 kB / 245.9 MB, free: 80 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.01122, allocations: 315.7 kB / 246.2 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.01123, allocations: 4.641 kB / 246.2 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.01126, allocations: 18.41 kB / 246.2 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.01127, allocations: 4 kB / 246.2 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.01164, allocations: 187.2 kB / 246.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.01263, allocations: 0.8613 MB / 247.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.01284, allocations: 182.3 kB / 247.4 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.393e-05/0.01293, allocations: 80.83 kB / 247.5 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.01295, allocations: 4 kB / 247.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.01297, allocations: 43.28 kB / 247.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.203e-06/0.01297, allocations: 0 / 247.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001683/0.01465, allocations: 1.132 MB / 248.7 MB, free: 13.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.01468, allocations: 63.34 kB / 248.7 MB, free: 13.05 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.0148, allocations: 200.2 kB / 248.9 MB, free: 12.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.01482, allocations: 37.69 kB / 249 MB, free: 12.8 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.01487, allocations: 128.8 kB / 249.1 MB, free: 12.67 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.01494, allocations: 162.6 kB / 249.2 MB, free: 12.51 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.004e-05/0.01502, allocations: 78.14 kB / 249.3 MB, free: 12.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.01509, allocations: 338.8 kB / 249.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.01517, allocations: 63.8 kB / 249.7 MB, free: 12.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.01528, allocations: 152.2 kB / 249.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.01546, allocations: 205.7 kB / 250.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01546, allocations: 0 / 250.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003014/0.01576, allocations: 294.2 kB / 250.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.01577, allocations: 7.938 kB / 250.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01578, allocations: 4 kB / 250.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003087/0.01609, allocations: 202.6 kB / 250.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.01622, allocations: 59.89 kB / 250.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.01778, allocations: 2.069 MB / 252.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.01787, allocations: 15.98 kB / 252.7 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.01789, allocations: 16 kB / 252.7 MB, free: 8.871 MB / 250.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 8.677e-05/0.01798, allocations: 140.5 kB / 252.9 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.01802, allocations: 35.95 kB / 252.9 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.01806, allocations: 42.98 kB / 252.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.01807, allocations: 8 kB / 252.9 MB, free: 8.637 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01807, allocations: 0 / 252.9 MB, free: 8.637 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.01807, allocations: 7.984 kB / 253 MB, free: 8.629 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.01872, allocations: 0.6134 MB / 253.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01872, allocations: 0 / 253.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.01884, allocations: 51.91 kB / 253.6 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.01891, allocations: 51.77 kB / 253.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/0.01919, allocations: 185.5 kB / 253.8 MB, free: 7.691 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.01921, allocations: 12 kB / 253.9 MB, free: 7.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.02067, allocations: 2.039 MB / 255.9 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02067, allocations: 4.031 kB / 255.9 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.02109, allocations: 458.8 kB / 256.3 MB, free: 5.074 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.02112, allocations: 15.98 kB / 256.4 MB, free: 5.059 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.02122, allocations: 12 kB / 256.4 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.02131, allocations: 63.86 kB / 256.4 MB, free: 4.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.02133, allocations: 8 kB / 256.4 MB, free: 4.977 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.327e-05/0.02138, allocations: 64.67 kB / 256.5 MB, free: 4.91 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02138, allocations: 8.031 kB / 256.5 MB, free: 4.902 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.02171, allocations: 139.9 kB / 256.7 MB, free: 4.766 MB / 250.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.0003593/0.02207, allocations: 0.73 MB / 257.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.0225, allocations: 434.1 kB / 257.8 MB, free: 3.578 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.02251, allocations: 0 / 257.8 MB, free: 3.578 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.02277, allocations: 350.1 kB / 258.1 MB, free: 3.219 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.02297, allocations: 79.89 kB / 258.2 MB, free: 3.141 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.02614, allocations: 1.745 MB / 260 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.464e-05/0.0262, allocations: 105.3 kB / 260.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.012e-05/0.02628, allocations: 38.91 kB / 260.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.02644, allocations: 147.3 kB / 260.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02644, allocations: 0 / 260.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of FMU documentation: time 0.02955/0.05599, allocations: 12.22 MB / 272.5 MB, free: 5.09 MB / 266.7 MB Notification: FMU-only work: backend 0.0002132, simCode 0.0008055, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07891/0.1349, allocations: 1.472 MB / 274 MB, free: 3.574 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 2.886/3.021, allocations: 11.84 kB / 274 MB, free: 3.562 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_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.LossyGearDemo3_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_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.LossyGearDemo3_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.flange_a.phi),der(Inertia2.flange_b.phi),der(Inertia2.phi),der(Inertia2.w),der(gear.flange_b.phi),der(gear.phi_a),der(gear.phi_b),der(torque2.flange.phi),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_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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/v4.0.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_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.LossyGearDemo3_fmpy-fmi3-cs-cvode_res.csv --output-variables Inertia2.phi Inertia2.w gear.mode --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.001 ../Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_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/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: 5.579162556678057]