Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009335, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008856/0.0008856, allocations: 157 kB / 23.94 MB, free: 0.6211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8577/0.8577, allocations: 173.3 MB / 200.4 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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.964e-06/1.964e-06, allocations: 0 / 320 MB, free: 5.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.866e-05, allocations: 9.516 kB / 320 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.006082/0.006101, allocations: 7.23 MB / 327.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.008989, allocations: 2.54 MB / 329.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/0.009402, allocations: 39.81 kB / 329.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.01054, allocations: 0.5121 MB / 330.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.01111, allocations: 492.2 kB / 330.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.01151, allocations: 362.2 kB / 331.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009372/0.01245, allocations: 1.561 MB / 332.7 MB, free: 8.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/0.0129, allocations: 395.9 kB / 333.1 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006182/0.01352, allocations: 0.8573 MB / 334 MB, free: 7.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003731/0.01389, allocations: 438.5 kB / 334.4 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.014, allocations: 140 kB / 334.5 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.01421, allocations: 176 kB / 334.7 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.01434, allocations: 294.9 kB / 335 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.01462, allocations: 454.8 kB / 335.4 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.01573, allocations: 1.729 MB / 337.2 MB, free: 4.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01574, allocations: 4 kB / 337.2 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01574, allocations: 0 / 337.2 MB, free: 4.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.01575, allocations: 0 / 337.2 MB, free: 4.215 MB / 298.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.001746/0.0175, allocations: 1.446 MB / 338.6 MB, free: 2.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.01754, allocations: 8.922 kB / 338.6 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.01766, allocations: 152.3 kB / 338.8 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/0.01802, allocations: 192 kB / 339 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.01882, allocations: 0.7321 MB / 339.7 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.01886, allocations: 70.38 kB / 339.8 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.991e-05/0.01895, allocations: 108.1 kB / 339.9 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.01996, allocations: 1.025 MB / 340.9 MB, free: 364 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.01998, allocations: 3.938 kB / 340.9 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.02004, allocations: 44 kB / 340.9 MB, free: 316 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.02005, allocations: 24 kB / 341 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007889/0.02084, allocations: 0.6364 MB / 341.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.0241, allocations: 3.69 MB / 345.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.02472, allocations: 411.2 kB / 345.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.02491, allocations: 160.7 kB / 345.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.02493, allocations: 4 kB / 345.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.02495, allocations: 38.56 kB / 345.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 1.473e-06/0.02495, allocations: 0 / 345.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001463/0.02641, allocations: 1.192 MB / 347.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.02646, allocations: 106.8 kB / 347.2 MB, free: 9.766 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.02722, allocations: 0.9092 MB / 348.1 MB, free: 8.832 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.02724, allocations: 33.7 kB / 348.1 MB, free: 8.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.02751, allocations: 0.5969 MB / 348.7 MB, free: 8.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.02758, allocations: 162.6 kB / 348.9 MB, free: 8.027 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.0277, allocations: 134.6 kB / 349 MB, free: 7.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.02778, allocations: 334 kB / 349.3 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.028, allocations: 176.8 kB / 349.5 MB, free: 7.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.02836, allocations: 0.5364 MB / 350.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005797/0.02894, allocations: 0.6904 MB / 350.7 MB, free: 5.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.02894, allocations: 7.938 kB / 350.8 MB, free: 5.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009991/0.02994, allocations: 0.7471 MB / 351.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.02996, allocations: 11.94 kB / 351.5 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.02997, allocations: 12 kB / 351.5 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/0.03007, allocations: 37.47 kB / 351.6 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.03039, allocations: 167.7 kB / 351.7 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006264/0.03102, allocations: 1.271 MB / 353 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.03128, allocations: 39.94 kB / 353 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.03131, allocations: 40.09 kB / 353.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000362/0.03167, allocations: 358.1 kB / 353.4 MB, free: 3.031 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003257/0.032, allocations: 0.5284 MB / 354 MB, free: 2.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000511/0.03251, allocations: 0.6521 MB / 354.6 MB, free: 1.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.376e-06/0.03251, allocations: 4 kB / 354.6 MB, free: 1.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.0006836/0.0332, allocations: 0.7285 MB / 355.3 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.03321, allocations: 12 kB / 355.4 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.03321, allocations: 12 kB / 355.4 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-05/0.03327, allocations: 36.84 kB / 355.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.03356, allocations: 167.7 kB / 355.6 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000533/0.03409, allocations: 1.279 MB / 356.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.03434, allocations: 40.09 kB / 356.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.03437, allocations: 36 kB / 356.9 MB, free: 15.11 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.0001116/0.03448, allocations: 228 kB / 357.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-05/0.03456, allocations: 95.39 kB / 357.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.03506, allocations: 435.2 kB / 357.7 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.03506, allocations: 8 kB / 357.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.03507, allocations: 0 / 357.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.03507, allocations: 0 / 357.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.03652, allocations: 1.263 MB / 358.9 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.03652, allocations: 0 / 358.9 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.03673, allocations: 84.11 kB / 359 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.013e-05/0.03678, allocations: 20.86 kB / 359 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.0368, allocations: 11.98 kB / 359 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005135/0.03731, allocations: 1.263 MB / 360.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.03731, allocations: 3.938 kB / 360.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.03798, allocations: 0.7189 MB / 361 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.03815, allocations: 127.4 kB / 361.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.03821, allocations: 23.86 kB / 361.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.0384, allocations: 19.98 kB / 361.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.03845, allocations: 31.89 kB / 361.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.03846, allocations: 12 kB / 361.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005341/0.039, allocations: 0.6093 MB / 361.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.039, allocations: 3.938 kB / 361.9 MB, free: 9.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006707/0.03967, allocations: 348 kB / 362.2 MB, free: 9.57 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.0009484/0.04062, allocations: 1.273 MB / 363.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000976/0.04159, allocations: 0.9302 MB / 364.4 MB, free: 7.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.0416, allocations: 3.938 kB / 364.4 MB, free: 7.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.04183, allocations: 272.1 kB / 364.7 MB, free: 7.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.0425, allocations: 243.9 kB / 364.9 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007966/0.05047, allocations: 7.563 MB / 372.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.05076, allocations: 447.6 kB / 372.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003017/0.05106, allocations: 123.3 kB / 373 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.05138, allocations: 396.4 kB / 373.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.05138, allocations: 0 / 373.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09049/0.1419, allocations: 21.69 MB / 395.1 MB, free: 8.395 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.825, allocations: 4 kB / 395.1 MB, free: 8.391 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled.fmu) > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_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_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_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.0.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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_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_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_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.0.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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_CurrentControlled/DCPM_CurrentControlled.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled.fmu) > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.421165338717401]