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.001318/0.001318, allocations: 107.4 kB / 20.43 MB, free: 4.598 MB / 13.93 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.00131/0.00131, allocations: 193.3 kB / 23.71 MB, free: 2.148 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.9231/0.9231, allocations: 225.7 MB / 252.5 MB, free: 14.43 MB / 202.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",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.92 kB / 372 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2401, allocations: 52.18 MB / 424.1 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.002425/0.2425, allocations: 2.305 MB / 426.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2437, allocations: 0.9044 MB / 427.3 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.2439, allocations: 8.062 kB / 427.3 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.2441, allocations: 51.27 kB / 427.4 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.2445, allocations: 159.5 kB / 427.6 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.2448, allocations: 185.3 kB / 427.7 MB, free: 5.348 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.2452, allocations: 472.2 kB / 428.2 MB, free: 5.137 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2453, allocations: 62.73 kB / 428.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.2456, allocations: 220.3 kB / 428.5 MB, free: 5.008 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.2458, allocations: 230.9 kB / 428.7 MB, free: 4.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.2459, allocations: 41.19 kB / 428.7 MB, free: 4.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.2461, allocations: 121.1 kB / 428.9 MB, free: 4.902 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.2462, allocations: 107.7 kB / 429 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.2463, allocations: 157.6 kB / 429.1 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.2468, allocations: 0.4928 MB / 429.6 MB, free: 4.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2468, allocations: 0 / 429.6 MB, free: 4.551 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2468, allocations: 0 / 429.6 MB, free: 4.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.2468, allocations: 1.562 kB / 429.6 MB, free: 4.551 MB / 330.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.0008361/0.2476, allocations: 0.6114 MB / 430.2 MB, free: 4.051 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2477, allocations: 10.31 kB / 430.2 MB, free: 4.051 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.2477, allocations: 68.78 kB / 430.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.2479, allocations: 62.14 kB / 430.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.2482, allocations: 254.2 kB / 430.6 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-05/0.2483, allocations: 142.1 kB / 430.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.2483, allocations: 32.78 kB / 430.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.2488, allocations: 438.2 kB / 431.2 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2489, allocations: 5.141 kB / 431.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.2489, allocations: 10.75 kB / 431.2 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2489, allocations: 7.812 kB / 431.2 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.2495, allocations: 472.1 kB / 431.7 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2506, allocations: 0.8331 MB / 432.5 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000538/0.2511, allocations: 385 kB / 432.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.2514, allocations: 210.5 kB / 433.1 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.2514, allocations: 5.312 kB / 433.1 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.2514, allocations: 38 kB / 433.1 MB, free: 2.148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 2.434e-06/0.2514, allocations: 3.938 kB / 433.2 MB, free: 2.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.003032/0.2544, allocations: 1.933 MB / 435.1 MB, free: 1.051 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.2545, allocations: 83.36 kB / 435.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.2547, allocations: 270.1 kB / 435.4 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.2547, allocations: 37.11 kB / 435.5 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.2548, allocations: 135 kB / 435.6 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.936e-05/0.2549, allocations: 192.4 kB / 435.8 MB, free: 452 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.255, allocations: 94.23 kB / 435.9 MB, free: 388 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.202e-05/0.255, allocations: 341.4 kB / 436.2 MB, free: 44 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.2553, allocations: 194.6 kB / 436.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.2556, allocations: 274.4 kB / 436.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.2561, allocations: 392.5 kB / 437.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2561, allocations: 0 / 437.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008102/0.257, allocations: 0.6046 MB / 437.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.257, allocations: 8.438 kB / 437.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.257, allocations: 1.094 kB / 437.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004987/0.2575, allocations: 261.9 kB / 437.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.2576, allocations: 62.2 kB / 438 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.2603, allocations: 2.799 MB / 440.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.2605, allocations: 25.41 kB / 440.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.2605, allocations: 16.34 kB / 440.8 MB, free: 12.91 MB / 346.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.0001685/0.2607, allocations: 169 kB / 441 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.2607, allocations: 34.41 kB / 441 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.2608, allocations: 45.38 kB / 441.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2608, allocations: 8.641 kB / 441.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2608, allocations: 1.094 kB / 441.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2608, allocations: 0 / 441.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.2623, allocations: 1.166 MB / 442.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2623, allocations: 32 / 442.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.2625, allocations: 63.95 kB / 442.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003962/0.2629, allocations: 239.3 kB / 442.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.2629, allocations: 15.98 kB / 442.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.2652, allocations: 2.7 MB / 445.3 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2652, allocations: 0 / 445.3 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.2663, allocations: 0.9606 MB / 446.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2664, allocations: 71.78 kB / 446.3 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.2665, allocations: 15.94 kB / 446.3 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.2666, allocations: 35.91 kB / 446.3 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.2667, allocations: 68.3 kB / 446.4 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.2667, allocations: 19.98 kB / 446.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.2669, allocations: 200.7 kB / 446.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2669, allocations: 0 / 446.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004857/0.2674, allocations: 155.9 kB / 446.8 MB, free: 7.406 MB / 346.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.001433/0.2688, allocations: 1.555 MB / 448.3 MB, free: 5.809 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009332/0.2697, allocations: 0.6713 MB / 449 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2698, allocations: 0 / 449 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005052/0.2703, allocations: 464.2 kB / 449.4 MB, free: 4.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.2706, allocations: 44.36 kB / 449.5 MB, free: 4.617 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.2744, allocations: 3.808 MB / 453.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2745, allocations: 190.9 kB / 453.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.2747, allocations: 70.92 kB / 453.6 MB, free: 444 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.2748, allocations: 99.39 kB / 453.7 MB, free: 344 kB / 346.7 MB Notification: Performance of SimCode: time 7.62e-07/0.2748, allocations: 0 / 453.7 MB, free: 344 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08629/0.3611, allocations: 10.95 MB / 464.6 MB, free: 5.566 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.387, allocations: 10.12 kB / 464.6 MB, free: 5.562 MB / 362.7 MB " [Timeout remaining time 651] (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] "" 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.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_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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/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-cvode.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_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.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_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] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,gear.mode Variables in the result:time,Inertia2.phi,Inertia2.w,gear.mode filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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/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_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.893401185050607]