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.0009018/0.0009018, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009047/0.0009047, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9407/0.9407, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.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.392e-06/1.392e-06, allocations: 0 / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.385e-05, allocations: 5.266 kB / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.008925/0.008939, allocations: 11.13 MB / 284.6 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006235/0.01517, allocations: 4 MB / 288.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005755/0.01575, allocations: 79.5 kB / 288.7 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.01688, allocations: 0.8518 MB / 289.5 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1083/0.1252, allocations: 1.025 MB / 290.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1265, allocations: 0.5279 MB / 291.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002933/0.1294, allocations: 3.345 MB / 294.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.1309, allocations: 1.455 MB / 295.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.1337, allocations: 2.404 MB / 298.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.1354, allocations: 1.605 MB / 299.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000461/0.1359, allocations: 375.5 kB / 300.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007957/0.1367, allocations: 0.6014 MB / 300.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005781/0.1373, allocations: 1.078 MB / 301.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009755/0.1382, allocations: 1.175 MB / 303.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.1402, allocations: 2.78 MB / 305.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1402, allocations: 2.719 kB / 305.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1402, allocations: 3.938 kB / 305.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.858e-05/0.1402, allocations: 0 / 305.9 MB, free: 12.21 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.00272/0.1429, allocations: 3.239 MB / 309.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.143, allocations: 10.73 kB / 309.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009324/0.1439, allocations: 0.5535 MB / 309.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.1451, allocations: 1.234 MB / 310.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.289e-05/0.1452, allocations: 192.3 kB / 311.1 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.1454, allocations: 255.2 kB / 311.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.1469, allocations: 1.91 MB / 313.3 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.1469, allocations: 7.891 kB / 313.3 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.1471, allocations: 111 kB / 313.4 MB, free: 7.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-05/0.1471, allocations: 112.9 kB / 313.5 MB, free: 6.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009017/0.148, allocations: 0.7243 MB / 314.2 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00545/0.1535, allocations: 6.75 MB / 321 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.1542, allocations: 0.6354 MB / 321.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.1547, allocations: 425 kB / 322 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.1548, allocations: 55.59 kB / 322.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1549, allocations: 51.56 kB / 322.1 MB, free: 14.58 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 2.395e-06/0.1549, allocations: 4 kB / 322.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.004552/0.1594, allocations: 2.908 MB / 325 MB, free: 11.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.1594, allocations: 68.72 kB / 325.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.1605, allocations: 1.227 MB / 326.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.1605, allocations: 45.7 kB / 326.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000407/0.161, allocations: 1.068 MB / 327.4 MB, free: 9.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.1612, allocations: 483.9 kB / 327.9 MB, free: 9.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.1614, allocations: 290.5 kB / 328.2 MB, free: 8.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.1615, allocations: 301.1 kB / 328.5 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.1618, allocations: 182.8 kB / 328.7 MB, free: 8.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.1622, allocations: 0.6641 MB / 329.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.163, allocations: 1.039 MB / 330.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.163, allocations: 4 kB / 330.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.001327/0.1644, allocations: 1.14 MB / 331.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1644, allocations: 12 kB / 331.5 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.1644, allocations: 16 kB / 331.5 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004922/0.1649, allocations: 247.3 kB / 331.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007494/0.1656, allocations: 377.4 kB / 332.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.1682, allocations: 3.607 MB / 335.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.1687, allocations: 71.92 kB / 335.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/0.1688, allocations: 60 kB / 335.9 MB, free: 0.8828 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.0003165/0.1691, allocations: 208.8 kB / 336.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.1693, allocations: 159.8 kB / 336.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.1704, allocations: 0.914 MB / 337.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.1704, allocations: 16 kB / 337.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1705, allocations: 4 kB / 337.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.1705, allocations: 11.86 kB / 337.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.1734, allocations: 2.712 MB / 339.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.1734, allocations: 8.5 kB / 339.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.1739, allocations: 230.1 kB / 340.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008349/0.1748, allocations: 324.7 kB / 340.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/0.1748, allocations: 43.97 kB / 340.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.1775, allocations: 4.778 MB / 345.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1775, allocations: 4 kB / 345.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.1789, allocations: 1.362 MB / 346.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.1792, allocations: 229.8 kB / 346.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.1794, allocations: 36.05 kB / 346.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.1798, allocations: 59.97 kB / 347 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.1799, allocations: 123.5 kB / 347.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.18, allocations: 39.92 kB / 347.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004973/0.1805, allocations: 0.6187 MB / 347.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1805, allocations: 0 / 347.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001211/0.1817, allocations: 0.526 MB / 348.3 MB, free: 4.617 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.0002797/0.182, allocations: 205.9 kB / 348.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.1831, allocations: 1.139 MB / 349.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.611e-05/0.1832, allocations: 21.81 kB / 349.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.1839, allocations: 0.8476 MB / 350.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009107/0.1849, allocations: 392.2 kB / 350.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.1895, allocations: 4.242 MB / 355.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.19, allocations: 0.5756 MB / 355.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005018/0.1905, allocations: 230.2 kB / 355.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/0.1912, allocations: 409.1 kB / 356.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1912, allocations: 0 / 356.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of Templates: time 0.03371/0.2249, allocations: 26.93 MB / 383.2 MB, free: 2.09 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 -s gbode -gbm=radauIIA3 -emit_protected -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.520080962218344]