Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00148/0.00148, allocations: 115 kB / 20.44 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001551/0.001551, allocations: 209.3 kB / 23.73 MB, free: 0.9102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9726/0.9726, allocations: 231.1 MB / 258 MB, free: 8.766 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,fileNamePrefix="Modelica_trunk_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_trunk_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.002133/0.002133, allocations: 67.89 kB / 380.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2113, allocations: 53.56 MB / 433.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.005896/0.2172, allocations: 7.255 MB / 441 MB, free: 13 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.2206, allocations: 2.64 MB / 443.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003955/0.221, allocations: 34.97 kB / 443.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.222, allocations: 0.5034 MB / 444.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006756/0.2227, allocations: 471.5 kB / 444.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.2231, allocations: 362.4 kB / 445 MB, free: 9.781 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.2242, allocations: 1.507 MB / 446.5 MB, free: 8.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.2246, allocations: 396.2 kB / 446.9 MB, free: 8.562 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004957/0.2251, allocations: 0.5852 MB / 447.5 MB, free: 8.152 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/0.2255, allocations: 0.5168 MB / 448 MB, free: 7.633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.2256, allocations: 140 kB / 448.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.2259, allocations: 176 kB / 448.3 MB, free: 7.324 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.226, allocations: 290.9 kB / 448.6 MB, free: 7.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.2263, allocations: 0.5403 MB / 449.1 MB, free: 6.496 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.2275, allocations: 1.735 MB / 450.9 MB, free: 4.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2275, allocations: 0 / 450.9 MB, free: 4.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2275, allocations: 0 / 450.9 MB, free: 4.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.2275, allocations: 7.938 kB / 450.9 MB, free: 4.746 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.001446/0.2289, allocations: 1.469 MB / 452.4 MB, free: 3.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.229, allocations: 12.03 kB / 452.4 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.2291, allocations: 148.3 kB / 452.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.2294, allocations: 200 kB / 452.7 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008/0.2302, allocations: 0.7249 MB / 453.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.2303, allocations: 70 kB / 453.5 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/0.2304, allocations: 108 kB / 453.6 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009921/0.2313, allocations: 1.055 MB / 454.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.2314, allocations: 11.89 kB / 454.7 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.2314, allocations: 36 kB / 454.7 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.2314, allocations: 27.98 kB / 454.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007697/0.2322, allocations: 0.6363 MB / 455.4 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/0.2357, allocations: 3.683 MB / 459.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.2364, allocations: 415.2 kB / 459.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.2365, allocations: 152.8 kB / 459.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.2366, allocations: 4 kB / 459.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2366, allocations: 38.56 kB / 459.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.2366, allocations: 0 / 459.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001491/0.2381, allocations: 1.2 MB / 460.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.2381, allocations: 132.5 kB / 461 MB, free: 10.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/0.2389, allocations: 0.9131 MB / 461.9 MB, free: 9.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.2389, allocations: 33.7 kB / 461.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.2392, allocations: 0.6047 MB / 462.5 MB, free: 8.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.02e-05/0.2392, allocations: 146.8 kB / 462.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2394, allocations: 142.6 kB / 462.8 MB, free: 8.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.2395, allocations: 334 kB / 463.1 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.2397, allocations: 176.8 kB / 463.3 MB, free: 7.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.24, allocations: 0.5699 MB / 463.9 MB, free: 7.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.2407, allocations: 0.675 MB / 464.6 MB, free: 6.254 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2407, allocations: 8 kB / 464.6 MB, free: 6.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007599/0.2415, allocations: 0.7514 MB / 465.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2415, allocations: 8 kB / 465.3 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.2415, allocations: 12 kB / 465.3 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/0.2416, allocations: 36.84 kB / 465.4 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.242, allocations: 167.7 kB / 465.5 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006296/0.2426, allocations: 1.291 MB / 466.8 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.2428, allocations: 39.94 kB / 466.9 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.2429, allocations: 35.98 kB / 466.9 MB, free: 3.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003508/0.2432, allocations: 350.1 kB / 467.2 MB, free: 3.434 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003439/0.2436, allocations: 0.5504 MB / 467.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005272/0.2441, allocations: 0.6676 MB / 468.5 MB, free: 1.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.2441, allocations: 7.938 kB / 468.5 MB, free: 1.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.0007061/0.2448, allocations: 0.7238 MB / 469.2 MB, free: 1.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.2448, allocations: 10.97 kB / 469.2 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2448, allocations: 15.94 kB / 469.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.278e-05/0.2449, allocations: 33.42 kB / 469.2 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.2452, allocations: 167.7 kB / 469.4 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005688/0.2457, allocations: 1.287 MB / 470.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.246, allocations: 28 kB / 470.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.246, allocations: 39.98 kB / 470.8 MB, free: 15.47 MB / 378.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.0002961/0.2463, allocations: 236 kB / 471 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.2464, allocations: 95.39 kB / 471.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005054/0.2469, allocations: 431.2 kB / 471.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2469, allocations: 8 kB / 471.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2469, allocations: 4.031 kB / 471.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.2469, allocations: 11.91 kB / 471.5 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.2482, allocations: 1.251 MB / 472.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.2482, allocations: 3.984 kB / 472.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.2484, allocations: 75.91 kB / 472.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.414e-05/0.2485, allocations: 24.84 kB / 472.9 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.2485, allocations: 8 kB / 472.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005315/0.249, allocations: 1.268 MB / 474.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.249, allocations: 0 / 474.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000668/0.2497, allocations: 0.7152 MB / 474.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.2499, allocations: 135.3 kB / 475 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.2499, allocations: 12 kB / 475 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.2501, allocations: 20.11 kB / 475 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.2502, allocations: 39.88 kB / 475.1 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.2502, allocations: 12 kB / 475.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005573/0.2507, allocations: 0.6054 MB / 475.7 MB, free: 10.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2507, allocations: 0 / 475.7 MB, free: 10.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006881/0.2514, allocations: 355.9 kB / 476 MB, free: 9.934 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.001004/0.2524, allocations: 1.273 MB / 477.3 MB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.2536, allocations: 0.9388 MB / 478.3 MB, free: 7.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2536, allocations: 0 / 478.3 MB, free: 7.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.2538, allocations: 278.4 kB / 478.5 MB, free: 7.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.2545, allocations: 241.4 kB / 478.8 MB, free: 7.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007053/0.2615, allocations: 7.615 MB / 486.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2618, allocations: 431.6 kB / 486.8 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.2622, allocations: 131.3 kB / 486.9 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.2625, allocations: 391.3 kB / 487.3 MB, free: 14.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2625, allocations: 0 / 487.3 MB, free: 14.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/0.3741, allocations: 21.61 MB / 0.497 GB, free: 8.738 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.943, allocations: 14.56 kB / 0.497 GB, free: 8.73 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_CurrentControlled.fmu) > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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.779753670096397]