Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009544/0.0009544, allocations: 118 kB / 21.19 MB, free: 4.402 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.0009609/0.0009609, allocations: 225.5 kB / 24.48 MB, free: 1.398 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8907/0.8907, allocations: 207.7 MB / 235.3 MB, free: 4.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 51.92 kB / 348.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1816, allocations: 49.17 MB / 397.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.006458/0.188, allocations: 7.209 MB / 405.1 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.1913, allocations: 2.576 MB / 407.7 MB, free: 3.703 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.1918, allocations: 35.81 kB / 407.7 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009468/0.1927, allocations: 0.507 MB / 408.2 MB, free: 3.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005593/0.1933, allocations: 472.5 kB / 408.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.1937, allocations: 367.5 kB / 409.1 MB, free: 2.336 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008852/0.1946, allocations: 1.507 MB / 410.6 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006564/0.1952, allocations: 399.8 kB / 411 MB, free: 416 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.1956, allocations: 0.5758 MB / 411.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.196, allocations: 0.5206 MB / 412.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.948e-05/0.1961, allocations: 140 kB / 412.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.1963, allocations: 176 kB / 412.4 MB, free: 15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1964, allocations: 286.9 kB / 412.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.1967, allocations: 0.5482 MB / 413.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.1977, allocations: 1.731 MB / 414.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1977, allocations: 0 / 414.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1977, allocations: 0 / 414.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.1978, allocations: 4 kB / 414.9 MB, free: 12.42 MB / 330.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.001408/0.1992, allocations: 1.481 MB / 416.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1992, allocations: 11.98 kB / 416.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.1993, allocations: 156.3 kB / 416.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.1996, allocations: 192 kB / 416.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007822/0.2004, allocations: 0.7327 MB / 417.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.2005, allocations: 70 kB / 417.6 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/0.2005, allocations: 99.95 kB / 417.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.2017, allocations: 1.029 MB / 418.7 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.2018, allocations: 11.89 kB / 418.7 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.2018, allocations: 40 kB / 418.7 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.2018, allocations: 27.94 kB / 418.8 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.2026, allocations: 0.6363 MB / 419.4 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.2055, allocations: 3.698 MB / 423.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.206, allocations: 408.8 kB / 423.5 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.2062, allocations: 152.8 kB / 423.6 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.2062, allocations: 8 kB / 423.7 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.2063, allocations: 34.56 kB / 423.7 MB, free: 3.297 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.523e-06/0.2063, allocations: 0 / 423.7 MB, free: 3.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001392/0.2077, allocations: 1.193 MB / 424.9 MB, free: 2.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002889/0.2079, allocations: 106.8 kB / 425 MB, free: 1.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/0.2087, allocations: 0.9135 MB / 425.9 MB, free: 1.004 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2087, allocations: 33.7 kB / 425.9 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.209, allocations: 0.5969 MB / 426.5 MB, free: 368 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/0.209, allocations: 166.7 kB / 426.7 MB, free: 200 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.2091, allocations: 142.5 kB / 426.8 MB, free: 52 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.2092, allocations: 330 kB / 427.2 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.2094, allocations: 176.8 kB / 427.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.2098, allocations: 0.5322 MB / 427.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.2103, allocations: 0.6829 MB / 428.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2103, allocations: 4 kB / 428.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007203/0.211, allocations: 0.751 MB / 429.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.211, allocations: 11.98 kB / 429.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.2111, allocations: 12 kB / 429.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001035/0.2112, allocations: 29.48 kB / 429.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.2115, allocations: 171.7 kB / 429.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006044/0.2121, allocations: 1.287 MB / 430.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.2123, allocations: 39.94 kB / 430.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.2123, allocations: 36.16 kB / 430.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003441/0.2127, allocations: 350.1 kB / 431.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005838/0.2133, allocations: 0.5283 MB / 431.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005023/0.2138, allocations: 0.6555 MB / 432.4 MB, free: 9.719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.327e-06/0.2138, allocations: 8 kB / 432.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.0006727/0.2144, allocations: 0.7285 MB / 433.1 MB, free: 8.973 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.2145, allocations: 15.94 kB / 433.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2145, allocations: 12 kB / 433.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.603e-05/0.2145, allocations: 40.72 kB / 433.2 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.2148, allocations: 163.8 kB / 433.4 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005061/0.2153, allocations: 1.275 MB / 434.6 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.2155, allocations: 40.14 kB / 434.7 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.2156, allocations: 36 kB / 434.7 MB, free: 7.277 MB / 346.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.0001039/0.2157, allocations: 228 kB / 434.9 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.2157, allocations: 99.34 kB / 435 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.2162, allocations: 439.2 kB / 435.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2162, allocations: 8 kB / 435.5 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2162, allocations: 3.984 kB / 435.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2162, allocations: 3.938 kB / 435.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.2174, allocations: 1.257 MB / 436.7 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2174, allocations: 0 / 436.7 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.2176, allocations: 76.17 kB / 436.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.076e-05/0.2176, allocations: 28.83 kB / 436.8 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.2176, allocations: 12 kB / 436.9 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004945/0.2181, allocations: 1.267 MB / 438.1 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2181, allocations: 4 kB / 438.1 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009308/0.2191, allocations: 0.7146 MB / 438.8 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.2192, allocations: 127.4 kB / 439 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.2193, allocations: 12 kB / 439 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2195, allocations: 23.97 kB / 439 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.2195, allocations: 31.89 kB / 439 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2195, allocations: 16 kB / 439 MB, free: 2.703 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005063/0.22, allocations: 0.6095 MB / 439.7 MB, free: 2.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.22, allocations: 0 / 439.7 MB, free: 2.082 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006315/0.2207, allocations: 351.9 kB / 440 MB, free: 1.738 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,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.000849/0.2215, allocations: 1.282 MB / 441.3 MB, free: 412 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000904/0.2224, allocations: 0.9341 MB / 442.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2224, allocations: 3.938 kB / 442.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.2226, allocations: 276.1 kB / 442.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/0.2233, allocations: 251.4 kB / 442.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/0.2299, allocations: 7.625 MB / 450.4 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2301, allocations: 443.6 kB / 450.8 MB, free: 6.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002794/0.2304, allocations: 131.4 kB / 450.9 MB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.2307, allocations: 395.3 kB / 451.3 MB, free: 5.828 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2307, allocations: 4 kB / 451.3 MB, free: 5.824 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08797/0.3187, allocations: 21.69 MB / 473 MB, free: 44 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/7.937, allocations: 8 kB / 473 MB, free: 36 kB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled.fmu) > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.limitsAtInit,PID.limiter.strict,PID.limiter.u,PID.limiter.uMax,PID.limiter.uMin,PID.limiter.y,PID.limitsAtInit,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.quasiStationary,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.quasiStationary,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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_CurrentControlled/DCPM_CurrentControlled.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled.fmu) > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.553588875569403]