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.002489/0.002489, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002842/0.002842, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.58/1.58, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.425e-05, allocations: 2.312 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01665/0.01668, allocations: 11.3 MB / 283.5 MB, free: 6.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009464/0.02614, allocations: 3.854 MB / 287.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002752/0.0289, allocations: 79.5 kB / 287.4 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003143/0.03204, allocations: 0.8389 MB / 288.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004538/0.03658, allocations: 1.032 MB / 289.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.03859, allocations: 0.5148 MB / 289.8 MB, free: 84 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1274/0.1659, allocations: 3.34 MB / 293.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.1682, allocations: 1.423 MB / 294.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.1725, allocations: 2.167 MB / 296.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003383/0.1759, allocations: 1.69 MB / 298.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007426/0.1766, allocations: 391.8 kB / 298.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.1781, allocations: 0.6029 MB / 299.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.1791, allocations: 1.129 MB / 300.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.1808, allocations: 1.195 MB / 301.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004368/0.1852, allocations: 5.16 MB / 306.9 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1852, allocations: 0.5 kB / 306.9 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1852, allocations: 1.75 kB / 306.9 MB, free: 11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.258e-05/0.1853, allocations: 0 / 306.9 MB, free: 11 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.007579/0.1929, allocations: 3.923 MB / 310.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1929, allocations: 17.48 kB / 310.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.1948, allocations: 0.6571 MB / 311.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.1982, allocations: 1.745 MB / 313.3 MB, free: 6.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.1983, allocations: 189.4 kB / 313.4 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/0.1987, allocations: 251.6 kB / 313.7 MB, free: 6.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004506/0.2032, allocations: 3.117 MB / 316.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.008e-05/0.2032, allocations: 7.891 kB / 316.8 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.2035, allocations: 106.2 kB / 316.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.2036, allocations: 118.2 kB / 317 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003536/0.2071, allocations: 2.028 MB / 319.1 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0243/0.2314, allocations: 12.11 MB / 331.2 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.2335, allocations: 0.8749 MB / 332 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.2352, allocations: 0.6653 MB / 332.7 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.2355, allocations: 62.78 kB / 332.8 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.2355, allocations: 46.39 kB / 332.8 MB, free: 2.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 3.506e-06/0.2355, allocations: 0 / 332.8 MB, free: 2.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.01321/0.2487, allocations: 4.313 MB / 337.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.2488, allocations: 68.66 kB / 337.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/0.2523, allocations: 2.033 MB / 339.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.2524, allocations: 45.7 kB / 339.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.2539, allocations: 1.465 MB / 340.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006206/0.2545, allocations: 0.5158 MB / 341.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006873/0.2552, allocations: 361.1 kB / 341.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002676/0.2555, allocations: 480.7 kB / 342.1 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.2566, allocations: 455.5 kB / 342.5 MB, free: 8.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.2587, allocations: 1.199 MB / 343.7 MB, free: 7.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003238/0.262, allocations: 1.813 MB / 345.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.262, allocations: 4 kB / 345.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004734/0.2667, allocations: 1.93 MB / 347.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.2667, allocations: 12 kB / 347.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.2668, allocations: 16 kB / 347.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.2679, allocations: 279 kB / 347.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.2695, allocations: 391.4 kB / 348.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006659/0.2762, allocations: 5.164 MB / 353.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.2781, allocations: 118.8 kB / 353.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/0.2783, allocations: 75.98 kB / 353.5 MB, free: 13.23 MB / 314.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.001405/0.2797, allocations: 0.6521 MB / 354.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006386/0.2803, allocations: 246.6 kB / 354.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.2841, allocations: 1.463 MB / 355.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/0.2842, allocations: 16 kB / 355.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.2842, allocations: 4 kB / 355.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.2842, allocations: 7.969 kB / 355.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.2951, allocations: 4.329 MB / 360.2 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/0.2951, allocations: 4 kB / 360.2 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.2963, allocations: 238.5 kB / 360.5 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.2978, allocations: 332.8 kB / 360.8 MB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.2979, allocations: 31.98 kB / 360.8 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008297/0.3062, allocations: 6.917 MB / 367.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.389e-05/0.3062, allocations: 15.48 kB / 367.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/0.3116, allocations: 2.275 MB / 370 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.3129, allocations: 342.6 kB / 370.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/0.3132, allocations: 35.98 kB / 370.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.3144, allocations: 83.91 kB / 370.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/0.3148, allocations: 128.2 kB / 370.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.3149, allocations: 47.98 kB / 370.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002232/0.3171, allocations: 1.2 MB / 371.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3171, allocations: 4 kB / 371.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00241/0.3195, allocations: 0.539 MB / 372.4 MB, free: 9.879 MB / 330.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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005711/0.3201, allocations: 229.3 kB / 372.6 MB, free: 9.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004138/0.3242, allocations: 1.814 MB / 374.4 MB, free: 7.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.3242, allocations: 0 / 374.4 MB, free: 7.879 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002651/0.3269, allocations: 1.311 MB / 375.7 MB, free: 6.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.3292, allocations: 403 kB / 376.1 MB, free: 6.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00943/0.3386, allocations: 4.655 MB / 380.8 MB, free: 1.398 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/0.3406, allocations: 1.368 MB / 382.2 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001389/0.342, allocations: 336.5 kB / 382.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/0.3424, allocations: 120.5 kB / 382.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of SimCode: time 2.344e-06/0.3424, allocations: 0 / 382.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of Templates: time 0.05494/0.3974, allocations: 26.44 MB / 409 MB, free: 5.508 MB / 362.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.9919307850068435]