Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.00191/0.00191, allocations: 107.6 kB / 21.19 MB, free: 0.6758 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.001996/0.001996, allocations: 215.6 kB / 24.48 MB, free: 3.98 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.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 55.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2751, allocations: 53.35 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02789/0.303, allocations: 21.33 MB / 453.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01648/0.3195, allocations: 7.09 MB / 460.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005547/0.325, allocations: 182.9 kB / 461 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005815/0.3308, allocations: 1.594 MB / 462.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009159/0.34, allocations: 2.357 MB / 464.9 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005292/0.3453, allocations: 1.476 MB / 466.4 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01277/0.358, allocations: 7.271 MB / 473.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006311/0.3643, allocations: 3.166 MB / 476.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006101/0.3704, allocations: 3.306 MB / 480.1 MB, free: 6.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007731/0.3782, allocations: 4.017 MB / 484.1 MB, free: 2.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003008/0.3812, allocations: 0.8672 MB / 485 MB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004626/0.3858, allocations: 1.312 MB / 486.3 MB, free: 484 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003258/0.3891, allocations: 2.135 MB / 488.5 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006148/0.3952, allocations: 3.034 MB / 491.5 MB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01601/0.4112, allocations: 11.59 MB / 0.4913 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4112, allocations: 4 kB / 0.4913 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4112, allocations: 0 / 0.4913 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003318/0.4116, allocations: 0 / 0.4913 GB, free: 15.64 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02239/0.434, allocations: 7.539 MB / 0.4987 GB, free: 8.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.434, allocations: 8.031 kB / 0.4987 GB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007433/0.4414, allocations: 1.265 MB / 0.4999 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.4521, allocations: 4.081 MB / 0.5039 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004836/0.4525, allocations: 435.8 kB / 0.5043 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001964/0.4545, allocations: 0.5664 MB / 0.5049 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/0.4747, allocations: 7.564 MB / 0.5122 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002046/0.4749, allocations: 7.953 kB / 0.5123 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/0.4761, allocations: 232 kB / 0.5125 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003267/0.4765, allocations: 263.3 kB / 0.5127 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.492, allocations: 6.119 MB / 0.5187 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2654/0.7573, allocations: 20.31 MB / 0.5385 GB, free: 91.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008051/0.7654, allocations: 3.901 MB / 0.5423 GB, free: 91.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004171/0.7695, allocations: 2.281 MB / 0.5446 GB, free: 91.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01286/0.7824, allocations: 5.64 MB / 0.5501 GB, free: 88.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.7824, allocations: 60.81 kB / 0.5501 GB, free: 88.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.45e-06/0.7825, allocations: 3.719 kB / 0.5501 GB, free: 88.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.0309/0.8134, allocations: 13.18 MB / 0.563 GB, free: 81.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.8134, allocations: 85.44 kB / 0.5631 GB, free: 81.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004853/0.8182, allocations: 3.072 MB / 0.5661 GB, free: 78.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004647/0.8187, allocations: 73.7 kB / 0.5662 GB, free: 78.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/0.8205, allocations: 2.789 MB / 0.5689 GB, free: 75.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009811/0.8215, allocations: 1.009 MB / 0.5699 GB, free: 74.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/0.8227, allocations: 0.6413 MB / 0.5705 GB, free: 74.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.8228, allocations: 301.1 kB / 0.5708 GB, free: 73.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.825, allocations: 1.553 MB / 0.5723 GB, free: 72.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/0.8277, allocations: 2.785 MB / 0.575 GB, free: 68.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/0.8327, allocations: 4.595 MB / 0.5795 GB, free: 63.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.248e-05/0.8327, allocations: 12 kB / 0.5795 GB, free: 63.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.008589/0.8413, allocations: 5.311 MB / 0.5847 GB, free: 58.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.8413, allocations: 24 kB / 0.5847 GB, free: 58.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-05/0.8414, allocations: 36 kB / 0.5848 GB, free: 58.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.8428, allocations: 0.6954 MB / 0.5854 GB, free: 57.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/0.8457, allocations: 0.8502 MB / 0.5863 GB, free: 56.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007833/0.8536, allocations: 9.885 MB / 0.5959 GB, free: 46.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/0.8569, allocations: 231.7 kB / 0.5961 GB, free: 46.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000575/0.8575, allocations: 168 kB / 0.5963 GB, free: 46.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (427): * Single equations (assignments): 417 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 4 systems {(3,12,100.0%), (1,6,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00282/0.8603, allocations: 1.625 MB / 0.5979 GB, free: 44.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009754/0.8613, allocations: 369.7 kB / 0.5982 GB, free: 44.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006403/0.8677, allocations: 4.255 MB / 0.6024 GB, free: 39.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/0.8677, allocations: 36 kB / 0.6024 GB, free: 39.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.8677, allocations: 8 kB / 0.6024 GB, free: 39.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.8678, allocations: 11.95 kB / 0.6025 GB, free: 39.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.8817, allocations: 8.358 MB / 0.6106 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.8817, allocations: 4 kB / 0.6106 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.8837, allocations: 0.496 MB / 0.6111 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.8853, allocations: 0.749 MB / 0.6118 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000212/0.8855, allocations: 71.97 kB / 0.6119 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009584/0.8951, allocations: 13.4 MB / 0.625 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.8951, allocations: 4 kB / 0.625 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008787/0.9039, allocations: 6.347 MB / 0.6312 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/0.9059, allocations: 0.6693 MB / 0.6318 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006111/0.9065, allocations: 67.5 kB / 0.6319 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.9082, allocations: 159.9 kB / 0.6321 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/0.9086, allocations: 217.5 kB / 0.6323 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.9088, allocations: 87.97 kB / 0.6324 GB, free: 8.254 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002473/0.9113, allocations: 2.004 MB / 0.6343 GB, free: 6.258 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.9113, allocations: 0 / 0.6343 GB, free: 6.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003949/0.9152, allocations: 1.098 MB / 0.6354 GB, free: 5.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.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 (235): * Single equations (assignments): 225 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (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.0006919/0.9159, allocations: 285.8 kB / 0.6357 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00638/0.9223, allocations: 4.388 MB / 0.6399 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.9223, allocations: 0 / 0.6399 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004784/0.9271, allocations: 2.723 MB / 0.6426 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/0.9311, allocations: 0.7354 MB / 0.6433 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/0.9512, allocations: 10.6 MB / 0.6537 GB, free: 2.152 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003982/0.9552, allocations: 2.936 MB / 0.6565 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/0.9565, allocations: 275.4 kB / 0.6568 GB, free: 14.91 MB / 478.1 MB Notification: Performance of SimCode: time 1.373e-06/0.9565, allocations: 0 / 0.6568 GB, free: 14.91 MB / 478.1 MB Notification: Performance of Templates: time 0.4725/1.429, allocations: 240.7 MB / 0.8918 GB, free: 62.84 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.97913031600183]