Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.001124/0.001124, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004053/0.004053, allocations: 166.4 kB / 24.7 MB, free: 9.406 MB / 18.57 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.8631/0.8631, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.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.SimpleGearShift,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 300 MB, free: 1.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.845e-05, allocations: 2.281 kB / 300 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.1074/0.1075, allocations: 2.619 MB / 302.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1087, allocations: 0.9041 MB / 303.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.1088, allocations: 10.61 kB / 303.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.109, allocations: 55.02 kB / 303.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.1092, allocations: 118.5 kB / 303.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.1096, allocations: 223 kB / 303.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.11, allocations: 0.5883 MB / 304.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.1101, allocations: 72.73 kB / 304.6 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1104, allocations: 351.3 kB / 304.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.1106, allocations: 221.5 kB / 305.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.1107, allocations: 44.47 kB / 305.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.1108, allocations: 96.53 kB / 305.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.871e-05/0.1109, allocations: 116.1 kB / 305.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.111, allocations: 158.3 kB / 305.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.1115, allocations: 0.5844 MB / 306.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1116, allocations: 0 / 306.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1116, allocations: 0 / 306.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1116, allocations: 0 / 306.1 MB, free: 13.41 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009175/0.1125, allocations: 0.6696 MB / 306.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1125, allocations: 14.52 kB / 306.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.1126, allocations: 83.19 kB / 306.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.1127, allocations: 47.16 kB / 306.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.113, allocations: 245.7 kB / 307.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.113, allocations: 32.12 kB / 307.2 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.1131, allocations: 40.03 kB / 307.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.1137, allocations: 446.1 kB / 307.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1137, allocations: 6.562 kB / 307.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.1137, allocations: 15.97 kB / 307.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1138, allocations: 11.19 kB / 307.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.1144, allocations: 456.1 kB / 308.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1159, allocations: 1.131 MB / 309.3 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.1165, allocations: 355.6 kB / 309.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.1168, allocations: 228.8 kB / 309.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.1168, allocations: 6.031 kB / 309.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.1168, allocations: 37.69 kB / 309.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.1168, allocations: 0 / 309.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.00321/0.12, allocations: 1.962 MB / 311.9 MB, free: 10.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.12, allocations: 57.11 kB / 311.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1202, allocations: 249.5 kB / 312.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.1203, allocations: 44.61 kB / 312.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.1203, allocations: 170 kB / 312.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.1204, allocations: 176 kB / 312.5 MB, free: 9.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.1205, allocations: 97.34 kB / 312.6 MB, free: 9.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.1206, allocations: 345.2 kB / 313 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.1209, allocations: 237.8 kB / 313.2 MB, free: 9.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.1212, allocations: 303.7 kB / 313.5 MB, free: 9.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.1218, allocations: 418.5 kB / 313.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1218, allocations: 8.5 kB / 313.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001041/0.1228, allocations: 0.7497 MB / 314.7 MB, free: 8.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1228, allocations: 5.281 kB / 314.7 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1228, allocations: 2.406 kB / 314.7 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007679/0.1236, allocations: 0.5468 MB / 315.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1238, allocations: 71.44 kB / 315.3 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.1253, allocations: 3.439 MB / 318.7 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.1256, allocations: 75.97 kB / 318.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.1256, allocations: 23.08 kB / 318.8 MB, free: 5.473 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.1258, allocations: 164 kB / 319 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.1258, allocations: 33.86 kB / 319 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000986/0.1268, allocations: 0.7175 MB / 319.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1268, allocations: 6.016 kB / 319.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1268, allocations: 2.031 kB / 319.8 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1268, allocations: 2.344 kB / 319.8 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.1282, allocations: 1.167 MB / 320.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1282, allocations: 0 / 320.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.1284, allocations: 55.45 kB / 321 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006355/0.129, allocations: 0.5331 MB / 321.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.129, allocations: 24.69 kB / 321.5 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.1303, allocations: 3.404 MB / 324.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1303, allocations: 2.531 kB / 324.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.1315, allocations: 1.023 MB / 326 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1317, allocations: 82.48 kB / 326 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.1317, allocations: 19.03 kB / 326.1 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.132, allocations: 72.11 kB / 326.1 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.1321, allocations: 100.6 kB / 326.2 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.1321, allocations: 22.5 kB / 326.3 MB, free: 352 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1322, allocations: 187.8 kB / 326.4 MB, free: 216 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1322, allocations: 0 / 326.4 MB, free: 216 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.1326, allocations: 122.8 kB / 326.6 MB, free: 200 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load.w,quadraticSpeedDependentTorque.phi,clutch.phi_rel,clutch.w_rel) * Number of discrete variables: 10 (clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 6 (clutch.mode,clutch.startBackward,brake.mode,brake.startBackward,brake.startForward,clutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/0.1342, allocations: 1.592 MB / 328.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.1353, allocations: 0.7648 MB / 328.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1353, allocations: 5.312 kB / 328.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.1358, allocations: 0.5213 MB / 329.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1362, allocations: 66.95 kB / 329.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.1411, allocations: 4.279 MB / 333.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.1413, allocations: 195.2 kB / 334 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.1414, allocations: 35.28 kB / 334 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.1415, allocations: 116.4 kB / 334.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1415, allocations: 4 kB / 334.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08493/0.2264, allocations: 12.81 MB / 346.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/8.775, allocations: 8 kB / 346.9 MB, free: 13.72 MB / 314.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.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.SimpleGearShift_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_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.SimpleGearShift_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_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/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,engine.phi,engine.w,load.phi,load.w,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:brake.a,brake.a_relfric,brake.cgeo,brake.f_normalized,brake.flange_a.phi,brake.flange_a.tau,brake.flange_b.phi,brake.flange_b.tau,brake.fn,brake.fn_max,brake.free,brake.locked,brake.lossPower,brake.mode,brake.mue0,brake.mue_pos[1,1],brake.mue_pos[1,2],brake.peak,brake.phi,brake.sa,brake.startBackward,brake.startForward,brake.tau,brake.tau0,brake.tau0_max,brake.useHeatPort,brake.useSupport,brake.w,brake.w_relfric,brake.w_small,clutch.a_rel,clutch.a_relfric,clutch.cgeo,clutch.f_normalized,clutch.flange_a.phi,clutch.flange_a.tau,clutch.flange_b.phi,clutch.flange_b.tau,clutch.fn,clutch.fn_max,clutch.free,clutch.locked,clutch.lossPower,clutch.mode,clutch.mue0,clutch.mue_pos[1,1],clutch.mue_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const1.k,const1.y,der(brake.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(engine.phi),der(engine.w),der(load.w),der(quadraticSpeedDependentTorque.phi),engine.J,engine.a,engine.flange_a.phi,engine.flange_a.tau,engine.flange_b.phi,engine.flange_b.tau,engine.phi,engine.stateSelect,engine.w,feedback.u1,feedback.u2,feedback.y,gearRatio,idealPlanetary.carrier.phi,idealPlanetary.carrier.tau,idealPlanetary.ratio,idealPlanetary.ring.phi,idealPlanetary.ring.tau,idealPlanetary.sun.phi,idealPlanetary.sun.tau,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,quadraticSpeedDependentTorque.TorqueDirection,quadraticSpeedDependentTorque.flange.phi,quadraticSpeedDependentTorque.flange.tau,quadraticSpeedDependentTorque.phi,quadraticSpeedDependentTorque.tau,quadraticSpeedDependentTorque.tau_nominal,quadraticSpeedDependentTorque.useSupport,quadraticSpeedDependentTorque.w,quadraticSpeedDependentTorque.w_nominal,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,time,torqueStep.flange.phi,torqueStep.flange.tau,torqueStep.offsetTorque,torqueStep.phi,torqueStep.startTime,torqueStep.stepTorque,torqueStep.tau,torqueStep.useSupport,wEngine,wLoad filterSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.diff.mat", vars={"load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, 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/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-cvode.diff.ref.mat", vars={"load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_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.SimpleGearShift_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_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/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,engine.phi,engine.w,load.phi,load.w,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:brake.a,brake.a_relfric,brake.cgeo,brake.f_normalized,brake.flange_a.phi,brake.flange_a.tau,brake.flange_b.phi,brake.flange_b.tau,brake.fn,brake.fn_max,brake.free,brake.locked,brake.lossPower,brake.mode,brake.mue0,brake.mue_pos[1,1],brake.mue_pos[1,2],brake.peak,brake.phi,brake.sa,brake.startBackward,brake.startForward,brake.tau,brake.tau0,brake.tau0_max,brake.useHeatPort,brake.useSupport,brake.w,brake.w_relfric,brake.w_small,clutch.a_rel,clutch.a_relfric,clutch.cgeo,clutch.f_normalized,clutch.flange_a.phi,clutch.flange_a.tau,clutch.flange_b.phi,clutch.flange_b.tau,clutch.fn,clutch.fn_max,clutch.free,clutch.locked,clutch.lossPower,clutch.mode,clutch.mue0,clutch.mue_pos[1,1],clutch.mue_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const1.k,const1.y,der(brake.phi),der(brake.w),der(clutch.phi_rel),der(clutch.w_rel),der(engine.phi),der(engine.w),der(load.w),der(quadraticSpeedDependentTorque.phi),engine.J,engine.a,engine.flange_a.phi,engine.flange_a.tau,engine.flange_b.phi,engine.flange_b.tau,engine.phi,engine.stateSelect,engine.w,feedback.u1,feedback.u2,feedback.y,gearRatio,idealPlanetary.carrier.phi,idealPlanetary.carrier.tau,idealPlanetary.ratio,idealPlanetary.ring.phi,idealPlanetary.ring.tau,idealPlanetary.sun.phi,idealPlanetary.sun.tau,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,quadraticSpeedDependentTorque.TorqueDirection,quadraticSpeedDependentTorque.flange.phi,quadraticSpeedDependentTorque.flange.tau,quadraticSpeedDependentTorque.phi,quadraticSpeedDependentTorque.tau,quadraticSpeedDependentTorque.tau_nominal,quadraticSpeedDependentTorque.useSupport,quadraticSpeedDependentTorque.w,quadraticSpeedDependentTorque.w_nominal,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,time,torqueStep.flange.phi,torqueStep.flange.tau,torqueStep.offsetTorque,torqueStep.phi,torqueStep.startTime,torqueStep.stepTorque,torqueStep.tau,torqueStep.useSupport,wEngine,wLoad filterSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.mat", vars={"brake.startForward", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, 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/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_OMSimulator-cs-euler.diff.ref.mat", vars={"brake.startForward", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv --output-variables clutch.phi_rel clutch.w_rel engine.phi engine.w load.phi load.w brake.mode brake.startBackward brake.startForward clutch.mode clutch.startBackward clutch.startForward --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_SimpleGearShift.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/SimpleGearShift/SimpleGearShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,engine.phi,engine.w,load.phi,load.w,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward Variables in the result:time,clutch.phi_rel,clutch.w_rel,load.w,engine.phi,engine.w,load.phi,brake.mode,clutch.mode,brake.startBackward,brake.startForward,clutch.startBackward,clutch.startForward filterSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.diff.mat", vars={"clutch.mode", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, 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/SimpleGearShift/SimpleGearShift.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_fmpy.diff.ref.mat", vars={"clutch.mode", "brake.mode", "load.w", "load.phi", "engine.w", "engine.phi", "clutch.w_rel", "clutch.phi_rel"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 11.24018883984536]