Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001725/0.001725, allocations: 113 kB / 20.43 MB, free: 4.602 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.001924/0.001924, allocations: 221.5 kB / 23.73 MB, free: 2.148 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9653/0.9653, allocations: 230.6 MB / 257.5 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.89 kB / 379.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.239, allocations: 53.37 MB / 432.6 MB, free: 3.191 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.002708/0.2417, allocations: 2.402 MB / 435 MB, free: 1.367 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.243, allocations: 1.091 MB / 436.1 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.2431, allocations: 4.125 kB / 436.1 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.2434, allocations: 63.81 kB / 436.2 MB, free: 480 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.2438, allocations: 176.7 kB / 436.4 MB, free: 344 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.2441, allocations: 180.2 kB / 436.5 MB, free: 204 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.2446, allocations: 0.52 MB / 437.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.2447, allocations: 59.62 kB / 437.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.2451, allocations: 241.4 kB / 437.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.2454, allocations: 255.5 kB / 437.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.2454, allocations: 41.69 kB / 437.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.2456, allocations: 133.9 kB / 437.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2457, allocations: 118.3 kB / 437.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.2459, allocations: 173.2 kB / 438.1 MB, free: 15.31 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.2464, allocations: 0.5497 MB / 438.6 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2464, allocations: 5.312 kB / 438.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2464, allocations: 0 / 438.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.2464, allocations: 0 / 438.6 MB, free: 14.91 MB / 346.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.0009698/0.2474, allocations: 0.6436 MB / 439.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2474, allocations: 9.25 kB / 439.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.019e-05/0.2475, allocations: 70.31 kB / 439.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003094/0.2478, allocations: 63.45 kB / 439.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.2482, allocations: 262.7 kB / 439.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.2483, allocations: 143.4 kB / 439.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.2483, allocations: 36.86 kB / 439.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/0.2489, allocations: 444.8 kB / 440.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2489, allocations: 0 / 440.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.249, allocations: 16 kB / 440.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.249, allocations: 6.375 kB / 440.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.2496, allocations: 470.5 kB / 440.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.2508, allocations: 0.8448 MB / 441.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.2515, allocations: 371.2 kB / 442 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.2518, allocations: 205.2 kB / 442.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.2518, allocations: 10.09 kB / 442.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2518, allocations: 42.05 kB / 442.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 1.543e-06/0.2518, allocations: 3.938 kB / 442.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.003337/0.2552, allocations: 1.918 MB / 444.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.2552, allocations: 84.05 kB / 444.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.2555, allocations: 271.2 kB / 444.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.2555, allocations: 37.7 kB / 444.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.2556, allocations: 141.2 kB / 444.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.2557, allocations: 190.3 kB / 444.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.2558, allocations: 98.16 kB / 444.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.2559, allocations: 338.8 kB / 445.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.2562, allocations: 196.9 kB / 445.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.2566, allocations: 265.7 kB / 445.7 MB, free: 9.703 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.2571, allocations: 379.3 kB / 446.1 MB, free: 9.332 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2571, allocations: 0 / 446.1 MB, free: 9.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007968/0.2579, allocations: 0.6044 MB / 446.7 MB, free: 8.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2579, allocations: 7.938 kB / 446.7 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2579, allocations: 3.938 kB / 446.7 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/0.2584, allocations: 302.6 kB / 447 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.2586, allocations: 59.95 kB / 447.1 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.2612, allocations: 2.813 MB / 449.9 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.2613, allocations: 27.97 kB / 449.9 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.2614, allocations: 16 kB / 449.9 MB, free: 5.379 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.0001375/0.2615, allocations: 169.5 kB / 450.1 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.2616, allocations: 31.81 kB / 450.1 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.2616, allocations: 59.67 kB / 450.2 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2616, allocations: 4 kB / 450.2 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2616, allocations: 0 / 450.2 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2616, allocations: 3.984 kB / 450.2 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.2631, allocations: 1.175 MB / 451.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2631, allocations: 4 kB / 451.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.2632, allocations: 75.91 kB / 451.4 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.2637, allocations: 284.5 kB / 451.7 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.2637, allocations: 19.98 kB / 451.7 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.2662, allocations: 2.704 MB / 454.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2662, allocations: 3.938 kB / 454.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.2674, allocations: 0.9411 MB / 455.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.2675, allocations: 75.77 kB / 455.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.2676, allocations: 15.94 kB / 455.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.2677, allocations: 31.97 kB / 455.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.2678, allocations: 76.28 kB / 455.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.2679, allocations: 15.98 kB / 455.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.268, allocations: 208.5 kB / 455.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.268, allocations: 0 / 455.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004557/0.2685, allocations: 151.9 kB / 455.9 MB, free: 15.15 MB / 362.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.002343/0.2708, allocations: 1.803 MB / 457.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009589/0.2718, allocations: 0.6635 MB / 458.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2718, allocations: 0 / 458.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005026/0.2723, allocations: 456.2 kB / 458.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.2726, allocations: 50.81 kB / 458.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.2768, allocations: 3.807 MB / 462.7 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.277, allocations: 194.8 kB / 462.9 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.2771, allocations: 74.92 kB / 463 MB, free: 8.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.2773, allocations: 115.4 kB / 463.1 MB, free: 7.977 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2773, allocations: 0 / 463.1 MB, free: 7.977 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09308/0.3704, allocations: 11.68 MB / 474.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.253, allocations: 6.906 kB / 474.8 MB, free: 12.38 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.continuous,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.smoothness,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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.continuous,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.smoothness,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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/Rotational/Examples/LossyGearDemo1/LossyGearDemo1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 11.03006464522332]