Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.0007616/0.0007616, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001795, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007305/0.0007305, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009089/0.001639, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.967/0.967, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08742/1.054, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.132e-05, allocations: 8.922 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.008601/0.008622, allocations: 10.01 MB / 254.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.01499, allocations: 3.387 MB / 257.9 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.01657, allocations: 71.5 kB / 258 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.01814, allocations: 0.714 MB / 258.7 MB, free: 68 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.02069, allocations: 0.908 MB / 259.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008968/0.02159, allocations: 439.2 kB / 260 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003091/0.02468, allocations: 3.096 MB / 263.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.0264, allocations: 1.372 MB / 264.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004011/0.03041, allocations: 2.464 MB / 267 MB, free: 7.672 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.03252, allocations: 1.52 MB / 268.5 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007687/0.03329, allocations: 347.9 kB / 268.8 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009771/0.03427, allocations: 451.8 kB / 269.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008712/0.03514, allocations: 0.8494 MB / 270.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.03641, allocations: 0.8929 MB / 271 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002956/0.03936, allocations: 2.433 MB / 273.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.776e-05/0.03938, allocations: 0 / 273.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.03938, allocations: 0 / 273.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.933e-05/0.03946, allocations: 3.938 kB / 273.5 MB, free: 1.176 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.1288/0.1682, allocations: 3.571 MB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1683, allocations: 13.36 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.1694, allocations: 0.5216 MB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.1714, allocations: 1.219 MB / 278.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.1715, allocations: 174.7 kB / 279 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/0.1718, allocations: 235.4 kB / 279.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.1745, allocations: 1.789 MB / 281 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.108e-05/0.1746, allocations: 10.84 kB / 281 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.1747, allocations: 101.5 kB / 281.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.1749, allocations: 106.7 kB / 281.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.1764, allocations: 0.6905 MB / 281.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008241/0.1846, allocations: 6.225 MB / 288.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009828/0.1856, allocations: 0.7625 MB / 288.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.1861, allocations: 463.8 kB / 289.3 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.1863, allocations: 59.73 kB / 289.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1863, allocations: 46.05 kB / 289.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 4.419e-06/0.1863, allocations: 0 / 289.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.004682/0.191, allocations: 2.642 MB / 292.1 MB, free: 8.641 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.191, allocations: 69.73 kB / 292.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008021/0.1918, allocations: 1.144 MB / 293.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.1919, allocations: 48.55 kB / 293.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.1922, allocations: 0.9674 MB / 294.3 MB, free: 7.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.1924, allocations: 472.3 kB / 294.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.1926, allocations: 272.2 kB / 295 MB, free: 7.215 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.021e-05/0.1926, allocations: 301.1 kB / 295.3 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.1929, allocations: 181.9 kB / 295.5 MB, free: 6.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.1932, allocations: 0.5655 MB / 296.1 MB, free: 6.438 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.194, allocations: 0.9207 MB / 297 MB, free: 5.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.194, allocations: 8 kB / 297 MB, free: 5.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001198/0.1952, allocations: 1.044 MB / 298 MB, free: 4.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.1952, allocations: 9.719 kB / 298 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.1952, allocations: 15.94 kB / 298.1 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004875/0.1957, allocations: 238.4 kB / 298.3 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007205/0.1964, allocations: 376.7 kB / 298.7 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.1988, allocations: 4.706 MB / 303.4 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007411/0.1995, allocations: 69.73 kB / 303.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.1996, allocations: 44 kB / 303.5 MB, free: 15.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005374/0.2001, allocations: 209.3 kB / 303.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.2004, allocations: 143.9 kB / 303.8 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.2015, allocations: 0.9031 MB / 304.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.2015, allocations: 12.05 kB / 304.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2015, allocations: 7.984 kB / 304.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.2015, allocations: 7.969 kB / 304.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.205, allocations: 2.602 MB / 307.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.205, allocations: 416 / 307.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.2056, allocations: 307.1 kB / 307.6 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.2061, allocations: 232.6 kB / 307.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000532/0.2066, allocations: 262.8 kB / 308.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/0.2067, allocations: 35.98 kB / 308.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.2102, allocations: 5.927 MB / 314.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.2103, allocations: 4 kB / 314.1 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.2117, allocations: 1.313 MB / 315.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.2119, allocations: 28 kB / 315.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.2122, allocations: 55.97 kB / 315.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.2124, allocations: 108 kB / 315.6 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.2125, allocations: 31.98 kB / 315.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000505/0.213, allocations: 0.5741 MB / 316.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.213, allocations: 3.094 kB / 316.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0013/0.2143, allocations: 499.9 kB / 316.7 MB, free: 2.016 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006022/0.2149, allocations: 181.8 kB / 316.9 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.2163, allocations: 1.193 MB / 318.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.425e-05/0.2163, allocations: 35.97 kB / 318.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008523/0.2172, allocations: 0.9606 MB / 319.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.2184, allocations: 0.5453 MB / 319.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.2341, allocations: 4.224 MB / 323.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009158/0.235, allocations: 0.5741 MB / 324.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007891/0.2358, allocations: 230.5 kB / 324.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006789/0.2364, allocations: 427.1 kB / 325 MB, free: 9.625 MB / 298.7 MB Notification: Performance of SimCode: time 1.853e-06/0.2364, allocations: 0 / 325 MB, free: 9.625 MB / 298.7 MB Notification: Performance of Templates: time 0.03731/0.2738, allocations: 28.62 MB / 353.7 MB, free: 13.52 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.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: 3.1701174788177013]