Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001739/0.001739, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002624/0.002624, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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.514/1.514, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 71.88 kB / 379 MB, free: 2.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2623, allocations: 53.41 MB / 432.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02659/0.2888, allocations: 21.33 MB / 453.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01678/0.3056, allocations: 7.094 MB / 460.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/0.311, allocations: 182.9 kB / 461 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005528/0.3166, allocations: 1.59 MB / 462.6 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008604/0.3252, allocations: 2.353 MB / 465 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004685/0.3299, allocations: 1.48 MB / 466.5 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.3419, allocations: 7.274 MB / 473.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005389/0.3473, allocations: 3.021 MB / 476.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006662/0.3539, allocations: 3.302 MB / 480.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00848/0.3624, allocations: 3.732 MB / 483.8 MB, free: 2.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003143/0.3655, allocations: 0.8711 MB / 484.7 MB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004353/0.3699, allocations: 1.281 MB / 485.9 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.3725, allocations: 2.142 MB / 488.1 MB, free: 14.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005059/0.3775, allocations: 3.026 MB / 491.1 MB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.3923, allocations: 11.59 MB / 0.4909 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/0.3923, allocations: 11.94 kB / 0.4909 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3923, allocations: 0 / 0.4909 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000318/0.3926, allocations: 0 / 0.4909 GB, free: 15.89 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.02098/0.4136, allocations: 7.535 MB / 0.4983 GB, free: 8.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4137, allocations: 15.92 kB / 0.4983 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006754/0.4204, allocations: 1.265 MB / 0.4995 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.4305, allocations: 4.081 MB / 0.5035 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004386/0.4309, allocations: 435.8 kB / 0.5039 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/0.4327, allocations: 0.5625 MB / 0.5045 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.4516, allocations: 7.564 MB / 0.5119 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.4517, allocations: 7.953 kB / 0.5119 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005776/0.4523, allocations: 232 kB / 0.5121 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003016/0.4526, allocations: 263.3 kB / 0.5124 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.4659, allocations: 6.119 MB / 0.5183 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2781/0.744, allocations: 20.3 MB / 0.5382 GB, free: 91.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007447/0.7515, allocations: 3.905 MB / 0.542 GB, free: 91.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003846/0.7553, allocations: 2.281 MB / 0.5442 GB, free: 91.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.7655, allocations: 5.639 MB / 0.5497 GB, free: 88.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.7655, allocations: 59.81 kB / 0.5498 GB, free: 88.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.25e-06/0.7655, allocations: 0 / 0.5498 GB, free: 88.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.0301/0.7957, allocations: 13.19 MB / 0.5626 GB, free: 81.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.7957, allocations: 81.59 kB / 0.5627 GB, free: 81.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003716/0.7994, allocations: 3.069 MB / 0.5657 GB, free: 78.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/0.7997, allocations: 73.7 kB / 0.5658 GB, free: 78.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.801, allocations: 2.786 MB / 0.5685 GB, free: 75.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/0.8016, allocations: 1.017 MB / 0.5695 GB, free: 74.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007581/0.8024, allocations: 0.6414 MB / 0.5701 GB, free: 74.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.8024, allocations: 301.1 kB / 0.5704 GB, free: 73.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.8045, allocations: 1.545 MB / 0.5719 GB, free: 72.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.8069, allocations: 2.785 MB / 0.5746 GB, free: 69.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004823/0.8117, allocations: 4.595 MB / 0.5791 GB, free: 63.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.277e-05/0.8118, allocations: 14.06 kB / 0.5791 GB, free: 63.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007738/0.8195, allocations: 5.314 MB / 0.5843 GB, free: 58.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.8195, allocations: 24 kB / 0.5844 GB, free: 58.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.234e-05/0.8196, allocations: 39.91 kB / 0.5844 GB, free: 58.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.8209, allocations: 0.6842 MB / 0.5851 GB, free: 57.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002699/0.8236, allocations: 0.854 MB / 0.5859 GB, free: 56.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007634/0.8312, allocations: 9.885 MB / 0.5955 GB, free: 46.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/0.8345, allocations: 223.6 kB / 0.5958 GB, free: 46.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003814/0.8349, allocations: 172 kB / 0.5959 GB, free: 46.19 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.002558/0.8375, allocations: 1.629 MB / 0.5975 GB, free: 44.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008018/0.8383, allocations: 373.7 kB / 0.5979 GB, free: 44.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006329/0.8446, allocations: 4.243 MB / 0.602 GB, free: 39.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/0.8446, allocations: 36 kB / 0.602 GB, free: 39.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.8446, allocations: 8 kB / 0.6021 GB, free: 39.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.8447, allocations: 15.89 kB / 0.6021 GB, free: 39.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.8582, allocations: 8.36 MB / 0.6102 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.8583, allocations: 4.656 kB / 0.6102 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/0.8602, allocations: 0.4954 MB / 0.6107 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.8618, allocations: 0.7455 MB / 0.6115 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.862, allocations: 72.97 kB / 0.6115 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.872, allocations: 13.4 MB / 0.6246 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.872, allocations: 7.938 kB / 0.6246 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009201/0.8812, allocations: 6.347 MB / 0.6308 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/0.8831, allocations: 0.6693 MB / 0.6315 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005268/0.8836, allocations: 63.98 kB / 0.6315 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.8855, allocations: 159.8 kB / 0.6317 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/0.8858, allocations: 217.6 kB / 0.6319 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.886, allocations: 83.97 kB / 0.632 GB, free: 8.289 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002503/0.8885, allocations: 2.004 MB / 0.6339 GB, free: 6.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8885, allocations: 8 kB / 0.6339 GB, free: 6.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003798/0.8923, allocations: 1.093 MB / 0.635 GB, free: 5.195 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.0006513/0.8929, allocations: 281.9 kB / 0.6353 GB, free: 4.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006506/0.8995, allocations: 4.391 MB / 0.6396 GB, free: 456 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.505e-06/0.8995, allocations: 0 / 0.6396 GB, free: 456 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004856/0.9043, allocations: 2.723 MB / 0.6422 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/0.9084, allocations: 0.7432 MB / 0.6429 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/0.9302, allocations: 10.59 MB / 0.6533 GB, free: 2.195 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004176/0.9343, allocations: 2.923 MB / 0.6561 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.9356, allocations: 283.4 kB / 0.6564 GB, free: 14.96 MB / 478.1 MB Notification: Performance of SimCode: time 9.41e-07/0.9356, allocations: 0 / 0.6564 GB, free: 14.96 MB / 478.1 MB Notification: Performance of Templates: time 0.4671/1.403, allocations: 240.7 MB / 0.8914 GB, free: 61.74 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 20.21363927004859]