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.001418/0.001418, allocations: 119.6 kB / 21.19 MB, free: 4.379 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.001217/0.001217, allocations: 221.5 kB / 24.48 MB, free: 1.379 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.8742/0.8742, allocations: 207.7 MB / 235.3 MB, free: 4.559 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.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: 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.001246/0.001246, allocations: 60.34 kB / 348.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.195, allocations: 49.16 MB / 397.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.002557/0.1976, allocations: 2.298 MB / 400.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1988, allocations: 0.9683 MB / 401.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1989, allocations: 7.938 kB / 401.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.1991, allocations: 43.58 kB / 401.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.1995, allocations: 171 kB / 401.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1997, allocations: 183.6 kB / 401.5 MB, free: 9.859 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.2001, allocations: 470.5 kB / 402 MB, free: 9.398 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.2002, allocations: 69.11 kB / 402.1 MB, free: 9.332 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.2004, allocations: 215.3 kB / 402.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.2006, allocations: 231.2 kB / 402.5 MB, free: 8.895 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.2007, allocations: 36 kB / 402.5 MB, free: 8.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.2008, allocations: 119.9 kB / 402.7 MB, free: 8.742 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.768e-05/0.2009, allocations: 115.6 kB / 402.8 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.254e-05/0.201, allocations: 151.4 kB / 402.9 MB, free: 8.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.2014, allocations: 0.4968 MB / 403.4 MB, free: 7.984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2014, allocations: 0 / 403.4 MB, free: 7.984 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2014, allocations: 4 kB / 403.4 MB, free: 7.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.2014, allocations: 0 / 403.4 MB, free: 7.98 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0008017/0.2022, allocations: 0.6142 MB / 404 MB, free: 7.336 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2022, allocations: 15.98 kB / 404.1 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.2023, allocations: 66.73 kB / 404.1 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.2025, allocations: 56.67 kB / 404.2 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.2028, allocations: 265.6 kB / 404.4 MB, free: 6.906 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.872e-05/0.2029, allocations: 148 kB / 404.6 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.2029, allocations: 28.38 kB / 404.6 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.2034, allocations: 438.6 kB / 405 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2034, allocations: 7.984 kB / 405 MB, free: 6.254 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.2035, allocations: 19.98 kB / 405.1 MB, free: 6.234 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2035, allocations: 8 kB / 405.1 MB, free: 6.227 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.2041, allocations: 458.3 kB / 405.5 MB, free: 5.777 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.2051, allocations: 0.8347 MB / 406.4 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.2057, allocations: 385.8 kB / 406.7 MB, free: 4.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.2059, allocations: 206.1 kB / 406.9 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.2059, allocations: 4.438 kB / 406.9 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.206, allocations: 39 kB / 407 MB, free: 4.262 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 1.453e-06/0.206, allocations: 0 / 407 MB, free: 4.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.002891/0.2089, allocations: 1.937 MB / 408.9 MB, free: 2.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.2089, allocations: 85.61 kB / 409 MB, free: 2.176 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.2091, allocations: 255.1 kB / 409.2 MB, free: 1.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.2091, allocations: 41.69 kB / 409.3 MB, free: 1.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.2092, allocations: 137.3 kB / 409.4 MB, free: 1.734 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.2093, allocations: 194.3 kB / 409.6 MB, free: 1.543 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.2094, allocations: 86.19 kB / 409.7 MB, free: 1.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.2094, allocations: 342.8 kB / 410 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.2097, allocations: 192.9 kB / 410.2 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.21, allocations: 269.6 kB / 410.5 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.2104, allocations: 395.4 kB / 410.9 MB, free: 252 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2104, allocations: 3.938 kB / 410.9 MB, free: 248 kB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007363/0.2112, allocations: 0.6043 MB / 411.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2112, allocations: 7.938 kB / 411.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2112, allocations: 0 / 411.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004224/0.2116, allocations: 253.8 kB / 411.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.2118, allocations: 75.88 kB / 411.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.2141, allocations: 2.78 MB / 414.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.2142, allocations: 31.91 kB / 414.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.2143, allocations: 16 kB / 414.6 MB, free: 12.35 MB / 330.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.0002032/0.2145, allocations: 165.8 kB / 414.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.2145, allocations: 31.86 kB / 414.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.2146, allocations: 59.28 kB / 414.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2146, allocations: 7.938 kB / 414.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2146, allocations: 0 / 414.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2146, allocations: 0 / 414.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.2159, allocations: 1.172 MB / 416.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2159, allocations: 0 / 416.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.216, allocations: 63.95 kB / 416.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/0.2164, allocations: 236.6 kB / 416.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.2164, allocations: 15.98 kB / 416.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.2186, allocations: 2.711 MB / 419.1 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2186, allocations: 4.062 kB / 419.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.2197, allocations: 0.9409 MB / 420 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.2198, allocations: 71.73 kB / 420.1 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.2198, allocations: 19.92 kB / 420.1 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.22, allocations: 27.98 kB / 420.1 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.2201, allocations: 76.3 kB / 420.2 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.2201, allocations: 19.98 kB / 420.2 MB, free: 6.543 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.2202, allocations: 199.2 kB / 420.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2202, allocations: 0 / 420.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003787/0.2206, allocations: 151.9 kB / 420.6 MB, free: 6.199 MB / 330.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.001548/0.2222, allocations: 1.543 MB / 422.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008414/0.223, allocations: 0.6635 MB / 422.8 MB, free: 3.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.223, allocations: 64 / 422.8 MB, free: 3.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004601/0.2235, allocations: 472 kB / 423.2 MB, free: 3.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.2237, allocations: 40.33 kB / 423.3 MB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.2273, allocations: 3.82 MB / 427.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2275, allocations: 190.7 kB / 427.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.2276, allocations: 66.94 kB / 427.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.2277, allocations: 99.39 kB / 427.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of SimCode: time 4.8e-07/0.2277, allocations: 3.938 kB / 427.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08096/0.3087, allocations: 10.95 MB / 438.4 MB, free: 4.117 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.151/8.46, allocations: 12 kB / 438.4 MB, free: 4.105 MB / 346.7 MB " [Timeout remaining time 651] (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.852886371314526]