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.001703/0.001703, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002106/0.002106, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.584/1.584, allocations: 230.6 MB / 258.2 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.92 kB / 379 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2549, allocations: 53.37 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01373/0.2686, allocations: 10.12 MB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007802/0.2764, allocations: 3.717 MB / 446.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.2782, allocations: 75.5 kB / 446.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.2803, allocations: 0.8155 MB / 447.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.2832, allocations: 1.002 MB / 448.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.2844, allocations: 0.5188 MB / 448.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004142/0.2885, allocations: 3.23 MB / 451.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/0.2908, allocations: 1.477 MB / 453.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.293, allocations: 1.48 MB / 454.8 MB, free: 108 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002815/0.2958, allocations: 1.86 MB / 456.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006613/0.2964, allocations: 388 kB / 457 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.2977, allocations: 0.6244 MB / 457.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.2988, allocations: 1.087 MB / 458.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.3005, allocations: 1.392 MB / 460.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005782/0.3062, allocations: 5.091 MB / 465.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3062, allocations: 7.938 kB / 465.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3062, allocations: 0 / 465.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.869e-05/0.3063, allocations: 0 / 465.2 MB, free: 5.629 MB / 366.1 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.007301/0.3136, allocations: 3.499 MB / 468.7 MB, free: 2.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3137, allocations: 12.03 kB / 468.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.3154, allocations: 458.7 kB / 469.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.319, allocations: 1.791 MB / 471 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.3192, allocations: 193.1 kB / 471.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004054/0.3196, allocations: 255.9 kB / 471.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005867/0.3255, allocations: 3.377 MB / 474.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-05/0.3255, allocations: 4 kB / 474.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/0.3258, allocations: 108 kB / 474.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/0.3259, allocations: 108.9 kB / 475 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004821/0.3308, allocations: 2.697 MB / 477.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/0.3472, allocations: 8.915 MB / 486.6 MB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.3494, allocations: 1.245 MB / 487.9 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.3512, allocations: 0.9796 MB / 488.8 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.3514, allocations: 48.95 kB / 488.9 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.3515, allocations: 47.56 kB / 488.9 MB, free: 13.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 4.127e-06/0.3515, allocations: 4 kB / 488.9 MB, free: 13.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.0182/0.3697, allocations: 7.06 MB / 496 MB, free: 6.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.3697, allocations: 64.72 kB / 496.1 MB, free: 6.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/0.3724, allocations: 1.712 MB / 497.8 MB, free: 4.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.3725, allocations: 53.7 kB / 497.8 MB, free: 4.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.3736, allocations: 1.294 MB / 499.1 MB, free: 3.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004543/0.3741, allocations: 491.8 kB / 499.6 MB, free: 2.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005148/0.3746, allocations: 303.4 kB / 499.9 MB, free: 2.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3747, allocations: 309 kB / 0.4885 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.3761, allocations: 0.812 MB / 0.4893 GB, free: 1.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.3779, allocations: 1.308 MB / 0.4905 GB, free: 15.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/0.3813, allocations: 2.254 MB / 0.4927 GB, free: 13.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.3813, allocations: 4 kB / 0.4928 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004966/0.3863, allocations: 2.713 MB / 0.4954 GB, free: 10.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.3863, allocations: 8 kB / 0.4954 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.3863, allocations: 16 kB / 0.4954 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.3874, allocations: 429.2 kB / 0.4958 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.3889, allocations: 403.3 kB / 0.4962 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006463/0.3954, allocations: 5.483 MB / 0.5016 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.397, allocations: 123.8 kB / 0.5017 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.3972, allocations: 71.98 kB / 0.5018 GB, free: 3.762 MB / 414.1 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.00139/0.3986, allocations: 0.8008 MB / 0.5025 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003788/0.3989, allocations: 190.8 kB / 0.5027 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/0.4032, allocations: 2.291 MB / 0.505 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/0.4032, allocations: 16.09 kB / 0.505 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4032, allocations: 4 kB / 0.505 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.4032, allocations: 11.95 kB / 0.505 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008665/0.4119, allocations: 4.531 MB / 0.5094 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.4119, allocations: 8 kB / 0.5094 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.4131, allocations: 251.6 kB / 0.5097 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.4143, allocations: 466.1 kB / 0.5101 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.4144, allocations: 43.86 kB / 0.5101 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008169/0.4226, allocations: 6.898 MB / 0.5169 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/0.4226, allocations: 11.94 kB / 0.5169 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006129/0.4288, allocations: 3.479 MB / 0.5203 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.4299, allocations: 362.7 kB / 0.5206 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/0.4302, allocations: 39.86 kB / 0.5207 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.4313, allocations: 103.9 kB / 0.5208 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.4316, allocations: 108.7 kB / 0.5209 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.4317, allocations: 47.98 kB / 0.5209 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001785/0.4335, allocations: 1.158 MB / 0.5221 GB, free: 14.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4335, allocations: 0 / 0.5221 GB, free: 14.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001834/0.4353, allocations: 0.5467 MB / 0.5226 GB, free: 13.9 MB / 446.1 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.0004605/0.4358, allocations: 223.1 kB / 0.5228 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004185/0.44, allocations: 2.266 MB / 0.525 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.44, allocations: 0 / 0.525 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002563/0.4425, allocations: 1.448 MB / 0.5264 GB, free: 9.891 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.4445, allocations: 364.7 kB / 0.5268 GB, free: 9.535 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009047/0.4535, allocations: 5.199 MB / 0.5319 GB, free: 4.246 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/0.4553, allocations: 1.447 MB / 0.5333 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001307/0.4566, allocations: 418.2 kB / 0.5337 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/0.457, allocations: 119.4 kB / 0.5338 GB, free: 2.23 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.457, allocations: 0 / 0.5338 GB, free: 2.23 MB / 446.1 MB Notification: Performance of Templates: time 0.2429/0.6999, allocations: 30.18 MB / 0.5633 GB, free: 82.73 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.051566786001786]