Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.001932/0.001932, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.002202/0.002202, allocations: 202.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 207.7 MB / 236.1 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.92 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3098, allocations: 49.16 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01311/0.3229, allocations: 10.04 MB / 407.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008889/0.3318, allocations: 3.698 MB / 411.4 MB, free: 164 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.3345, allocations: 70.53 kB / 411.4 MB, free: 132 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.3373, allocations: 0.8119 MB / 412.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004259/0.3415, allocations: 0.9941 MB / 413.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.3432, allocations: 0.5219 MB / 413.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005103/0.3483, allocations: 3.224 MB / 417 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/0.3506, allocations: 1.388 MB / 418.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.3533, allocations: 1.466 MB / 419.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003426/0.3568, allocations: 1.739 MB / 421.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008074/0.3576, allocations: 386.6 kB / 421.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.3594, allocations: 0.5989 MB / 422.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.3608, allocations: 1.091 MB / 423.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00264/0.3635, allocations: 1.392 MB / 425 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007358/0.3708, allocations: 5.086 MB / 430.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3709, allocations: 0 / 430.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3709, allocations: 0 / 430.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001194/0.371, allocations: 4 kB / 430.1 MB, free: 2.543 MB / 334.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.008327/0.3793, allocations: 3.476 MB / 433.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.3794, allocations: 11.98 kB / 433.6 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.3808, allocations: 430.7 kB / 434 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.3843, allocations: 1.667 MB / 435.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.3845, allocations: 193.2 kB / 435.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/0.385, allocations: 259.9 kB / 436.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006411/0.3914, allocations: 3.365 MB / 439.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.3915, allocations: 4 kB / 439.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.3917, allocations: 104 kB / 439.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/0.3919, allocations: 116.9 kB / 439.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00536/0.3973, allocations: 2.693 MB / 442.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01863/0.4159, allocations: 8.915 MB / 451.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.4183, allocations: 1.254 MB / 452.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/0.4202, allocations: 0.9757 MB / 453.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.4204, allocations: 56.97 kB / 453.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.4205, allocations: 43.56 kB / 453.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 3.988e-06/0.4205, allocations: 0 / 453.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.019/0.4395, allocations: 7.041 MB / 460.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.4395, allocations: 68.72 kB / 460.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/0.4426, allocations: 1.703 MB / 462.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.4427, allocations: 45.7 kB / 462.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.4439, allocations: 1.302 MB / 463.8 MB, free: 232 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/0.4444, allocations: 491.9 kB / 464.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004986/0.4449, allocations: 291.5 kB / 464.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.445, allocations: 305.1 kB / 464.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.4465, allocations: 0.8158 MB / 465.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.4485, allocations: 1.313 MB / 467 MB, free: 12.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00357/0.4521, allocations: 2.251 MB / 469.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.4521, allocations: 8 kB / 469.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005381/0.4575, allocations: 2.697 MB / 472 MB, free: 7.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.4575, allocations: 12 kB / 472 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/0.4575, allocations: 16 kB / 472 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.4586, allocations: 422.5 kB / 472.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.4602, allocations: 399.3 kB / 472.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/0.4673, allocations: 5.484 MB / 478.3 MB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.4694, allocations: 123.8 kB / 478.4 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.4696, allocations: 71.98 kB / 478.5 MB, free: 0.8906 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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.00175/0.4713, allocations: 0.7901 MB / 479.3 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/0.4719, allocations: 186.9 kB / 479.4 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/0.4764, allocations: 2.287 MB / 481.7 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/0.4764, allocations: 19.98 kB / 481.7 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.4764, allocations: 4 kB / 481.7 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.4764, allocations: 3.984 kB / 481.8 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009228/0.4857, allocations: 4.54 MB / 486.3 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.4857, allocations: 4.625 kB / 486.3 MB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.4868, allocations: 255.6 kB / 486.5 MB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.4881, allocations: 446.1 kB / 487 MB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.4882, allocations: 51.91 kB / 487 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00851/0.4967, allocations: 6.894 MB / 493.9 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/0.4967, allocations: 11.88 kB / 493.9 MB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006576/0.5033, allocations: 3.482 MB / 497.4 MB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.5046, allocations: 366.7 kB / 497.8 MB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.5049, allocations: 43.98 kB / 497.8 MB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.506, allocations: 95.88 kB / 497.9 MB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/0.5063, allocations: 120.7 kB / 498 MB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.5064, allocations: 39.98 kB / 498.1 MB, free: 12.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002/0.5084, allocations: 1.149 MB / 499.2 MB, free: 11.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5084, allocations: 0 / 499.2 MB, free: 11.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002063/0.5105, allocations: 0.5468 MB / 499.8 MB, free: 11.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (116): * Single equations (assignments): 111 * 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.0005175/0.511, allocations: 214.8 kB / 500 MB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004549/0.5156, allocations: 2.259 MB / 0.4905 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.5156, allocations: 0 / 0.4905 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002852/0.5184, allocations: 1.459 MB / 0.4919 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.5207, allocations: 377.5 kB / 0.4922 GB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009713/0.5304, allocations: 5.247 MB / 0.4974 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/0.5322, allocations: 1.423 MB / 0.4988 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006951/0.5329, allocations: 131.4 kB / 0.4989 GB, free: 15.71 MB / 430.1 MB Notification: Performance of SimCode: time 1.693e-06/0.5329, allocations: 0 / 0.4989 GB, free: 15.71 MB / 430.1 MB Notification: Performance of Templates: time 0.2984/0.8313, allocations: 70.17 MB / 0.5674 GB, free: 149.6 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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: 13.765899708028883]