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.001177/0.001177, allocations: 117.3 kB / 21.19 MB, free: 4.387 MB / 13.93 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.003232/0.003232, allocations: 225.5 kB / 24.48 MB, free: 1.383 MB / 13.93 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.926/0.926, allocations: 207.7 MB / 235.3 MB, free: 4.582 MB / 186.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 56.3 kB / 348.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1997, allocations: 49.16 MB / 397.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.002386/0.2021, allocations: 2.226 MB / 400.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2035, allocations: 0.9293 MB / 401 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2036, allocations: 11.94 kB / 401.1 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.2038, allocations: 43.58 kB / 401.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.2042, allocations: 131.2 kB / 401.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.2044, allocations: 179.7 kB / 401.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.2047, allocations: 422.7 kB / 401.8 MB, free: 9.594 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2048, allocations: 40.91 kB / 401.9 MB, free: 9.555 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.205, allocations: 187.5 kB / 402 MB, free: 9.371 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.2052, allocations: 211.3 kB / 402.2 MB, free: 9.164 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.2052, allocations: 36 kB / 402.3 MB, free: 9.129 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.2054, allocations: 111.9 kB / 402.4 MB, free: 9.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-05/0.2055, allocations: 99.78 kB / 402.5 MB, free: 8.922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.68e-05/0.2055, allocations: 139.4 kB / 402.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.2059, allocations: 453 kB / 403.1 MB, free: 8.344 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2059, allocations: 3.984 kB / 403.1 MB, free: 8.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2059, allocations: 0 / 403.1 MB, free: 8.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2059, allocations: 0 / 403.1 MB, free: 8.34 MB / 314.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.0007867/0.2067, allocations: 0.5713 MB / 403.6 MB, free: 7.738 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2067, allocations: 15.92 kB / 403.7 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.681e-05/0.2068, allocations: 70.72 kB / 403.7 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.207, allocations: 44.73 kB / 403.8 MB, free: 7.602 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.2073, allocations: 246 kB / 404 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.787e-05/0.2074, allocations: 144 kB / 404.1 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.2074, allocations: 24.38 kB / 404.2 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.2079, allocations: 404.3 kB / 404.6 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2079, allocations: 0 / 404.6 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.2079, allocations: 20 kB / 404.6 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2079, allocations: 4 kB / 404.6 MB, free: 6.703 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004958/0.2084, allocations: 414.2 kB / 405 MB, free: 6.301 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.2096, allocations: 1.111 MB / 406.1 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.2101, allocations: 326.5 kB / 406.4 MB, free: 4.805 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.2103, allocations: 168.7 kB / 406.6 MB, free: 4.637 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.2103, allocations: 12.7 kB / 406.6 MB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2103, allocations: 42.5 kB / 406.6 MB, free: 4.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.2103, allocations: 0 / 406.6 MB, free: 4.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.002857/0.2132, allocations: 1.679 MB / 408.3 MB, free: 2.836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2132, allocations: 88.84 kB / 408.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.2134, allocations: 246.1 kB / 408.6 MB, free: 2.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.2134, allocations: 37.7 kB / 408.7 MB, free: 2.438 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.2135, allocations: 140.9 kB / 408.8 MB, free: 2.297 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.414e-05/0.2136, allocations: 154.7 kB / 409 MB, free: 2.145 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.2136, allocations: 82.11 kB / 409.1 MB, free: 2.059 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.2137, allocations: 342.8 kB / 409.4 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.2139, allocations: 160.8 kB / 409.5 MB, free: 1.555 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.2142, allocations: 259.6 kB / 409.8 MB, free: 1.281 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.2146, allocations: 343.1 kB / 410.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2146, allocations: 4.031 kB / 410.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006371/0.2152, allocations: 0.5473 MB / 410.7 MB, free: 376 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2152, allocations: 4 kB / 410.7 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2152, allocations: 0 / 410.7 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.2157, allocations: 252.8 kB / 410.9 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.2158, allocations: 47.91 kB / 411 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.2182, allocations: 2.756 MB / 413.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.2183, allocations: 20.02 kB / 413.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.2183, allocations: 19.98 kB / 413.8 MB, free: 13.15 MB / 330.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.0001155/0.2184, allocations: 161.8 kB / 413.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.2185, allocations: 23.86 kB / 414 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.2185, allocations: 42.98 kB / 414 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2185, allocations: 8 kB / 414 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.2185, allocations: 0 / 414 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2185, allocations: 7.922 kB / 414 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.2199, allocations: 0.9954 MB / 415 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2199, allocations: 4 kB / 415 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.22, allocations: 43.97 kB / 415.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/0.2203, allocations: 236.8 kB / 415.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.2204, allocations: 19.92 kB / 415.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.2226, allocations: 2.691 MB / 418 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2226, allocations: 4.031 kB / 418 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008788/0.2234, allocations: 0.82 MB / 418.8 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/0.2235, allocations: 59.84 kB / 418.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.2235, allocations: 19.92 kB / 418.9 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2237, allocations: 23.92 kB / 418.9 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.2238, allocations: 59.88 kB / 419 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.2238, allocations: 19.98 kB / 419 MB, free: 7.727 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.2239, allocations: 176.3 kB / 419.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2239, allocations: 0 / 419.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.2243, allocations: 144 kB / 419.3 MB, free: 7.414 MB / 330.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.001166/0.2254, allocations: 1.409 MB / 420.7 MB, free: 5.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007343/0.2262, allocations: 0.5979 MB / 421.3 MB, free: 5.367 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2262, allocations: 0 / 421.3 MB, free: 5.367 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006256/0.2268, allocations: 425.7 kB / 421.7 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.227, allocations: 44 kB / 421.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.2301, allocations: 3.422 MB / 425.2 MB, free: 1.363 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.2302, allocations: 171.8 kB / 425.4 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000107/0.2303, allocations: 54.95 kB / 425.4 MB, free: 1.113 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.2304, allocations: 87.33 kB / 425.5 MB, free: 1.027 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2304, allocations: 4 kB / 425.5 MB, free: 1.023 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07984/0.3103, allocations: 9.866 MB / 435.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.102, allocations: 7.922 kB / 435.4 MB, free: 7.086 MB / 346.7 MB " [Timeout remaining time 652] (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] "" 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-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.diff.mat", vars={"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/LossyGearDemo3/LossyGearDemo3.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.diff.ref.mat", vars={"Inertia2.w", "Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (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.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/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.w", "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.669812523759902]