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.0009026/0.0009026, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009767/0.0009767, allocations: 170.5 kB / 24.91 MB, free: 9.195 MB / 18.57 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.9514/0.9514, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.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.385e-06/2.385e-06, allocations: 4 kB / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.997e-05, allocations: 2.312 kB / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.008768/0.008788, allocations: 11.14 MB / 284.6 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006732/0.01552, allocations: 3.989 MB / 288.6 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.01721, allocations: 83.5 kB / 288.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.0189, allocations: 0.8479 MB / 289.6 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.02121, allocations: 1.032 MB / 290.6 MB, free: 72 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1109/0.1321, allocations: 0.5121 MB / 291.1 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003382/0.1355, allocations: 3.344 MB / 294.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.1373, allocations: 1.459 MB / 295.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/0.1408, allocations: 2.398 MB / 298.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.1432, allocations: 1.601 MB / 299.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008475/0.1441, allocations: 375.7 kB / 300.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.1451, allocations: 0.6019 MB / 300.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006462/0.1458, allocations: 1.078 MB / 302 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.1473, allocations: 1.174 MB / 303.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.15, allocations: 2.781 MB / 305.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.15, allocations: 0 / 305.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.15, allocations: 8.906 kB / 305.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.475e-05/0.1501, allocations: 0 / 305.9 MB, free: 12.36 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.003446/0.1535, allocations: 3.231 MB / 309.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1536, allocations: 6.656 kB / 309.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009972/0.1546, allocations: 0.5518 MB / 309.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.156, allocations: 1.23 MB / 310.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.278e-05/0.1561, allocations: 191.5 kB / 311.1 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.1563, allocations: 259 kB / 311.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.158, allocations: 1.909 MB / 313.3 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/0.158, allocations: 10.94 kB / 313.3 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.1582, allocations: 100 kB / 313.4 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-05/0.1582, allocations: 116.9 kB / 313.5 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009712/0.1592, allocations: 0.7172 MB / 314.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006172/0.1654, allocations: 6.751 MB / 321 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.1661, allocations: 0.6363 MB / 321.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.1666, allocations: 428.9 kB / 322 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.1668, allocations: 61.53 kB / 322.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.1668, allocations: 43.56 kB / 322.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 2.635e-06/0.1668, allocations: 0 / 322.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.004982/0.1718, allocations: 2.916 MB / 325.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1719, allocations: 68.72 kB / 325.1 MB, free: 11.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00091/0.1728, allocations: 1.224 MB / 326.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.1728, allocations: 45.7 kB / 326.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004525/0.1733, allocations: 1.065 MB / 327.5 MB, free: 9.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.1735, allocations: 488.3 kB / 327.9 MB, free: 9.367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.1738, allocations: 281.9 kB / 328.2 MB, free: 9.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.1739, allocations: 309.1 kB / 328.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.1741, allocations: 182.8 kB / 328.7 MB, free: 8.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.1746, allocations: 0.661 MB / 329.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009151/0.1755, allocations: 1.045 MB / 330.4 MB, free: 6.645 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.1755, allocations: 8 kB / 330.4 MB, free: 6.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.001445/0.177, allocations: 1.123 MB / 331.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.177, allocations: 12 kB / 331.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.177, allocations: 16.28 kB / 331.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.1775, allocations: 248.7 kB / 331.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/0.1783, allocations: 381.7 kB / 332.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.181, allocations: 3.613 MB / 335.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/0.1817, allocations: 63.94 kB / 335.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.1818, allocations: 59.98 kB / 335.9 MB, free: 1.141 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.0004328/0.1822, allocations: 221.3 kB / 336.1 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.1824, allocations: 155.8 kB / 336.3 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.1837, allocations: 0.9066 MB / 337.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.1837, allocations: 16 kB / 337.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1837, allocations: 11.98 kB / 337.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.1837, allocations: 11.86 kB / 337.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.1869, allocations: 2.697 MB / 339.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.1869, allocations: 7.938 kB / 339.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.1875, allocations: 237.8 kB / 340.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006241/0.1881, allocations: 323 kB / 340.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.1881, allocations: 39.03 kB / 340.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003094/0.1912, allocations: 4.798 MB / 345.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1912, allocations: 4 kB / 345.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.1929, allocations: 1.355 MB / 346.7 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.1932, allocations: 230.7 kB / 346.9 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.1934, allocations: 36 kB / 346.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.1938, allocations: 55.95 kB / 347 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.194, allocations: 115.5 kB / 347.1 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.1941, allocations: 35.92 kB / 347.1 MB, free: 5.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005641/0.1946, allocations: 0.6239 MB / 347.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1946, allocations: 0 / 347.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001495/0.1961, allocations: 0.5313 MB / 348.3 MB, free: 4.875 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.0003146/0.1964, allocations: 202.2 kB / 348.5 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.1977, allocations: 1.137 MB / 349.6 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.774e-05/0.1977, allocations: 26.06 kB / 349.6 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008042/0.1986, allocations: 0.8517 MB / 350.5 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/0.1995, allocations: 386.6 kB / 350.9 MB, free: 2.375 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/0.2052, allocations: 4.232 MB / 355.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/0.206, allocations: 0.5755 MB / 355.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007864/0.2068, allocations: 230.4 kB / 355.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/0.2075, allocations: 417.1 kB / 356.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of SimCode: time 2.004e-06/0.2075, allocations: 0 / 356.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of Templates: time 0.03621/0.2437, allocations: 26.92 MB / 383.2 MB, free: 2.379 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 -s gbode -gbm=radauIIA3 -emit_protected -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.552318631205708]