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.00094/0.0009402, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0009483/0.0009486, allocations: 184.2 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002746, allocations: 7.938 kB / 301.4 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 50.42 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.0116/0.1144, allocations: 10.8 MB / 362.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007473/0.1219, allocations: 3.8 MB / 366.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.1232, allocations: 51.81 kB / 366.5 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.1251, allocations: 0.7306 MB / 367.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.1275, allocations: 0.8469 MB / 368.1 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1285, allocations: 459.5 kB / 368.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1795/0.308, allocations: 3.556 MB / 372.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.3114, allocations: 2.139 MB / 374.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.3138, allocations: 1.086 MB / 375.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002894/0.3167, allocations: 1.53 MB / 376.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006213/0.3174, allocations: 161.8 kB / 377 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.3186, allocations: 430.2 kB / 377.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009514/0.3196, allocations: 0.8038 MB / 378.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.3213, allocations: 1.449 MB / 379.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004484/0.3258, allocations: 4.726 MB / 384.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3258, allocations: 5 kB / 384.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3259, allocations: 3.938 kB / 384.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.771e-05/0.326, allocations: 0 / 384.4 MB, free: 8.461 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.006086/0.332, allocations: 2.959 MB / 387.4 MB, free: 6.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3321, allocations: 13.84 kB / 387.4 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.3336, allocations: 411.4 kB / 387.8 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.3364, allocations: 1.782 MB / 389.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.3366, allocations: 202.6 kB / 389.8 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004139/0.337, allocations: 250.5 kB / 390 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005322/0.3423, allocations: 3.264 MB / 393.3 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.076e-05/0.3424, allocations: 6.641 kB / 393.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/0.3427, allocations: 108.2 kB / 393.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.3428, allocations: 115.1 kB / 393.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004163/0.347, allocations: 2.728 MB / 396.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/0.3621, allocations: 10.44 MB / 406.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.3645, allocations: 1.793 MB / 408.4 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.3663, allocations: 1.077 MB / 409.5 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.3666, allocations: 210.3 kB / 409.7 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3666, allocations: 43.56 kB / 409.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 3.266e-06/0.3666, allocations: 0 / 409.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.01876/0.3854, allocations: 7.756 MB / 417.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3855, allocations: 64.72 kB / 417.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/0.3883, allocations: 1.876 MB / 419.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.3884, allocations: 48.75 kB / 419.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008735/0.3893, allocations: 1.254 MB / 420.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.3896, allocations: 463.1 kB / 421.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.3898, allocations: 133.6 kB / 421.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.3899, allocations: 305.1 kB / 421.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.3914, allocations: 0.8354 MB / 422.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.393, allocations: 1.331 MB / 423.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/0.3963, allocations: 2.286 MB / 426.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.3964, allocations: 4 kB / 426.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005008/0.4014, allocations: 2.838 MB / 428.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.4014, allocations: 12 kB / 429 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.4015, allocations: 16 kB / 429 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.4025, allocations: 420.2 kB / 429.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.404, allocations: 416.2 kB / 429.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005747/0.4097, allocations: 5.32 MB / 435.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.4116, allocations: 127.8 kB / 435.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.4117, allocations: 83.92 kB / 435.3 MB, free: 11.91 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.001508/0.4132, allocations: 0.7866 MB / 436.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.4136, allocations: 201.5 kB / 436.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/0.4178, allocations: 2.427 MB / 438.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/0.4179, allocations: 16 kB / 438.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.4179, allocations: 4 kB / 438.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.4179, allocations: 7.969 kB / 438.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00869/0.4266, allocations: 5.314 MB / 444.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.4267, allocations: 12.03 kB / 444.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.4278, allocations: 254.4 kB / 444.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.429, allocations: 457.5 kB / 444.8 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.511e-05/0.4291, allocations: 35.98 kB / 444.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006937/0.436, allocations: 6.747 MB / 451.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.436, allocations: 11.66 kB / 451.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005887/0.4419, allocations: 3.628 MB / 455.2 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009346/0.4429, allocations: 450.8 kB / 455.6 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.4432, allocations: 44.09 kB / 455.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.4444, allocations: 111.9 kB / 455.8 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/0.4446, allocations: 115.2 kB / 455.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-05/0.4447, allocations: 39.98 kB / 455.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001934/0.4467, allocations: 1.294 MB / 457.2 MB, free: 5.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4467, allocations: 4 kB / 457.2 MB, free: 5.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00183/0.4485, allocations: 0.5391 MB / 457.8 MB, free: 4.906 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.0004349/0.449, allocations: 224.7 kB / 458 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003976/0.4529, allocations: 2.44 MB / 460.4 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.453, allocations: 4.062 kB / 460.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002461/0.4554, allocations: 1.53 MB / 462 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/0.4586, allocations: 427.1 kB / 462.4 MB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008883/0.4675, allocations: 6.371 MB / 468.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.4693, allocations: 2.01 MB / 470.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001453/0.4708, allocations: 431.6 kB / 471.2 MB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.4712, allocations: 131.4 kB / 471.3 MB, free: 7.273 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4712, allocations: 0 / 471.3 MB, free: 7.273 MB / 382.1 MB Notification: Performance of Templates: time 0.05299/0.5242, allocations: 26.42 MB / 497.7 MB, free: 13.17 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/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