Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001048/0.001048, allocations: 80.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001018/0.001018, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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.9392/0.9392, allocations: 177.4 MB / 204.5 MB, free: 5.285 MB / 186.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.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 326.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.106e-05, allocations: 4.672 kB / 326.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.006885/0.006906, allocations: 8.475 MB / 335.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004231/0.01114, allocations: 2.967 MB / 338.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000695/0.01183, allocations: 35.81 kB / 338.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.01292, allocations: 0.5664 MB / 338.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008393/0.01376, allocations: 0.6006 MB / 339.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.01418, allocations: 323.4 kB / 339.8 MB, free: 1.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.01532, allocations: 1.843 MB / 341.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.01578, allocations: 421.2 kB / 342.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008053/0.01659, allocations: 1.044 MB / 343.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004699/0.01706, allocations: 0.5452 MB / 343.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.01719, allocations: 160 kB / 343.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.01742, allocations: 200 kB / 344 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.01759, allocations: 338.7 kB / 344.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006041/0.01819, allocations: 0.5573 MB / 344.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.01949, allocations: 2.009 MB / 346.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.0195, allocations: 0 / 346.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.0195, allocations: 0 / 346.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.01951, allocations: 0 / 346.9 MB, free: 10.05 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001916/0.02143, allocations: 1.747 MB / 348.6 MB, free: 8.254 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.02147, allocations: 11.98 kB / 348.7 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.02162, allocations: 168.9 kB / 348.8 MB, free: 8.066 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.02196, allocations: 203.9 kB / 349 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009229/0.02289, allocations: 0.7672 MB / 349.8 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.023, allocations: 167.8 kB / 350 MB, free: 6.883 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.02311, allocations: 120.2 kB / 350.1 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.02443, allocations: 1.569 MB / 351.6 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.02446, allocations: 7.984 kB / 351.6 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.02452, allocations: 48 kB / 351.7 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.02454, allocations: 24 kB / 351.7 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.02568, allocations: 0.7535 MB / 352.5 MB, free: 4.172 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/0.02902, allocations: 3.367 MB / 355.8 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009209/0.02994, allocations: 0.5444 MB / 356.4 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.03026, allocations: 246.8 kB / 356.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.0303, allocations: 12.48 kB / 356.6 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004002/0.0307, allocations: 319.9 kB / 356.9 MB, free: 15.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 2.385e-06/0.0307, allocations: 0 / 356.9 MB, free: 15.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.00268/0.03338, allocations: 1.865 MB / 358.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003026/0.03368, allocations: 475.2 kB / 359.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009546/0.03463, allocations: 1.125 MB / 360.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.03467, allocations: 45.7 kB / 360.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.03499, allocations: 0.656 MB / 361.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.03511, allocations: 245.9 kB / 361.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.03529, allocations: 194.8 kB / 361.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.03537, allocations: 345.9 kB / 361.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.03573, allocations: 305.9 kB / 362.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.03639, allocations: 1.157 MB / 363.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/0.03723, allocations: 0.949 MB / 364.3 MB, free: 7.477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.03723, allocations: 4 kB / 364.3 MB, free: 7.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001275/0.03851, allocations: 1.192 MB / 365.5 MB, free: 6.242 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.03878, allocations: 75.83 kB / 365.5 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.03879, allocations: 12 kB / 365.6 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003786/0.03917, allocations: 171.7 kB / 365.7 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.03955, allocations: 207.6 kB / 365.9 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/0.04222, allocations: 3.638 MB / 369.6 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.04269, allocations: 63.92 kB / 369.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.04274, allocations: 47.98 kB / 369.7 MB, free: 1.797 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.04306, allocations: 297.7 kB / 370 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-05/0.04315, allocations: 131.2 kB / 370.1 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009118/0.04407, allocations: 0.7099 MB / 370.8 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.04407, allocations: 4 kB / 370.8 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.04407, allocations: 4 kB / 370.8 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008297/0.0449, allocations: 0.9512 MB / 371.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.04688, allocations: 1.608 MB / 373.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.04688, allocations: 11.92 kB / 373.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.04714, allocations: 100 kB / 373.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/0.04739, allocations: 129.8 kB / 373.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.04741, allocations: 19.98 kB / 373.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.04945, allocations: 3.357 MB / 377 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.04946, allocations: 3.938 kB / 377 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.05059, allocations: 1.054 MB / 378 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.05086, allocations: 175.2 kB / 378.2 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.05094, allocations: 20 kB / 378.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.05126, allocations: 43.91 kB / 378.3 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.05136, allocations: 60.33 kB / 378.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.05139, allocations: 16 kB / 378.3 MB, free: 8.633 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007031/0.05209, allocations: 0.7561 MB / 379.1 MB, free: 7.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.05209, allocations: 0 / 379.1 MB, free: 7.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007184/0.05281, allocations: 308 kB / 379.4 MB, free: 7.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00161/0.05442, allocations: 1.623 MB / 381 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.05574, allocations: 1.122 MB / 382.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.05575, allocations: 1.875 kB / 382.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005375/0.05628, allocations: 0.5355 MB / 382.7 MB, free: 4.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/0.05715, allocations: 326.6 kB / 383 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.06782, allocations: 9.892 MB / 392.9 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.06816, allocations: 0.4896 MB / 393.4 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004098/0.06857, allocations: 149.8 kB / 393.5 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/0.06919, allocations: 476.3 kB / 394 MB, free: 8.199 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.06919, allocations: 0 / 394 MB, free: 8.199 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.1822, allocations: 31.77 MB / 425.8 MB, free: 8.824 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.087/9.269, allocations: 11.88 kB / 425.8 MB, free: 8.812 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference:time,armature.T,core.T,dcpm.la.i,loadInertia.phi,loadInertia.w Variables in the result:Ca,Cc,CoolantFlow,G_armature_core,G_core_cooling,JLoad,Losses,T0,TAmbient,TLoad,Va,Ve,armature.C,armature.T,armature.der_T,armature.port.Q_flow,armature.port.T,armatureCore.G,armatureCore.Q_flow,armatureCore.dT,armatureCore.port_a.Q_flow,armatureCore.port_a.T,armatureCore.port_b.Q_flow,armatureCore.port_b.T,armatureVoltage.V,armatureVoltage.i,armatureVoltage.n.i,armatureVoltage.n.v,armatureVoltage.p.i,armatureVoltage.p.v,armatureVoltage.v,cooling.Q_flow,cooling.Q_friction,cooling.T,cooling.T0,cooling.T0fixed,cooling.T_a,cooling.T_b,cooling.T_q,cooling.V_flow,cooling.V_flowLaminar,cooling.V_flowNominal,cooling.dT,cooling.dp,cooling.dpLaminar,cooling.dpNominal,cooling.flowPort_a.H_flow,cooling.flowPort_a.h,cooling.flowPort_a.m_flow,cooling.flowPort_a.medium.cp,cooling.flowPort_a.medium.cv,cooling.flowPort_a.medium.lambda,cooling.flowPort_a.medium.nu,cooling.flowPort_a.medium.rho,cooling.flowPort_a.p,cooling.flowPort_b.H_flow,cooling.flowPort_b.h,cooling.flowPort_b.m_flow,cooling.flowPort_b.medium.cp,cooling.flowPort_b.medium.cv,cooling.flowPort_b.medium.lambda,cooling.flowPort_b.medium.nu,cooling.flowPort_b.medium.rho,cooling.flowPort_b.p,cooling.frictionLoss,cooling.g,cooling.h_g,cooling.heatPort.Q_flow,cooling.heatPort.T,cooling.m,cooling.medium.cp,cooling.medium.cv,cooling.medium.lambda,cooling.medium.nu,cooling.medium.rho,cooling.pressureDrop,cooling.tapT,cooling.useHeatPort,cooling.volumeFlow,core.C,core.T,core.der_T,core.port.Q_flow,core.port.T,coreCooling.G,coreCooling.Q_flow,coreCooling.dT,coreCooling.port_a.Q_flow,coreCooling.port_a.T,coreCooling.port_b.Q_flow,coreCooling.port_b.T,dTArmature,dTCoolant,dcpm.IaNominal,dcpm.Jr,dcpm.Js,dcpm.La,dcpm.Ra,dcpm.TaNominal,dcpm.TaOperational,dcpm.TaRef,dcpm.TpmOperational,dcpm.VaNominal,dcpm.airGapDC.Le,dcpm.airGapDC.flange.phi,dcpm.airGapDC.flange.tau,dcpm.airGapDC.ia,dcpm.airGapDC.ie,dcpm.airGapDC.pin_an.i,dcpm.airGapDC.pin_an.v,dcpm.airGapDC.pin_ap.i,dcpm.airGapDC.pin_ap.v,dcpm.airGapDC.pin_en.i,dcpm.airGapDC.pin_en.v,dcpm.airGapDC.pin_ep.i,dcpm.airGapDC.pin_ep.v,dcpm.airGapDC.psi_e,dcpm.airGapDC.quasiStatic,dcpm.airGapDC.support.phi,dcpm.airGapDC.support.tau,dcpm.airGapDC.tauElectrical,dcpm.airGapDC.turnsRatio,dcpm.airGapDC.vai,dcpm.airGapDC.vei,dcpm.airGapDC.w,dcpm.alpha20a,dcpm.brush.brushParameters.ILinear,dcpm.brush.brushParameters.V,dcpm.brush.heatPort.Q_flow,dcpm.brush.heatPort.T,dcpm.brush.i,dcpm.brush.lossPower,dcpm.brush.n.i,dcpm.brush.n.v,dcpm.brush.p.i,dcpm.brush.p.v,dcpm.brush.useHeatPort,dcpm.brush.v,dcpm.brushParameters.ILinear,dcpm.brushParameters.V,dcpm.core.Gc,dcpm.core.coreParameters.GcRef,dcpm.core.coreParameters.PRef,dcpm.core.coreParameters.VRef,dcpm.core.coreParameters.m,dcpm.core.coreParameters.ratioHysteresis,dcpm.core.coreParameters.wMin,dcpm.core.coreParameters.wRef,dcpm.core.heatPort.Q_flow,dcpm.core.heatPort.T,dcpm.core.i,dcpm.core.lossPower,dcpm.core.n.i,dcpm.core.n.v,dcpm.core.p.i,dcpm.core.p.v,dcpm.core.useHeatPort,dcpm.core.v,dcpm.core.w,dcpm.coreParameters.GcRef,dcpm.coreParameters.PRef,dcpm.coreParameters.VRef,dcpm.coreParameters.m,dcpm.coreParameters.ratioHysteresis,dcpm.coreParameters.wMin,dcpm.coreParameters.wRef,dcpm.eGround.p.i,dcpm.eGround.p.v,dcpm.fixed.flange.phi,dcpm.fixed.flange.tau,dcpm.fixed.phi0,dcpm.flange.phi,dcpm.flange.tau,dcpm.friction.flange.phi,dcpm.friction.flange.tau,dcpm.friction.frictionParameters.PRef,dcpm.friction.frictionParameters.linear,dcpm.friction.frictionParameters.power_w,dcpm.friction.frictionParameters.tauLinear,dcpm.friction.frictionParameters.tauRef,dcpm.friction.frictionParameters.wLinear,dcpm.friction.frictionParameters.wRef,dcpm.friction.heatPort.Q_flow,dcpm.friction.heatPort.T,dcpm.friction.lossPower,dcpm.friction.phi,dcpm.friction.support.phi,dcpm.friction.support.tau,dcpm.friction.tau,dcpm.friction.useHeatPort,dcpm.friction.w,dcpm.frictionParameters.PRef,dcpm.frictionParameters.linear,dcpm.frictionParameters.power_w,dcpm.frictionParameters.tauLinear,dcpm.frictionParameters.tauRef,dcpm.frictionParameters.wLinear,dcpm.frictionParameters.wRef,dcpm.ia,dcpm.ie.I,dcpm.ie.i,dcpm.ie.n.i,dcpm.ie.n.v,dcpm.ie.p.i,dcpm.ie.p.v,dcpm.ie.v,dcpm.inertiaRotor.J,dcpm.inertiaRotor.a,dcpm.inertiaRotor.flange_a.phi,dcpm.inertiaRotor.flange_a.tau,dcpm.inertiaRotor.flange_b.phi,dcpm.inertiaRotor.flange_b.tau,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.stateSelect,dcpm.inertiaRotor.w,dcpm.inertiaStator.J,dcpm.inertiaStator.a,dcpm.inertiaStator.flange_a.phi,dcpm.inertiaStator.flange_a.tau,dcpm.inertiaStator.flange_b.phi,dcpm.inertiaStator.flange_b.tau,dcpm.inertiaStator.phi,dcpm.inertiaStator.stateSelect,dcpm.inertiaStator.w,dcpm.la.L,dcpm.la.i,dcpm.la.n.i,dcpm.la.n.v,dcpm.la.p.i,dcpm.la.p.v,dcpm.la.quasiStatic,dcpm.la.v,dcpm.phiMechanical,dcpm.pin_an.i,dcpm.pin_an.v,dcpm.pin_ap.i,dcpm.pin_ap.v,dcpm.powerBalance.lossPowerArmature,dcpm.powerBalance.lossPowerBrush,dcpm.powerBalance.lossPowerCore,dcpm.powerBalance.lossPowerFriction,dcpm.powerBalance.lossPowerPermanentMagnet,dcpm.powerBalance.lossPowerStrayLoad,dcpm.powerBalance.lossPowerTotal,dcpm.powerBalance.powerArmature,dcpm.powerBalance.powerInertiaRotor,dcpm.powerBalance.powerInertiaStator,dcpm.powerBalance.powerMechanical,dcpm.ra.LossPower,dcpm.ra.R,dcpm.ra.R_actual,dcpm.ra.T,dcpm.ra.T_heatPort,dcpm.ra.T_ref,dcpm.ra.alpha,dcpm.ra.heatPort.Q_flow,dcpm.ra.heatPort.T,dcpm.ra.i,dcpm.ra.n.i,dcpm.ra.n.v,dcpm.ra.p.i,dcpm.ra.p.v,dcpm.ra.useHeatPort,dcpm.ra.v,dcpm.strayLoad.flange.phi,dcpm.strayLoad.flange.tau,dcpm.strayLoad.heatPort.Q_flow,dcpm.strayLoad.heatPort.T,dcpm.strayLoad.i,dcpm.strayLoad.lossPower,dcpm.strayLoad.n.i,dcpm.strayLoad.n.v,dcpm.strayLoad.p.i,dcpm.strayLoad.p.v,dcpm.strayLoad.phi,dcpm.strayLoad.strayLoadParameters.IRef,dcpm.strayLoad.strayLoadParameters.PRef,dcpm.strayLoad.strayLoadParameters.power_w,dcpm.strayLoad.strayLoadParameters.tauRef,dcpm.strayLoad.strayLoadParameters.wRef,dcpm.strayLoad.support.phi,dcpm.strayLoad.support.tau,dcpm.strayLoad.tau,dcpm.strayLoad.useHeatPort,dcpm.strayLoad.v,dcpm.strayLoad.w,dcpm.strayLoadParameters.IRef,dcpm.strayLoadParameters.PRef,dcpm.strayLoadParameters.power_w,dcpm.strayLoadParameters.tauRef,dcpm.strayLoadParameters.wRef,dcpm.tauElectrical,dcpm.tauShaft,dcpm.thermalPort.heatPortArmature.Q_flow,dcpm.thermalPort.heatPortArmature.T,dcpm.thermalPort.heatPortBrush.Q_flow,dcpm.thermalPort.heatPortBrush.T,dcpm.thermalPort.heatPortCore.Q_flow,dcpm.thermalPort.heatPortCore.T,dcpm.thermalPort.heatPortFriction.Q_flow,dcpm.thermalPort.heatPortFriction.T,dcpm.thermalPort.heatPortPermanentMagnet.Q_flow,dcpm.thermalPort.heatPortPermanentMagnet.T,dcpm.thermalPort.heatPortStrayLoad.Q_flow,dcpm.thermalPort.heatPortStrayLoad.T,dcpm.useSupport,dcpm.useThermalPort,dcpm.va,dcpm.wMechanical,dcpm.wNominal,dcpmData.IaNominal,dcpmData.Jr,dcpmData.Js,dcpmData.La,dcpmData.Ra,dcpmData.TaNominal,dcpmData.TaRef,dcpmData.VaNominal,dcpmData.ViNominal,dcpmData.alpha20a,dcpmData.brushParameters.ILinear,dcpmData.brushParameters.V,dcpmData.coreParameters.GcRef,dcpmData.coreParameters.PRef,dcpmData.coreParameters.VRef,dcpmData.coreParameters.m,dcpmData.coreParameters.ratioHysteresis,dcpmData.coreParameters.wMin,dcpmData.coreParameters.wRef,dcpmData.frictionParameters.PRef,dcpmData.frictionParameters.linear,dcpmData.frictionParameters.power_w,dcpmData.frictionParameters.tauLinear,dcpmData.frictionParameters.tauRef,dcpmData.frictionParameters.wLinear,dcpmData.frictionParameters.wRef,dcpmData.strayLoadParameters.IRef,dcpmData.strayLoadParameters.PRef,dcpmData.strayLoadParameters.power_w,dcpmData.strayLoadParameters.tauRef,dcpmData.strayLoadParameters.wRef,dcpmData.wNominal,der(armature.T),der(core.T),der(dcpm.friction.phi),der(dcpm.inertiaRotor.w),der(dcpm.la.i),der(dcpm.phiMechanical),der(dcpm.strayLoad.phi),der(loadInertia.phi),fixedTemperature.T,fixedTemperature.port.Q_flow,fixedTemperature.port.T,groundArmature.p.i,groundArmature.p.v,inlet.T,inlet.T0,inlet.T0fixed,inlet.T_port,inlet.constantAmbientPressure,inlet.constantAmbientTemperature,inlet.flowPort.H_flow,inlet.flowPort.h,inlet.flowPort.m_flow,inlet.flowPort.medium.cp,inlet.flowPort.medium.cv,inlet.flowPort.medium.lambda,inlet.flowPort.medium.nu,inlet.flowPort.medium.rho,inlet.flowPort.p,inlet.medium.cp,inlet.medium.cv,inlet.medium.lambda,inlet.medium.nu,inlet.medium.rho,inlet.usePressureInput,inlet.useTemperatureInput,loadInertia.J,loadInertia.a,loadInertia.flange_a.phi,loadInertia.flange_a.tau,loadInertia.flange_b.phi,loadInertia.flange_b.tau,loadInertia.phi,loadInertia.stateSelect,loadInertia.w,loadTorque.flange.phi,loadTorque.flange.tau,loadTorque.tau,loadTorque.useSupport,outlet.T,outlet.T0,outlet.T0fixed,outlet.T_port,outlet.constantAmbientPressure,outlet.constantAmbientTemperature,outlet.flowPort.H_flow,outlet.flowPort.h,outlet.flowPort.m_flow,outlet.flowPort.medium.cp,outlet.flowPort.medium.cv,outlet.flowPort.medium.lambda,outlet.flowPort.medium.nu,outlet.flowPort.medium.rho,outlet.flowPort.p,outlet.medium.cp,outlet.medium.cv,outlet.medium.lambda,outlet.medium.nu,outlet.medium.rho,outlet.usePressureInput,outlet.useTemperatureInput,pulse.amplitude,pulse.nperiod,pulse.offset,pulse.period,pulse.startTime,pulse.width,pulse.y,time,volumeFlow.Q_flow,volumeFlow.T,volumeFlow.T0,volumeFlow.T0fixed,volumeFlow.T_a,volumeFlow.T_b,volumeFlow.T_q,volumeFlow.V_flow,volumeFlow.constantVolumeFlow,volumeFlow.dT,volumeFlow.dp,volumeFlow.flowPort_a.H_flow,volumeFlow.flowPort_a.h,volumeFlow.flowPort_a.m_flow,volumeFlow.flowPort_a.medium.cp,volumeFlow.flowPort_a.medium.cv,volumeFlow.flowPort_a.medium.lambda,volumeFlow.flowPort_a.medium.nu,volumeFlow.flowPort_a.medium.rho,volumeFlow.flowPort_a.p,volumeFlow.flowPort_b.H_flow,volumeFlow.flowPort_b.h,volumeFlow.flowPort_b.m_flow,volumeFlow.flowPort_b.medium.cp,volumeFlow.flowPort_b.medium.cv,volumeFlow.flowPort_b.medium.lambda,volumeFlow.flowPort_b.medium.nu,volumeFlow.flowPort_b.medium.rho,volumeFlow.flowPort_b.p,volumeFlow.m,volumeFlow.medium.cp,volumeFlow.medium.cv,volumeFlow.medium.lambda,volumeFlow.medium.nu,volumeFlow.medium.rho,volumeFlow.tapT,volumeFlow.useVolumeFlowInput,w0 filterSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-euler.diff.mat", vars={"dcpm.la.i"}, 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/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_OMSimulator-cs-euler.diff.ref.mat", vars={"dcpm.la.i"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy_res.csv --output-variables armature.T core.T dcpm.la.i loadInertia.phi loadInertia.w --start-time 0 --stop-time 25 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.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: 15.973280061967671]