Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.0008651/0.0008651, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001896, 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.0007091/0.0007091, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009478/0.001657, 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.9149/0.9149, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08827/1.003, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.058e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01132/0.01134, allocations: 11.22 MB / 256.2 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007049/0.01839, allocations: 4.094 MB / 260.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.01951, allocations: 83.44 kB / 260.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.02114, allocations: 0.8441 MB / 261.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.02299, allocations: 1.04 MB / 262.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007847/0.02377, allocations: 0.5225 MB / 262.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.02621, allocations: 3.353 MB / 266.2 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.02762, allocations: 1.458 MB / 267.6 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/0.03051, allocations: 2.636 MB / 270.3 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.03212, allocations: 1.605 MB / 271.9 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004156/0.03254, allocations: 376 kB / 272.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000825/0.03336, allocations: 0.5971 MB / 272.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005771/0.03394, allocations: 0.8805 MB / 273.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1044/0.1383, allocations: 0.9582 MB / 274.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.1424, allocations: 2.603 MB / 277.3 MB, free: 7.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.658e-05/0.1425, allocations: 0 / 277.3 MB, free: 7.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1425, allocations: 0 / 277.3 MB, free: 7.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001454/0.1426, allocations: 1.156 kB / 277.3 MB, free: 7.453 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.005827/0.1484, allocations: 3.858 MB / 281.1 MB, free: 6.094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1485, allocations: 11.34 kB / 281.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.1497, allocations: 0.6224 MB / 281.8 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.1517, allocations: 1.239 MB / 283 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1518, allocations: 192.3 kB / 283.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/0.152, allocations: 252.4 kB / 283.4 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.1545, allocations: 1.913 MB / 285.4 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-05/0.1546, allocations: 9.062 kB / 285.4 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.1547, allocations: 106.4 kB / 285.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.1549, allocations: 113.6 kB / 285.6 MB, free: 5.113 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.1561, allocations: 0.7182 MB / 286.3 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007178/0.1633, allocations: 6.785 MB / 293.1 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.164, allocations: 0.6441 MB / 293.7 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/0.1645, allocations: 422.6 kB / 294.1 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.1646, allocations: 58.92 kB / 294.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1647, allocations: 47.44 kB / 294.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=115): time 3.596e-06/0.1647, allocations: 4 kB / 294.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=134): time 0.004703/0.1694, allocations: 2.903 MB / 297.2 MB, free: 1.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.1694, allocations: 71.78 kB / 297.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/0.1702, allocations: 1.224 MB / 298.4 MB, free: 1.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/0.1703, allocations: 53.17 kB / 298.5 MB, free: 1.434 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.1706, allocations: 1.064 MB / 299.6 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.1708, allocations: 485.8 kB / 300 MB, free: 428 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.1711, allocations: 287 kB / 300.3 MB, free: 304 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.114e-05/0.1711, allocations: 301.1 kB / 300.6 MB, free: 0 / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.1714, allocations: 187.4 kB / 300.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.1718, allocations: 0.6672 MB / 301.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008659/0.1727, allocations: 1.039 MB / 302.5 MB, free: 14.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.1727, allocations: 8 kB / 302.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.001527/0.1742, allocations: 1.132 MB / 303.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1743, allocations: 12 kB / 303.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.1743, allocations: 16 kB / 303.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004994/0.1748, allocations: 250.4 kB / 303.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007925/0.1756, allocations: 395.4 kB / 304.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.1782, allocations: 3.612 MB / 307.9 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009563/0.1791, allocations: 67.94 kB / 308 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/0.1792, allocations: 59.98 kB / 308 MB, free: 8.562 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008156/0.18, allocations: 212.6 kB / 308.2 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.1803, allocations: 159.8 kB / 308.4 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.1815, allocations: 0.9189 MB / 309.3 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/0.1815, allocations: 19.98 kB / 309.3 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1815, allocations: 0 / 309.3 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.1815, allocations: 11.92 kB / 309.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.1852, allocations: 2.697 MB / 312 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.1852, allocations: 8.5 kB / 312.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.1858, allocations: 253.2 kB / 312.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/0.1862, allocations: 226.8 kB / 312.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006626/0.1868, allocations: 330.9 kB / 312.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.1869, allocations: 39.98 kB / 312.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.1897, allocations: 4.794 MB / 317.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1897, allocations: 4.156 kB / 317.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.1913, allocations: 1.361 MB / 319 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.1915, allocations: 32.05 kB / 319.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004674/0.192, allocations: 59.94 kB / 319.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.1922, allocations: 115.9 kB / 319.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.1922, allocations: 39.92 kB / 319.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000578/0.1928, allocations: 0.6293 MB / 319.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1928, allocations: 0 / 319.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001458/0.1942, allocations: 0.5234 MB / 320.4 MB, free: 12.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,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.0003464/0.1946, allocations: 206.2 kB / 320.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.196, allocations: 1.127 MB / 321.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.482e-05/0.196, allocations: 36.42 kB / 321.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.1968, allocations: 0.864 MB / 322.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.1979, allocations: 0.5098 MB / 323.2 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/0.2151, allocations: 4.381 MB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.2157, allocations: 0.58 MB / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00102/0.2167, allocations: 230.6 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006929/0.2174, allocations: 409.1 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of SimCode: time 2.344e-06/0.2174, allocations: 2.406 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of Templates: time 0.04009/0.2575, allocations: 27.91 MB / 356.7 MB, free: 8.488 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.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.2872882736846805]