Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.0007577/0.0007577, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001767, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006687/0.0006687, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008462/0.001515, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.928/0.928, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08025/1.008, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.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: 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 3.984 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.964e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.007979/0.007998, allocations: 10.01 MB / 255 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00554/0.01354, allocations: 3.391 MB / 258.4 MB, free: 180 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.01489, allocations: 71.5 kB / 258.5 MB, free: 108 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.01628, allocations: 0.7179 MB / 259.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.01837, allocations: 0.9235 MB / 260.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007789/0.01915, allocations: 431.2 kB / 260.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003006/0.02216, allocations: 3.108 MB / 263.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.02358, allocations: 1.368 MB / 265 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.02631, allocations: 2.46 MB / 267.5 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.02786, allocations: 1.535 MB / 269 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005408/0.0284, allocations: 340 kB / 269.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006687/0.02907, allocations: 455.8 kB / 269.8 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005771/0.02965, allocations: 0.8377 MB / 270.6 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009295/0.03058, allocations: 0.9006 MB / 271.5 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.03278, allocations: 2.429 MB / 274 MB, free: 492 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.501e-05/0.03279, allocations: 3.984 kB / 274 MB, free: 488 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0328, allocations: 4 kB / 274 MB, free: 484 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.686e-05/0.03288, allocations: 0 / 274 MB, free: 484 kB / 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.1137/0.1466, allocations: 3.584 MB / 277.6 MB, free: 19.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1466, allocations: 11.28 kB / 277.6 MB, free: 19.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009764/0.1476, allocations: 0.5215 MB / 278.1 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.1494, allocations: 1.215 MB / 279.3 MB, free: 19.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.1495, allocations: 175.6 kB / 279.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.1497, allocations: 239 kB / 279.7 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.1519, allocations: 1.791 MB / 281.5 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/0.1519, allocations: 13.38 kB / 281.5 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.152, allocations: 93.06 kB / 281.6 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.832e-05/0.1521, allocations: 112.8 kB / 281.7 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.1533, allocations: 0.6889 MB / 282.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006509/0.1598, allocations: 6.237 MB / 288.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007571/0.1606, allocations: 0.7557 MB / 289.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/0.1611, allocations: 467.9 kB / 289.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.1612, allocations: 55.62 kB / 289.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.1612, allocations: 45.69 kB / 290 MB, free: 15.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.815e-06/0.1612, allocations: 4 kB / 290 MB, free: 15.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.003889/0.1651, allocations: 2.648 MB / 292.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.1652, allocations: 64.72 kB / 292.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.1658, allocations: 1.147 MB / 293.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.1659, allocations: 45.7 kB / 293.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.1661, allocations: 0.9747 MB / 294.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.1663, allocations: 467.8 kB / 295.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.1665, allocations: 273.8 kB / 295.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.18e-05/0.1665, allocations: 301.1 kB / 295.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.1667, allocations: 186.8 kB / 296 MB, free: 11.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.167, allocations: 0.5627 MB / 296.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.1676, allocations: 0.9197 MB / 297.5 MB, free: 9.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1676, allocations: 4 kB / 297.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001067/0.1687, allocations: 1.045 MB / 298.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1687, allocations: 8 kB / 298.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1687, allocations: 16.28 kB / 298.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.1691, allocations: 236.1 kB / 298.8 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.1698, allocations: 367.5 kB / 299.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.1719, allocations: 4.722 MB / 303.9 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.1724, allocations: 59.92 kB / 304 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.1724, allocations: 51.98 kB / 304 MB, free: 3.016 MB / 266.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.000315/0.1728, allocations: 208.2 kB / 304.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.1729, allocations: 147.8 kB / 304.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.1738, allocations: 0.9066 MB / 305.3 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1738, allocations: 12 kB / 305.3 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1738, allocations: 8 kB / 305.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.1739, allocations: 3.984 kB / 305.3 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.1764, allocations: 2.617 MB / 307.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1764, allocations: 4 kB / 307.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.177, allocations: 300.4 kB / 308.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.1774, allocations: 224.9 kB / 308.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000516/0.1779, allocations: 259 kB / 308.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.1779, allocations: 35.98 kB / 308.7 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003075/0.181, allocations: 5.917 MB / 314.6 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.181, allocations: 5.094 kB / 314.6 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.1824, allocations: 1.311 MB / 316 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.1826, allocations: 31.98 kB / 316 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.1829, allocations: 51.97 kB / 316 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.1831, allocations: 112.7 kB / 316.1 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.1831, allocations: 28.06 kB / 316.2 MB, free: 6.688 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004826/0.1836, allocations: 0.5814 MB / 316.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1836, allocations: 0 / 316.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001071/0.1847, allocations: 0.4997 MB / 317.3 MB, free: 5.617 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.0002608/0.1849, allocations: 176 kB / 317.4 MB, free: 5.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.1862, allocations: 1.199 MB / 318.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.714e-05/0.1862, allocations: 27.12 kB / 318.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008076/0.187, allocations: 0.9577 MB / 319.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.1881, allocations: 0.5622 MB / 320.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/0.2039, allocations: 4.205 MB / 324.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008132/0.2047, allocations: 0.5858 MB / 325 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007363/0.2055, allocations: 222.5 kB / 325.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007249/0.2062, allocations: 427.1 kB / 325.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2062, allocations: 0 / 325.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of Templates: time 0.03549/0.2417, allocations: 28.62 MB / 354.2 MB, free: 0.8672 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.1641955710947514]