Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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.00157/0.00157, allocations: 84.34 kB / 20.67 MB, free: 3.887 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.0016/0.0016, allocations: 160.9 kB / 23.95 MB, free: 0.6133 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.9132/0.9132, allocations: 177.4 MB / 204.6 MB, free: 5.293 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_CurrentControlled,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 326.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.073e-05, allocations: 5.094 kB / 326.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.005983/0.006004, allocations: 7.266 MB / 334.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.009519, allocations: 2.649 MB / 336.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005324/0.01005, allocations: 35.81 kB / 336.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009986/0.01105, allocations: 0.516 MB / 337.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006373/0.01169, allocations: 484.2 kB / 337.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.01217, allocations: 367.4 kB / 338.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.01326, allocations: 1.56 MB / 339.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004615/0.01372, allocations: 388 kB / 340.1 MB, free: 0.918 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007644/0.01449, allocations: 0.8612 MB / 340.9 MB, free: 56 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.01489, allocations: 442.6 kB / 341.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.015, allocations: 140 kB / 341.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.0152, allocations: 180 kB / 341.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.01533, allocations: 286.8 kB / 342 MB, free: 15.03 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.01562, allocations: 458.8 kB / 342.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.01677, allocations: 1.725 MB / 344.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01677, allocations: 0 / 344.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01677, allocations: 0 / 344.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.01679, allocations: 4 kB / 344.1 MB, free: 12.84 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.001534/0.01832, allocations: 1.457 MB / 345.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.01836, allocations: 15.98 kB / 345.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.01849, allocations: 144.3 kB / 345.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.01885, allocations: 203.9 kB / 346 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008334/0.01969, allocations: 0.7166 MB / 346.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.01973, allocations: 78.31 kB / 346.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/0.01982, allocations: 104.1 kB / 346.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.02082, allocations: 1.059 MB / 347.9 MB, free: 8.938 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.02085, allocations: 11.94 kB / 347.9 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-05/0.0209, allocations: 40 kB / 348 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.02091, allocations: 24 kB / 348 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.02169, allocations: 0.6363 MB / 348.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.02482, allocations: 3.694 MB / 352.3 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.02543, allocations: 411.8 kB / 352.7 MB, free: 3.906 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.02561, allocations: 156.7 kB / 352.9 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.02563, allocations: 4 kB / 352.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.02565, allocations: 38.56 kB / 352.9 MB, free: 3.699 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 1.412e-06/0.02565, allocations: 3.938 kB / 352.9 MB, free: 3.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001475/0.02713, allocations: 1.197 MB / 354.1 MB, free: 2.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.02718, allocations: 132.5 kB / 354.2 MB, free: 2.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007602/0.02794, allocations: 0.9014 MB / 355.1 MB, free: 1.379 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.02797, allocations: 37.7 kB / 355.2 MB, free: 1.336 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.02824, allocations: 0.6047 MB / 355.8 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.306e-05/0.02831, allocations: 154.7 kB / 355.9 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.02843, allocations: 134.6 kB / 356.1 MB, free: 440 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.02851, allocations: 338 kB / 356.4 MB, free: 96 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.02873, allocations: 172.8 kB / 356.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.02911, allocations: 0.5624 MB / 357.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/0.02985, allocations: 0.6831 MB / 357.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.02985, allocations: 0 / 357.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007598/0.03061, allocations: 0.7513 MB / 358.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.03063, allocations: 15.92 kB / 358.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.03064, allocations: 12 kB / 358.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000108/0.03075, allocations: 32.86 kB / 358.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.03107, allocations: 168.1 kB / 358.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006631/0.03173, allocations: 1.279 MB / 360.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.032, allocations: 39.94 kB / 360.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.03203, allocations: 43.92 kB / 360.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003542/0.03238, allocations: 350.1 kB / 360.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003253/0.03271, allocations: 0.5586 MB / 361.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000507/0.03321, allocations: 0.6673 MB / 361.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.03322, allocations: 0 / 361.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.0006778/0.03389, allocations: 0.7283 MB / 362.4 MB, free: 9.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.0339, allocations: 8 kB / 362.5 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.03391, allocations: 12 kB / 362.5 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.917e-05/0.03397, allocations: 40.88 kB / 362.5 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.03426, allocations: 163.7 kB / 362.7 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007046/0.03496, allocations: 1.279 MB / 363.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.03522, allocations: 36.14 kB / 364 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.03524, allocations: 40 kB / 364 MB, free: 7.582 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.03536, allocations: 235.9 kB / 364.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.03543, allocations: 99.33 kB / 364.3 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.03591, allocations: 427.2 kB / 364.8 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.03591, allocations: 4 kB / 364.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.03592, allocations: 4 kB / 364.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.03592, allocations: 4 kB / 364.8 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.03723, allocations: 1.258 MB / 366 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.03723, allocations: 0 / 366 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.03744, allocations: 75.89 kB / 366.1 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.446e-05/0.03749, allocations: 29.02 kB / 366.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.03751, allocations: 12 kB / 366.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005306/0.03804, allocations: 1.263 MB / 367.4 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.03804, allocations: 7.922 kB / 367.4 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.03872, allocations: 0.7036 MB / 368.1 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.03888, allocations: 135.3 kB / 368.3 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.03894, allocations: 15.92 kB / 368.3 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.03914, allocations: 23.92 kB / 368.3 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.03919, allocations: 27.95 kB / 368.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.03921, allocations: 16 kB / 368.3 MB, free: 3.016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000535/0.03974, allocations: 0.6015 MB / 368.9 MB, free: 2.402 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03974, allocations: 4 kB / 368.9 MB, free: 2.398 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006873/0.04043, allocations: 348 kB / 369.3 MB, free: 2.059 MB / 330.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,loadTorque.phi,firstOrder.y,PID.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009126/0.04134, allocations: 1.281 MB / 370.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009438/0.04229, allocations: 0.9343 MB / 371.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.04229, allocations: 0 / 371.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.04251, allocations: 274.5 kB / 371.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.04318, allocations: 241.4 kB / 372 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009145/0.05232, allocations: 7.563 MB / 379.6 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.05265, allocations: 435.6 kB / 380 MB, free: 6.762 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004264/0.05308, allocations: 131.3 kB / 380.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.05347, allocations: 396.4 kB / 380.5 MB, free: 6.242 MB / 346.7 MB Notification: Performance of SimCode: time 1.403e-06/0.05347, allocations: 0 / 380.5 MB, free: 6.242 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/0.1554, allocations: 21.68 MB / 402.2 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/7.813, allocations: 8.016 kB / 402.2 MB, free: 0.8359 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_CurrentControlled/DCPM_CurrentControlled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_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_CurrentControlled_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_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_CurrentControlled/DCPM_CurrentControlled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_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_CurrentControlled_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_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_CurrentControlled/DCPM_CurrentControlled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,PID.I.y,dcpm.la.i,firstOrder.y,loadInertia.phi,loadInertia.w Variables in the result:JLoad,PID.Dzero.k,PID.Dzero.y,PID.I.initType,PID.I.k,PID.I.u,PID.I.use_reset,PID.I.use_set,PID.I.y,PID.I.y_start,PID.Nd,PID.Ni,PID.P.k,PID.P.u,PID.P.y,PID.Td,PID.Ti,PID.addFF.k1,PID.addFF.k2,PID.addFF.u1,PID.addFF.u2,PID.addFF.y,PID.addI.k1,PID.addI.k2,PID.addI.k3,PID.addI.u1,PID.addI.u2,PID.addI.u3,PID.addI.y,PID.addP.k1,PID.addP.k2,PID.addP.u1,PID.addP.u2,PID.addP.y,PID.addPID.k1,PID.addPID.k2,PID.addPID.k3,PID.addPID.u1,PID.addPID.u2,PID.addPID.u3,PID.addPID.y,PID.addSat.k1,PID.addSat.k2,PID.addSat.u1,PID.addSat.u2,PID.addSat.y,PID.controlError,PID.controllerType,PID.gainPID.k,PID.gainPID.u,PID.gainPID.y,PID.gainTrack.k,PID.gainTrack.u,PID.gainTrack.y,PID.homotopyType,PID.initType,PID.k,PID.kFF,PID.limiter.homotopyType,PID.limiter.strict,PID.limiter.u,PID.limiter.uMax,PID.limiter.uMin,PID.limiter.y,PID.strict,PID.u_ff,PID.u_m,PID.u_s,PID.wd,PID.withFeedForward,PID.wp,PID.xd_start,PID.xi_start,PID.y,PID.yMax,PID.yMin,PID.y_start,Ra,TLoad,Ta,Ti,Ts,ViNominal,currentSensor.i,currentSensor.n.i,currentSensor.n.v,currentSensor.p.i,currentSensor.p.v,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.thermalAmbient.Q_flowArmature,dcpm.thermalAmbient.Q_flowBrush,dcpm.thermalAmbient.Q_flowCore,dcpm.thermalAmbient.Q_flowFriction,dcpm.thermalAmbient.Q_flowPermanentMagnet,dcpm.thermalAmbient.Q_flowStrayLoad,dcpm.thermalAmbient.Q_flowTotal,dcpm.thermalAmbient.Ta,dcpm.thermalAmbient.Tpm,dcpm.thermalAmbient.constTa.k,dcpm.thermalAmbient.constTa.y,dcpm.thermalAmbient.constTpm.k,dcpm.thermalAmbient.constTpm.y,dcpm.thermalAmbient.temperatureArmature.T,dcpm.thermalAmbient.temperatureArmature.port.Q_flow,dcpm.thermalAmbient.temperatureArmature.port.T,dcpm.thermalAmbient.temperatureBrush.T,dcpm.thermalAmbient.temperatureBrush.port.Q_flow,dcpm.thermalAmbient.temperatureBrush.port.T,dcpm.thermalAmbient.temperatureCore.T,dcpm.thermalAmbient.temperatureCore.port.Q_flow,dcpm.thermalAmbient.temperatureCore.port.T,dcpm.thermalAmbient.temperatureFriction.T,dcpm.thermalAmbient.temperatureFriction.port.Q_flow,dcpm.thermalAmbient.temperatureFriction.port.T,dcpm.thermalAmbient.temperaturePermanentMagnet.T,dcpm.thermalAmbient.temperaturePermanentMagnet.port.Q_flow,dcpm.thermalAmbient.temperaturePermanentMagnet.port.T,dcpm.thermalAmbient.temperatureStrayLoad.T,dcpm.thermalAmbient.temperatureStrayLoad.port.Q_flow,dcpm.thermalAmbient.temperatureStrayLoad.port.T,dcpm.thermalAmbient.thermalPort.heatPortArmature.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortArmature.T,dcpm.thermalAmbient.thermalPort.heatPortBrush.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortBrush.T,dcpm.thermalAmbient.thermalPort.heatPortCore.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortCore.T,dcpm.thermalAmbient.thermalPort.heatPortFriction.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortFriction.T,dcpm.thermalAmbient.thermalPort.heatPortPermanentMagnet.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortPermanentMagnet.T,dcpm.thermalAmbient.thermalPort.heatPortStrayLoad.Q_flow,dcpm.thermalAmbient.thermalPort.heatPortStrayLoad.T,dcpm.thermalAmbient.useTemperatureInputs,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(PID.I.y),der(dcpm.friction.phi),der(dcpm.inertiaRotor.w),der(dcpm.la.i),der(dcpm.phiMechanical),der(dcpm.strayLoad.phi),der(firstOrder.y),der(loadTorque.phi),firstOrder.T,firstOrder.initType,firstOrder.k,firstOrder.u,firstOrder.y,firstOrder.y_start,ground.p.i,ground.p.v,k,kPhi,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.TorqueDirection,loadTorque.flange.phi,loadTorque.flange.tau,loadTorque.phi,loadTorque.tau,loadTorque.tau_nominal,loadTorque.useSupport,loadTorque.w,loadTorque.w_nominal,signalVoltage.i,signalVoltage.n.i,signalVoltage.n.v,signalVoltage.p.i,signalVoltage.p.v,signalVoltage.v,speedSensor.flange.phi,speedSensor.flange.tau,speedSensor.w,step.height,step.offset,step.startTime,step.y,time,wLoad filterSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.diff.mat", vars={"firstOrder.y", "dcpm.la.i", "PID.I.y"}, 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_CurrentControlled/DCPM_CurrentControlled.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.diff.ref.mat", vars={"firstOrder.y", "dcpm.la.i", "PID.I.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy_res.csv --output-variables PID.I.y dcpm.la.i firstOrder.y loadInertia.phi loadInertia.w --start-time 0 --stop-time 2 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_CurrentControlled/DCPM_CurrentControlled.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: 11.55944208893925]