Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007373/0.0007373, allocations: 80.11 kB / 9.905 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009815/0.001719, allocations: 441.7 kB / 10.34 MB, free: 360 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007256/0.0007256, allocations: 157.1 kB / 11.22 MB, free: 2.949 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000926/0.001652, allocations: 467.6 kB / 11.68 MB, free: 2.488 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8991/0.8991, allocations: 177.4 MB / 189.9 MB, free: 4.863 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07322/0.9723, allocations: 53.86 MB / 243.7 MB, free: 14.94 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 3.938 kB / 244.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.765e-06/9.078e-06, allocations: 5.828 kB / 244.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1): time 0.002977/0.002986, allocations: 2.585 MB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.004449, allocations: 1.13 MB / 248.6 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.004551, allocations: 4 kB / 248.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.004728, allocations: 75.3 kB / 248.7 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.005066, allocations: 191 kB / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.005358, allocations: 179.6 kB / 249.1 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004403/0.005799, allocations: 0.5178 MB / 249.6 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.005933, allocations: 63.09 kB / 249.7 MB, free: 8.965 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.006334, allocations: 348.1 kB / 250 MB, free: 8.625 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.0066, allocations: 227.5 kB / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.006657, allocations: 44 kB / 250.3 MB, free: 8.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.006878, allocations: 143.8 kB / 250.4 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.249e-05/0.006971, allocations: 75.81 kB / 250.5 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.007082, allocations: 115.7 kB / 250.6 MB, free: 8.031 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.007507, allocations: 390.7 kB / 251 MB, free: 7.648 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-05/0.007521, allocations: 3.984 kB / 251 MB, free: 7.645 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007522, allocations: 0 / 251 MB, free: 7.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.007534, allocations: 0 / 251 MB, free: 7.645 MB / 250.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.0009374/0.008471, allocations: 0.6748 MB / 251.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.008503, allocations: 8.625 kB / 251.7 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.112e-05/0.008564, allocations: 70.67 kB / 251.7 MB, free: 6.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.008881, allocations: 161.9 kB / 251.9 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.009201, allocations: 225.9 kB / 252.1 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.009312, allocations: 148 kB / 252.3 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.009365, allocations: 40.25 kB / 252.3 MB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.009805, allocations: 341.3 kB / 252.6 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.009818, allocations: 0 / 252.6 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.009844, allocations: 12 kB / 252.6 MB, free: 5.859 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.009853, allocations: 8 kB / 252.7 MB, free: 5.852 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.01018, allocations: 191.2 kB / 252.8 MB, free: 5.664 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01121, allocations: 0.6436 MB / 253.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.01157, allocations: 193.2 kB / 253.7 MB, free: 4.789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.01172, allocations: 98.2 kB / 253.8 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.01175, allocations: 12.48 kB / 253.8 MB, free: 4.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.01177, allocations: 39.06 kB / 253.8 MB, free: 4.633 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 2.896e-06/0.01178, allocations: 4 kB / 253.8 MB, free: 4.629 MB / 250.7 MB Notification: Performance of matching and sorting (n=55): time 0.00247/0.01425, allocations: 1.29 MB / 255.1 MB, free: 3.289 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.01427, allocations: 55.91 kB / 255.2 MB, free: 3.219 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.01444, allocations: 234.6 kB / 255.4 MB, free: 2.977 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.01447, allocations: 37.7 kB / 255.4 MB, free: 2.934 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.01453, allocations: 132.9 kB / 255.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.01464, allocations: 190.4 kB / 255.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.01477, allocations: 86.14 kB / 255.8 MB, free: 2.523 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.01486, allocations: 346.7 kB / 256.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.01505, allocations: 67.8 kB / 256.2 MB, free: 2.109 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.0152, allocations: 137.7 kB / 256.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.01547, allocations: 209.2 kB / 256.6 MB, free: 1.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01548, allocations: 0 / 256.6 MB, free: 1.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004288/0.0159, allocations: 306.8 kB / 256.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.01592, allocations: 4 kB / 256.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.01592, allocations: 0 / 256.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/0.01637, allocations: 218.5 kB / 257.1 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.0166, allocations: 87.86 kB / 257.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.01868, allocations: 2.087 MB / 259.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.01883, allocations: 19.98 kB / 259.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.01886, allocations: 19.98 kB / 259.3 MB, free: 14.91 MB / 266.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.0001101/0.01897, allocations: 140.6 kB / 259.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.01905, allocations: 43.91 kB / 259.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.0191, allocations: 47.61 kB / 259.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.01911, allocations: 8 kB / 259.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01911, allocations: 0 / 259.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01911, allocations: 0 / 259.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.02019, allocations: 0.7332 MB / 260.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.02019, allocations: 3.938 kB / 260.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.02043, allocations: 83.92 kB / 260.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.02054, allocations: 43.78 kB / 260.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004059/0.02095, allocations: 212.1 kB / 260.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.02098, allocations: 15.98 kB / 260.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.02286, allocations: 2.056 MB / 262.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.02286, allocations: 4 kB / 262.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.0235, allocations: 0.5024 MB / 263.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.02354, allocations: 12 kB / 263.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.02372, allocations: 23.98 kB / 263.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.02385, allocations: 72.42 kB / 263.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.02388, allocations: 11.98 kB / 263.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.324e-05/0.02396, allocations: 82.78 kB / 263.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02396, allocations: 0 / 263.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004741/0.02444, allocations: 151.9 kB / 263.5 MB, free: 10.5 MB / 266.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.001963/0.0264, allocations: 1.39 MB / 264.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006037/0.027, allocations: 473.5 kB / 265.4 MB, free: 8.789 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.02701, allocations: 4 kB / 265.4 MB, free: 8.785 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.0274, allocations: 378 kB / 265.8 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.02773, allocations: 119.3 kB / 265.9 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.03221, allocations: 1.919 MB / 267.8 MB, free: 6.301 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.542e-05/0.03229, allocations: 114.3 kB / 267.9 MB, free: 6.164 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.03242, allocations: 58.95 kB / 268 MB, free: 6.109 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.03263, allocations: 175.3 kB / 268.1 MB, free: 5.938 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.03263, allocations: 0 / 268.1 MB, free: 5.938 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.1293/0.1619, allocations: 15.02 MB / 283.2 MB, free: 20.3 MB / 266.7 MB Notification: FMU-only work: backend 0.0007558, simCode 0.0009099, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0599/0.2218, allocations: 1.562 MB / 284.7 MB, free: 18.67 MB / 266.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.937/3.158, allocations: 17.59 kB / 284.7 MB, free: 18.65 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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] Reference file matches (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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.flange_a.phi),der(Inertia2.flange_b.phi),der(Inertia2.phi),der(Inertia2.w),der(der(gear.phi_b)),der(gear.flange_b.phi),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),der(torque2.flange.phi),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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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] Reference file matches (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode_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 CoSimulation --output-interval 0.001 ../Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_fmpy-fmi3-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_fmpy-fmi3-cs-cvode_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] Reference file matches [Calling sys.exit(0), Time elapsed: 5.59863605350256]