Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.0008853/0.0008853, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001916, 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.001077/0.001077, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002495, 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.9103/0.9103, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08066/0.991, 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.182e-05, allocations: 5.406 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.0111/0.01113, allocations: 11.21 MB / 255.7 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004763/0.0159, allocations: 4.004 MB / 259.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006425/0.01654, allocations: 79.5 kB / 259.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.01763, allocations: 0.8441 MB / 260.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.01891, allocations: 1.036 MB / 261.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.01949, allocations: 0.5186 MB / 262.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.02146, allocations: 3.353 MB / 265.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.02264, allocations: 1.461 MB / 267 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.02471, allocations: 2.628 MB / 269.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.02595, allocations: 1.602 MB / 271.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003181/0.02626, allocations: 376 kB / 271.6 MB, free: 3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006287/0.02689, allocations: 0.5894 MB / 272.2 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005382/0.02743, allocations: 0.8767 MB / 273.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008115/0.02824, allocations: 0.9669 MB / 274.1 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1138/0.1421, allocations: 2.602 MB / 276.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.716e-05/0.1421, allocations: 0 / 276.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1421, allocations: 1.062 kB / 276.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000161/0.1422, allocations: 3.406 kB / 276.7 MB, free: 7.609 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.007465/0.1497, allocations: 3.845 MB / 280.5 MB, free: 6.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1497, allocations: 10.53 kB / 280.5 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.1512, allocations: 0.6285 MB / 281.2 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.1535, allocations: 1.231 MB / 282.4 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.1536, allocations: 194.7 kB / 282.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003166/0.1539, allocations: 255.6 kB / 282.8 MB, free: 5.668 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/0.1569, allocations: 1.911 MB / 284.7 MB, free: 5.285 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.125e-05/0.157, allocations: 10.42 kB / 284.8 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.1571, allocations: 103.3 kB / 284.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.1572, allocations: 120.4 kB / 285 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.1585, allocations: 0.7221 MB / 285.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008113/0.1667, allocations: 6.786 MB / 292.5 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/0.1673, allocations: 0.6357 MB / 293.1 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004922/0.1678, allocations: 430 kB / 293.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.168, allocations: 50.62 kB / 293.6 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.168, allocations: 47.75 kB / 293.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of pre-optimization done (n=115): time 3.437e-06/0.168, allocations: 0 / 293.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=134): time 0.004988/0.173, allocations: 2.915 MB / 296.5 MB, free: 1.883 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.173, allocations: 65.81 kB / 296.6 MB, free: 1.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000855/0.1739, allocations: 1.224 MB / 297.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.174, allocations: 48.64 kB / 297.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.1743, allocations: 1.066 MB / 299 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.1744, allocations: 480.8 kB / 299.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.1747, allocations: 290 kB / 299.7 MB, free: 460 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.294e-05/0.1747, allocations: 308.8 kB / 300 MB, free: 152 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.1749, allocations: 181 kB / 300.2 MB, free: 136 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.1753, allocations: 0.6604 MB / 300.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.1763, allocations: 1.042 MB / 301.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.1764, allocations: 6.562 kB / 301.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.001433/0.1778, allocations: 1.128 MB / 303 MB, free: 14.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1778, allocations: 8 kB / 303 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.1778, allocations: 16 kB / 303 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/0.1783, allocations: 253.3 kB / 303.3 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008155/0.1792, allocations: 404.2 kB / 303.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.1816, allocations: 3.615 MB / 307.3 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008873/0.1825, allocations: 71.92 kB / 307.4 MB, free: 9.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.789e-05/0.1826, allocations: 56 kB / 307.4 MB, free: 9.637 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.0006993/0.1833, allocations: 223.8 kB / 307.6 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/0.1836, allocations: 155.8 kB / 307.8 MB, free: 9.281 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.1848, allocations: 0.9029 MB / 308.7 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.1848, allocations: 16 kB / 308.7 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1848, allocations: 4 kB / 308.7 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.1848, allocations: 15.91 kB / 308.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004117/0.1889, allocations: 2.701 MB / 311.4 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.189, allocations: 11.94 kB / 311.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.1896, allocations: 242.2 kB / 311.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/0.1901, allocations: 230.7 kB / 311.9 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006965/0.1908, allocations: 329.3 kB / 312.2 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.1909, allocations: 35.98 kB / 312.3 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.1937, allocations: 4.798 MB / 317.1 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1937, allocations: 4 kB / 317.1 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.1956, allocations: 1.359 MB / 318.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.1958, allocations: 31.98 kB / 318.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005054/0.1963, allocations: 55.97 kB / 318.5 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.1965, allocations: 108.2 kB / 318.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.984e-05/0.1966, allocations: 43.92 kB / 318.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000636/0.1972, allocations: 0.6244 MB / 319.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1972, allocations: 0 / 319.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001509/0.1987, allocations: 0.5313 MB / 319.8 MB, free: 13.38 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.0003646/0.1991, allocations: 201.8 kB / 320 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.2005, allocations: 1.142 MB / 321.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-05/0.2006, allocations: 36.42 kB / 321.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008473/0.2014, allocations: 0.8532 MB / 322 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.2029, allocations: 0.5165 MB / 322.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04109/0.244, allocations: 4.374 MB / 326.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007617/0.2448, allocations: 0.5745 MB / 327.5 MB, free: 5.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001066/0.2458, allocations: 238.4 kB / 327.7 MB, free: 5.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006895/0.2527, allocations: 409.1 kB / 328.1 MB, free: 5.043 MB / 298.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2527, allocations: 0 / 328.1 MB, free: 5.043 MB / 298.7 MB Notification: Performance of Templates: time 0.05894/0.3117, allocations: 27.91 MB / 356.1 MB, free: 9.586 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.541790816001594]