Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009971/0.0009971, allocations: 79.7 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000988/0.000988, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.918/0.918, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,fileNamePrefix="Modelica_4_1_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_1_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.263e-06/1.263e-06, allocations: 3.938 kB / 326.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.308e-05, allocations: 4.812 kB / 326.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.01343/0.01344, allocations: 7.262 MB / 333.4 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009581/0.02302, allocations: 2.575 MB / 336 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/0.02352, allocations: 27.88 kB / 336 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.02461, allocations: 0.5199 MB / 336.5 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006933/0.02531, allocations: 484.2 kB / 337 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.02584, allocations: 363.4 kB / 337.4 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004217/0.03006, allocations: 1.561 MB / 338.9 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.03059, allocations: 395.9 kB / 339.3 MB, free: 1.824 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008114/0.0314, allocations: 0.8612 MB / 340.2 MB, free: 0.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00346/0.03486, allocations: 438.6 kB / 340.6 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.035, allocations: 140 kB / 340.7 MB, free: 400 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.03525, allocations: 179.9 kB / 340.9 MB, free: 220 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.03542, allocations: 290.8 kB / 341.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.03578, allocations: 454.9 kB / 341.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.03719, allocations: 1.729 MB / 343.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.03719, allocations: 0 / 343.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.03719, allocations: 0 / 343.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.03721, allocations: 4 kB / 343.4 MB, free: 13.75 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.004855/0.04206, allocations: 1.446 MB / 344.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.0421, allocations: 12.03 kB / 344.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.04225, allocations: 148.3 kB / 345 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004424/0.04269, allocations: 200 kB / 345.2 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009343/0.04362, allocations: 0.7206 MB / 345.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.04366, allocations: 70.38 kB / 346 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.04375, allocations: 104.1 kB / 346.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009909/0.04474, allocations: 1.063 MB / 347.1 MB, free: 9.852 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.04476, allocations: 7.938 kB / 347.1 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.04481, allocations: 40 kB / 347.2 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.04483, allocations: 24 kB / 347.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.04559, allocations: 0.6441 MB / 347.8 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.04864, allocations: 3.69 MB / 351.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.04924, allocations: 411.8 kB / 351.9 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.04942, allocations: 156.8 kB / 352.1 MB, free: 4.664 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.04944, allocations: 4 kB / 352.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.04946, allocations: 38.56 kB / 352.1 MB, free: 4.613 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 1.392e-06/0.04947, allocations: 0 / 352.1 MB, free: 4.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001448/0.05091, allocations: 1.201 MB / 353.3 MB, free: 3.379 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.05096, allocations: 132.5 kB / 353.5 MB, free: 3.219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.05172, allocations: 0.9092 MB / 354.4 MB, free: 2.285 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.05174, allocations: 33.7 kB / 354.4 MB, free: 2.246 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.05201, allocations: 0.5969 MB / 355 MB, free: 1.641 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.432e-05/0.05209, allocations: 162.7 kB / 355.2 MB, free: 1.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.0522, allocations: 130.6 kB / 355.3 MB, free: 1.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.05227, allocations: 333.9 kB / 355.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.05249, allocations: 180.8 kB / 355.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.05284, allocations: 0.5701 MB / 356.4 MB, free: 92 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.0534, allocations: 0.6792 MB / 357 MB, free: 15.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.05341, allocations: 4 kB / 357 MB, free: 15.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007372/0.05414, allocations: 0.7436 MB / 357.8 MB, free: 14.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.05416, allocations: 15.94 kB / 357.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.05417, allocations: 8 kB / 357.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001105/0.05428, allocations: 36.84 kB / 357.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.05458, allocations: 167.7 kB / 358 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006357/0.05522, allocations: 1.291 MB / 359.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.05548, allocations: 39.94 kB / 359.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.05551, allocations: 39.94 kB / 359.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003644/0.05587, allocations: 350.1 kB / 359.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003328/0.05621, allocations: 0.5546 MB / 360.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005165/0.05672, allocations: 0.6636 MB / 360.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.877e-06/0.05673, allocations: 4 kB / 360.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.0006825/0.05741, allocations: 0.7237 MB / 361.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.05742, allocations: 8 kB / 361.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.05743, allocations: 12 kB / 361.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.769e-05/0.05748, allocations: 41.44 kB / 361.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.05776, allocations: 163.8 kB / 361.9 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005401/0.05831, allocations: 1.279 MB / 363.2 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.05856, allocations: 39.94 kB / 363.2 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.05859, allocations: 36 kB / 363.2 MB, free: 8.496 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.000119/0.05871, allocations: 236.1 kB / 363.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.05878, allocations: 95.39 kB / 363.6 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/0.05926, allocations: 427.2 kB / 364 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.05926, allocations: 4 kB / 364 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.05926, allocations: 0 / 364 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.05927, allocations: 4.078 kB / 364 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.06046, allocations: 1.262 MB / 365.2 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.06046, allocations: 4 kB / 365.3 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.06065, allocations: 75.84 kB / 365.3 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.786e-05/0.0607, allocations: 20.84 kB / 365.3 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.06072, allocations: 20.16 kB / 365.4 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005214/0.06124, allocations: 1.263 MB / 366.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.06124, allocations: 7.969 kB / 366.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.0619, allocations: 0.719 MB / 367.4 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.06207, allocations: 131.4 kB / 367.5 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.06212, allocations: 11.94 kB / 367.5 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.06231, allocations: 23.97 kB / 367.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.06236, allocations: 35.89 kB / 367.6 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.06237, allocations: 8 kB / 367.6 MB, free: 3.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005187/0.06289, allocations: 0.6054 MB / 368.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.06289, allocations: 0 / 368.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006505/0.06354, allocations: 344 kB / 368.5 MB, free: 2.969 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.0009157/0.06446, allocations: 1.285 MB / 369.8 MB, free: 1.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009313/0.06539, allocations: 0.931 MB / 370.7 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.06539, allocations: 4.062 kB / 370.7 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.06562, allocations: 282.4 kB / 371 MB, free: 392 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.06625, allocations: 249.1 kB / 371.2 MB, free: 156 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007377/0.07363, allocations: 7.548 MB / 378.8 MB, free: 8.141 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.07392, allocations: 439.6 kB / 379.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003164/0.07424, allocations: 119.3 kB / 379.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.07456, allocations: 392.4 kB / 379.7 MB, free: 7.168 MB / 346.7 MB Notification: Performance of SimCode: time 1.021e-06/0.07456, allocations: 4 kB / 379.7 MB, free: 7.164 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0903/0.1649, allocations: 21.69 MB / 401.4 MB, free: 1.797 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.073, allocations: 15.38 kB / 401.4 MB, free: 1.785 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled.fmu) > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.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.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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.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.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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_CurrentControlled/DCPM_CurrentControlled.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled.fmu) > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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.69376815110445]