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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=60000,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=60000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.00121, allocations: 117.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 55.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2494, allocations: 50.54 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02478/0.2743, allocations: 24.76 MB / 434 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.2888, allocations: 7.393 MB / 441.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003978/0.2928, allocations: 147.5 kB / 441.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004228/0.2971, allocations: 1.599 MB / 443.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007142/0.3043, allocations: 2.263 MB / 445.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.3081, allocations: 1.495 MB / 446.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009946/0.3181, allocations: 7.253 MB / 454.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006651/0.3248, allocations: 5.562 MB / 459.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004397/0.3292, allocations: 3.204 MB / 463 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006164/0.3354, allocations: 3.962 MB / 466.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001998/0.3374, allocations: 0.8789 MB / 467.8 MB, free: 6.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.3405, allocations: 1.292 MB / 469.1 MB, free: 5.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002058/0.3426, allocations: 2.123 MB / 471.2 MB, free: 3.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005116/0.3477, allocations: 3.792 MB / 475 MB, free: 15.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.3628, allocations: 11.55 MB / 486.6 MB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3628, allocations: 0 / 486.6 MB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3628, allocations: 0 / 486.6 MB, free: 3.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002591/0.3631, allocations: 0 / 486.6 MB, free: 3.98 MB / 398.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.01944/0.3825, allocations: 7.626 MB / 494.2 MB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3826, allocations: 12.03 kB / 494.2 MB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00589/0.3885, allocations: 1.293 MB / 495.5 MB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008504/0.397, allocations: 4.195 MB / 499.7 MB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.3974, allocations: 427.8 kB / 0.4884 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/0.3984, allocations: 0.5547 MB / 0.4889 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/0.4113, allocations: 7.276 MB / 0.496 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.4115, allocations: 11.89 kB / 0.496 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005369/0.412, allocations: 236 kB / 0.4963 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002797/0.4123, allocations: 267.3 kB / 0.4965 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.4237, allocations: 6.119 MB / 0.5025 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04349/0.4672, allocations: 23.56 MB / 0.5255 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009101/0.4763, allocations: 8.98 MB / 0.5343 GB, free: 5.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004362/0.4807, allocations: 2.484 MB / 0.5367 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2139/0.6946, allocations: 7.525 MB / 0.544 GB, free: 117.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.6947, allocations: 67.64 kB / 0.5441 GB, free: 117.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 5.11e-06/0.6947, allocations: 0 / 0.5441 GB, free: 117.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=282): time 0.04716/0.7419, allocations: 13.91 MB / 0.5577 GB, free: 112.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.742, allocations: 80.69 kB / 0.5578 GB, free: 112.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007575/0.7496, allocations: 3.457 MB / 0.5611 GB, free: 111.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003333/0.7499, allocations: 73.55 kB / 0.5612 GB, free: 111.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.7519, allocations: 2.765 MB / 0.5639 GB, free: 109 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008882/0.7528, allocations: 1.017 MB / 0.5649 GB, free: 108.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/0.754, allocations: 0.6375 MB / 0.5655 GB, free: 107.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.883e-05/0.7541, allocations: 309.1 kB / 0.5658 GB, free: 107.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/0.7574, allocations: 1.541 MB / 0.5673 GB, free: 105.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003735/0.7612, allocations: 2.752 MB / 0.57 GB, free: 102.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007265/0.7685, allocations: 4.601 MB / 0.5745 GB, free: 97.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.258e-05/0.7685, allocations: 8 kB / 0.5745 GB, free: 97.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01138/0.7799, allocations: 5.512 MB / 0.5799 GB, free: 91.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.7799, allocations: 20 kB / 0.5799 GB, free: 91.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.015e-05/0.78, allocations: 40.66 kB / 0.58 GB, free: 91.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.7814, allocations: 0.683 MB / 0.5806 GB, free: 90.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.7841, allocations: 0.8463 MB / 0.5814 GB, free: 89.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00763/0.7917, allocations: 10.5 MB / 0.5917 GB, free: 78.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/0.7948, allocations: 231.9 kB / 0.5919 GB, free: 78.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/0.7951, allocations: 172 kB / 0.5921 GB, free: 78.54 MB / 462.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.002441/0.7975, allocations: 1.632 MB / 0.5937 GB, free: 76.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007919/0.7983, allocations: 409.4 kB / 0.5941 GB, free: 76.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006386/0.8047, allocations: 4.526 MB / 0.5985 GB, free: 71.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-05/0.8048, allocations: 35.98 kB / 0.5985 GB, free: 71.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.8048, allocations: 11.94 kB / 0.5985 GB, free: 71.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.8048, allocations: 11.95 kB / 0.5986 GB, free: 71.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.8175, allocations: 9.919 MB / 0.6082 GB, free: 61.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.8175, allocations: 7.984 kB / 0.6082 GB, free: 61.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/0.8194, allocations: 0.4916 MB / 0.6087 GB, free: 61.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/0.821, allocations: 0.7523 MB / 0.6095 GB, free: 60.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.8212, allocations: 67.97 kB / 0.6095 GB, free: 60.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009372/0.8306, allocations: 14.27 MB / 0.6235 GB, free: 45.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.8306, allocations: 15.88 kB / 0.6235 GB, free: 45.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008451/0.8391, allocations: 6.625 MB / 0.6299 GB, free: 38.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/0.8406, allocations: 0.795 MB / 0.6307 GB, free: 37.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005042/0.8411, allocations: 67.91 kB / 0.6308 GB, free: 37.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.843, allocations: 163.9 kB / 0.6309 GB, free: 37.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/0.8434, allocations: 205.8 kB / 0.6311 GB, free: 37.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.8435, allocations: 87.97 kB / 0.6312 GB, free: 37.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002649/0.8462, allocations: 2.319 MB / 0.6335 GB, free: 34.78 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.8462, allocations: 8 kB / 0.6335 GB, free: 34.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00303/0.8492, allocations: 1.097 MB / 0.6346 GB, free: 33.67 MB / 462.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.0005051/0.8498, allocations: 286.4 kB / 0.6348 GB, free: 33.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005992/0.8558, allocations: 4.711 MB / 0.6394 GB, free: 28.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.8558, allocations: 0 / 0.6394 GB, free: 28.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003648/0.8594, allocations: 2.86 MB / 0.6422 GB, free: 25.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004539/0.864, allocations: 0.9236 MB / 0.6431 GB, free: 24.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.8807, allocations: 10.64 MB / 0.6535 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/0.8831, allocations: 3.511 MB / 0.657 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002451/0.8856, allocations: 0.8526 MB / 0.6578 GB, free: 9.562 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/0.8863, allocations: 263.4 kB / 0.658 GB, free: 9.305 MB / 462.1 MB Notification: Performance of SimCode: time 8.51e-07/0.8863, allocations: 4 kB / 0.658 GB, free: 9.301 MB / 462.1 MB Notification: Performance of Templates: time 0.08325/0.9695, allocations: 51.85 MB / 0.7087 GB, free: 5.977 MB / 0.4981 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches