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.001054/0.001054, allocations: 112.2 kB / 20.44 MB, free: 4.598 MB / 13.93 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.0009718/0.0009718, allocations: 217.5 kB / 23.73 MB, free: 2.137 MB / 13.93 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.9513/0.9513, allocations: 230.6 MB / 257.5 MB, free: 9.578 MB / 202.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 0.001446/0.001446, allocations: 51.92 kB / 379.3 MB, free: 456 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2231, allocations: 53.36 MB / 432.6 MB, free: 3.199 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.006299/0.2294, allocations: 7.268 MB / 439.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003657/0.2331, allocations: 2.565 MB / 442.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.2335, allocations: 34.28 kB / 442.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000989/0.2345, allocations: 0.5077 MB / 443 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.235, allocations: 471.1 kB / 443.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.2355, allocations: 360.3 kB / 443.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.2366, allocations: 1.505 MB / 445.3 MB, free: 9.637 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.2371, allocations: 396.3 kB / 445.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.2376, allocations: 0.58 MB / 446.3 MB, free: 9 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.238, allocations: 0.5241 MB / 446.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.2381, allocations: 139.1 kB / 447 MB, free: 8.633 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.2384, allocations: 176.9 kB / 447.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.2385, allocations: 286.9 kB / 447.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.2388, allocations: 0.5326 MB / 448 MB, free: 7.656 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.2401, allocations: 1.731 MB / 449.7 MB, free: 5.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2401, allocations: 7.984 kB / 449.7 MB, free: 5.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2401, allocations: 0 / 449.7 MB, free: 5.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.2401, allocations: 0 / 449.7 MB, free: 5.91 MB / 346.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.001484/0.2416, allocations: 1.465 MB / 451.2 MB, free: 4.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2416, allocations: 15.97 kB / 451.2 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.2418, allocations: 148.3 kB / 451.3 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/0.2421, allocations: 196 kB / 451.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008145/0.2429, allocations: 0.7365 MB / 452.2 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.243, allocations: 66 kB / 452.3 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.851e-05/0.2431, allocations: 108 kB / 452.4 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.2441, allocations: 1.055 MB / 453.5 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.2441, allocations: 4 kB / 453.5 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.2441, allocations: 36 kB / 453.5 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.2441, allocations: 24 kB / 453.5 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000797/0.2449, allocations: 0.6402 MB / 454.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.2482, allocations: 3.69 MB / 457.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.2489, allocations: 415.9 kB / 458.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.249, allocations: 148.8 kB / 458.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.2491, allocations: 7.938 kB / 458.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.2491, allocations: 42.55 kB / 458.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.433e-06/0.2491, allocations: 0 / 458.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001546/0.2506, allocations: 1.196 MB / 459.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.2507, allocations: 132.5 kB / 459.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007784/0.2515, allocations: 0.9131 MB / 460.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.2515, allocations: 37.64 kB / 460.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.2517, allocations: 0.6047 MB / 461.3 MB, free: 9.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/0.2518, allocations: 150.8 kB / 461.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.2519, allocations: 138.6 kB / 461.6 MB, free: 9.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.252, allocations: 334 kB / 462 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.2522, allocations: 176.8 kB / 462.1 MB, free: 8.977 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.2526, allocations: 0.5699 MB / 462.7 MB, free: 8.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/0.2534, allocations: 0.6789 MB / 463.4 MB, free: 7.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.2535, allocations: 4 kB / 463.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007682/0.2542, allocations: 0.7512 MB / 464.1 MB, free: 6.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2542, allocations: 8 kB / 464.1 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2542, allocations: 12 kB / 464.1 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.2544, allocations: 36.84 kB / 464.2 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.2547, allocations: 171.7 kB / 464.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006637/0.2553, allocations: 1.287 MB / 465.6 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.2556, allocations: 39.94 kB / 465.7 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.2557, allocations: 32 kB / 465.7 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003523/0.256, allocations: 358 kB / 466.1 MB, free: 4.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003367/0.2563, allocations: 0.5504 MB / 466.6 MB, free: 3.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005339/0.2569, allocations: 0.6638 MB / 467.3 MB, free: 3.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.181e-06/0.2569, allocations: 7.984 kB / 467.3 MB, free: 3.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.0007155/0.2576, allocations: 0.7197 MB / 468 MB, free: 2.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.2576, allocations: 12 kB / 468 MB, free: 2.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2576, allocations: 12.81 kB / 468 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.511e-05/0.2577, allocations: 40.78 kB / 468.1 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.258, allocations: 163.7 kB / 468.2 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005607/0.2585, allocations: 1.279 MB / 469.5 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.2588, allocations: 35.94 kB / 469.5 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.2588, allocations: 40.09 kB / 469.6 MB, free: 0.6289 MB / 362.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.0001165/0.2589, allocations: 239.8 kB / 469.8 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.259, allocations: 99.38 kB / 469.9 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007904/0.2598, allocations: 427.2 kB / 470.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2598, allocations: 8 kB / 470.3 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2598, allocations: 3.938 kB / 470.3 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2598, allocations: 7.922 kB / 470.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.261, allocations: 1.249 MB / 471.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.261, allocations: 0 / 471.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.2612, allocations: 79.89 kB / 471.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-05/0.2613, allocations: 29 kB / 471.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.2613, allocations: 12 kB / 471.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005335/0.2618, allocations: 1.267 MB / 473 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2618, allocations: 0 / 473 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.2625, allocations: 0.7227 MB / 473.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.2627, allocations: 131.4 kB / 473.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.2627, allocations: 12 kB / 473.8 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.2629, allocations: 19.98 kB / 473.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.263, allocations: 27.95 kB / 473.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.263, allocations: 15.98 kB / 473.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005365/0.2635, allocations: 0.6054 MB / 474.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2635, allocations: 0 / 474.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006616/0.2642, allocations: 359.9 kB / 474.9 MB, free: 11.08 MB / 378.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.0009123/0.2651, allocations: 1.28 MB / 476.1 MB, free: 9.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.2661, allocations: 0.927 MB / 477.1 MB, free: 8.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2661, allocations: 0 / 477.1 MB, free: 8.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.2667, allocations: 286.4 kB / 477.4 MB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.2673, allocations: 240.8 kB / 477.6 MB, free: 8.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00731/0.2746, allocations: 7.615 MB / 485.2 MB, free: 208 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2749, allocations: 439.7 kB / 485.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000302/0.2752, allocations: 127.3 kB / 485.8 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.2755, allocations: 395.2 kB / 486.1 MB, free: 15.22 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2755, allocations: 0 / 486.1 MB, free: 15.22 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09512/0.3707, allocations: 21.61 MB / 0.4958 GB, free: 9.949 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.221, allocations: 3.938 kB / 0.4959 GB, free: 9.945 MB / 410.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.936266091652215]