Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0023/0.0023, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.466/2.466, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 50.94 kB / 300.6 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1446, allocations: 49.45 MB / 350.1 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01957/0.1642, allocations: 11.38 MB / 361.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.1747, allocations: 3.827 MB / 365.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.178, allocations: 55.75 kB / 365.3 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003712/0.1818, allocations: 0.7461 MB / 366.1 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.1865, allocations: 0.8469 MB / 366.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.1885, allocations: 459.5 kB / 367.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3393/0.5278, allocations: 3.552 MB / 370.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007244/0.5351, allocations: 2.169 MB / 373.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004975/0.5402, allocations: 1.25 MB / 374.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006521/0.5468, allocations: 1.74 MB / 376.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002695/0.5495, allocations: 235.8 kB / 376.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005424/0.555, allocations: 498 kB / 376.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004644/0.5597, allocations: 0.9163 MB / 377.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00852/0.5683, allocations: 1.567 MB / 379.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.5809, allocations: 4.138 MB / 383.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.581, allocations: 0 / 383.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.581, allocations: 0 / 383.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003369/0.5814, allocations: 1.156 kB / 383.4 MB, free: 9.273 MB / 302.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.01828/0.5997, allocations: 3.484 MB / 386.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.5997, allocations: 9.75 kB / 386.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/0.6023, allocations: 409.4 kB / 387.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004363/0.6067, allocations: 1.78 MB / 389.1 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.607, allocations: 194.5 kB / 389.3 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006452/0.6076, allocations: 260.9 kB / 389.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006982/0.6146, allocations: 3.243 MB / 392.8 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.863e-05/0.6147, allocations: 5.375 kB / 392.8 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/0.615, allocations: 109.9 kB / 392.9 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.6152, allocations: 111.9 kB / 393 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005219/0.6204, allocations: 2.704 MB / 395.7 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.6403, allocations: 10.36 MB / 406.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.6428, allocations: 1.782 MB / 407.8 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.6447, allocations: 1.06 MB / 408.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/0.645, allocations: 199.2 kB / 409.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.6451, allocations: 47.56 kB / 409.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 4.268e-06/0.6451, allocations: 0 / 409.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02161/0.6667, allocations: 7.42 MB / 416.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/0.6668, allocations: 64.72 kB / 416.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00466/0.6715, allocations: 1.869 MB / 418.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003644/0.6719, allocations: 53.53 kB / 418.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.6733, allocations: 1.243 MB / 419.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007498/0.6741, allocations: 467.1 kB / 420.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007546/0.6749, allocations: 299.3 kB / 420.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.675, allocations: 309.1 kB / 420.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.6772, allocations: 0.8081 MB / 421.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003083/0.6803, allocations: 1.319 MB / 423 MB, free: 8.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006225/0.6866, allocations: 2.248 MB / 425.2 MB, free: 5.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.537e-05/0.6866, allocations: 4 kB / 425.2 MB, free: 5.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00974/0.6964, allocations: 2.796 MB / 428 MB, free: 3.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.6965, allocations: 12 kB / 428 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.091e-05/0.6965, allocations: 12 kB / 428 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.6985, allocations: 422.4 kB / 428.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/0.7015, allocations: 399.7 kB / 428.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.7125, allocations: 5.315 MB / 434.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/0.7165, allocations: 127.8 kB / 434.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006586/0.7172, allocations: 72 kB / 434.4 MB, free: 12.63 MB / 350.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.003756/0.721, allocations: 0.789 MB / 435.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/0.7223, allocations: 193.6 kB / 435.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008745/0.7311, allocations: 2.397 MB / 437.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.831e-05/0.7312, allocations: 16 kB / 437.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.829e-05/0.7312, allocations: 4 kB / 437.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/0.7313, allocations: 7.969 kB / 437.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/0.7492, allocations: 5.264 MB / 443 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.7493, allocations: 4 kB / 443 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.7505, allocations: 263.2 kB / 443.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00223/0.7528, allocations: 458 kB / 443.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/0.7531, allocations: 35.98 kB / 443.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.7642, allocations: 6.739 MB / 450.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.7643, allocations: 7.844 kB / 450.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/0.7753, allocations: 3.576 MB / 454.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/0.7776, allocations: 450.6 kB / 454.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/0.7788, allocations: 39.11 kB / 454.6 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/0.7815, allocations: 95.89 kB / 454.7 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005069/0.7821, allocations: 115.5 kB / 454.8 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/0.7824, allocations: 43.98 kB / 454.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004646/0.787, allocations: 1.294 MB / 456.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7871, allocations: 0 / 456.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004843/0.7919, allocations: 0.543 MB / 456.7 MB, free: 5.801 MB / 366.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.000979/0.7929, allocations: 221.8 kB / 456.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007149/0.8001, allocations: 2.409 MB / 459.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.8001, allocations: 0 / 459.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004428/0.8046, allocations: 1.514 MB / 460.8 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00546/0.8101, allocations: 423.9 kB / 461.2 MB, free: 1.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/0.8278, allocations: 6.292 MB / 467.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003686/0.8315, allocations: 1.991 MB / 469.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/0.833, allocations: 147.4 kB / 469.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.833, allocations: 0 / 469.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of Templates: time 0.147/0.98, allocations: 70.05 MB / 0.527 GB, free: 2.781 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches