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.001031/0.001031, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004025/0.004025, allocations: 170.1 kB / 24.7 MB, free: 8.898 MB / 18.57 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.8208/0.8208, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 300 MB, free: 1.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.789e-05, allocations: 2.281 kB / 300 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.1104/0.1104, allocations: 7.211 MB / 307.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.1138, allocations: 2.562 MB / 309.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005685/0.1144, allocations: 38.88 kB / 309.8 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.1154, allocations: 0.5188 MB / 310.3 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006871/0.1161, allocations: 493.3 kB / 310.8 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.1166, allocations: 362.5 kB / 311.2 MB, free: 9.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009953/0.1176, allocations: 1.567 MB / 312.7 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004636/0.118, allocations: 391.7 kB / 313.1 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007087/0.1187, allocations: 0.8593 MB / 314 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/0.1192, allocations: 439 kB / 314.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.1194, allocations: 136.9 kB / 314.6 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.1196, allocations: 180.1 kB / 314.7 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.1197, allocations: 295.6 kB / 315 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.1201, allocations: 458.7 kB / 315.5 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.1213, allocations: 1.726 MB / 317.2 MB, free: 6.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1213, allocations: 1.375 kB / 317.2 MB, free: 6.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1213, allocations: 0 / 317.2 MB, free: 6.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.1214, allocations: 0 / 317.2 MB, free: 6.766 MB / 282.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.001524/0.1229, allocations: 1.459 MB / 318.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1229, allocations: 18.42 kB / 318.7 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.123, allocations: 148.9 kB / 318.8 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003416/0.1234, allocations: 190.9 kB / 319 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007646/0.1241, allocations: 0.7354 MB / 319.7 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.1242, allocations: 77.88 kB / 319.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/0.1243, allocations: 109.1 kB / 319.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009903/0.1253, allocations: 1.026 MB / 320.9 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.1253, allocations: 14.86 kB / 321 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.1253, allocations: 36.78 kB / 321 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1253, allocations: 24.75 kB / 321 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.1261, allocations: 0.6329 MB / 321.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.1288, allocations: 3.689 MB / 325.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.1294, allocations: 412 kB / 325.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1296, allocations: 150.1 kB / 325.9 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1296, allocations: 3.281 kB / 325.9 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.1296, allocations: 45.83 kB / 325.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=37): time 1.684e-06/0.1296, allocations: 0 / 325.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001436/0.131, allocations: 1.19 MB / 327.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.1311, allocations: 106.8 kB / 327.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008555/0.1319, allocations: 0.9121 MB / 328.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.132, allocations: 33.64 kB / 328.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.1322, allocations: 0.604 MB / 328.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.1323, allocations: 158.5 kB / 328.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.1324, allocations: 137.7 kB / 329.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.1325, allocations: 332.8 kB / 329.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.1327, allocations: 175.6 kB / 329.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.1331, allocations: 0.5337 MB / 330.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.1337, allocations: 0.6921 MB / 330.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1337, allocations: 3.312 kB / 330.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007683/0.1344, allocations: 0.7479 MB / 331.5 MB, free: 12.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1345, allocations: 15.16 kB / 331.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1345, allocations: 14.44 kB / 331.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/0.1346, allocations: 35.48 kB / 331.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.1349, allocations: 169.4 kB / 331.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006149/0.1355, allocations: 1.271 MB / 333 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.1358, allocations: 39.88 kB / 333.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.1358, allocations: 42.31 kB / 333.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003666/0.1362, allocations: 355.8 kB / 333.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003256/0.1365, allocations: 0.5261 MB / 334 MB, free: 10.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005205/0.137, allocations: 0.6647 MB / 334.7 MB, free: 9.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/0.1371, allocations: 4.125 kB / 334.7 MB, free: 9.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.0007008/0.1378, allocations: 0.7217 MB / 335.4 MB, free: 9.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1378, allocations: 8 kB / 335.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.1378, allocations: 12 kB / 335.4 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.824e-05/0.1378, allocations: 36.84 kB / 335.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.1381, allocations: 159.7 kB / 335.6 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000516/0.1386, allocations: 1.284 MB / 336.9 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.1389, allocations: 33.81 kB / 336.9 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.1389, allocations: 36 kB / 337 MB, free: 7.555 MB / 298.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.000111/0.1391, allocations: 231.9 kB / 337.2 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.1391, allocations: 99.34 kB / 337.3 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.1396, allocations: 447.3 kB / 337.7 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1396, allocations: 4 kB / 337.7 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1396, allocations: 5.875 kB / 337.7 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1396, allocations: 0 / 337.7 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.1409, allocations: 1.257 MB / 339 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1409, allocations: 4.219 kB / 339 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.1411, allocations: 75.89 kB / 339.1 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-05/0.1411, allocations: 20.86 kB / 339.1 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1412, allocations: 11.98 kB / 339.1 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005177/0.1417, allocations: 1.264 MB / 340.4 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1417, allocations: 8.094 kB / 340.4 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.1423, allocations: 0.7026 MB / 341.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.1425, allocations: 131.3 kB / 341.2 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.1426, allocations: 19.92 kB / 341.2 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.1428, allocations: 19.98 kB / 341.2 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.1429, allocations: 35.89 kB / 341.3 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.1429, allocations: 15.94 kB / 341.3 MB, free: 2.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005384/0.1434, allocations: 0.6055 MB / 341.9 MB, free: 2.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1434, allocations: 0 / 341.9 MB, free: 2.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007005/0.1441, allocations: 351.9 kB / 342.2 MB, free: 2.02 MB / 298.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.0009135/0.145, allocations: 1.282 MB / 343.5 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009547/0.146, allocations: 0.9269 MB / 344.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.146, allocations: 4 kB / 344.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.1462, allocations: 280.1 kB / 344.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.1469, allocations: 242.8 kB / 345 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007657/0.1546, allocations: 7.595 MB / 352.6 MB, free: 7.148 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1549, allocations: 443.6 kB / 353 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003255/0.1552, allocations: 123.4 kB / 353.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.1555, allocations: 400.3 kB / 353.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1555, allocations: 0 / 353.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0881/0.2436, allocations: 21.76 MB / 375.3 MB, free: 340 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.903, allocations: 8 kB / 375.3 MB, free: 332 kB / 330.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.369907221756876]