Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 118.6 kB / 18.46 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 203.6 kB / 19.41 MB, free: 3.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 227.6 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.88 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2488, allocations: 50.55 MB / 410.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01391/0.2628, allocations: 11.54 MB / 421.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007865/0.2706, allocations: 3.935 MB / 425.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.2724, allocations: 59.75 kB / 425.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002942/0.2754, allocations: 0.8812 MB / 426.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002913/0.2783, allocations: 0.9785 MB / 427.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.2796, allocations: 0.5186 MB / 428.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004199/0.2838, allocations: 3.23 MB / 431.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002524/0.2863, allocations: 1.852 MB / 433.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.2889, allocations: 1.444 MB / 434.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.2917, allocations: 1.821 MB / 436.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007316/0.2925, allocations: 388 kB / 436.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.2937, allocations: 0.5973 MB / 437.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.295, allocations: 1.083 MB / 438.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002432/0.2975, allocations: 1.738 MB / 440.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006978/0.3044, allocations: 5.068 MB / 445.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.3045, allocations: 0 / 445.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.24e-06/0.3045, allocations: 4 kB / 445.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000162/0.3046, allocations: 0 / 445.3 MB, free: 14.12 MB / 366.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.008531/0.3132, allocations: 3.574 MB / 448.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3132, allocations: 12.03 kB / 448.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.315, allocations: 458.7 kB / 449.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003764/0.3188, allocations: 1.871 MB / 451.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.3189, allocations: 197.1 kB / 451.4 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004489/0.3194, allocations: 248 kB / 451.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00596/0.3253, allocations: 3.255 MB / 454.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.669e-05/0.3254, allocations: 4 kB / 454.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002587/0.3257, allocations: 100 kB / 455 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.3258, allocations: 116.9 kB / 455.2 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005039/0.3308, allocations: 2.701 MB / 457.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/0.3491, allocations: 10.28 MB / 468.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.3515, allocations: 1.704 MB / 469.8 MB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.3534, allocations: 0.983 MB / 470.8 MB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.3537, allocations: 207.2 kB / 471 MB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.3537, allocations: 43.56 kB / 471.1 MB, free: 3.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 2.865e-06/0.3537, allocations: 0 / 471.1 MB, free: 3.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.0182/0.3719, allocations: 7.441 MB / 478.5 MB, free: 12.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.372, allocations: 72.7 kB / 478.6 MB, free: 12.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/0.3748, allocations: 1.893 MB / 480.5 MB, free: 10.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.375, allocations: 45.7 kB / 480.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.376, allocations: 1.28 MB / 481.8 MB, free: 8.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004499/0.3765, allocations: 487.8 kB / 482.3 MB, free: 8.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005241/0.377, allocations: 303.4 kB / 482.6 MB, free: 8.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3771, allocations: 301.1 kB / 482.9 MB, free: 7.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.3786, allocations: 0.8198 MB / 483.7 MB, free: 6.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.3805, allocations: 1.308 MB / 485 MB, free: 5.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003529/0.384, allocations: 2.258 MB / 487.3 MB, free: 2.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.384, allocations: 4 kB / 487.3 MB, free: 2.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005131/0.3891, allocations: 2.792 MB / 490 MB, free: 68 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.3892, allocations: 12 kB / 490.1 MB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/0.3892, allocations: 16.28 kB / 490.1 MB, free: 40 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.3902, allocations: 422.1 kB / 490.5 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.3918, allocations: 399.3 kB / 490.9 MB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006847/0.3986, allocations: 5.807 MB / 496.7 MB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.4004, allocations: 124 kB / 496.8 MB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.4006, allocations: 79.98 kB / 496.9 MB, free: 8.941 MB / 414.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.001427/0.402, allocations: 0.79 MB / 497.7 MB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/0.4024, allocations: 206.7 kB / 497.9 MB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/0.4069, allocations: 2.383 MB / 0.4885 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/0.4069, allocations: 20 kB / 0.4886 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.4069, allocations: 7.938 kB / 0.4886 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.407, allocations: 7.969 kB / 0.4886 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009674/0.4166, allocations: 5.258 MB / 0.4937 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.4166, allocations: 4 kB / 0.4937 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.4178, allocations: 251.6 kB / 0.4939 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.419, allocations: 461.3 kB / 0.4944 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.4191, allocations: 39.92 kB / 0.4944 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008604/0.4277, allocations: 7.347 MB / 0.5016 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.767e-05/0.4277, allocations: 11.88 kB / 0.5016 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006408/0.4342, allocations: 3.564 MB / 0.5051 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.4353, allocations: 463.7 kB / 0.5055 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/0.4356, allocations: 35.98 kB / 0.5056 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.4368, allocations: 103.9 kB / 0.5057 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.4371, allocations: 112.7 kB / 0.5058 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.892e-05/0.4372, allocations: 40.12 kB / 0.5058 GB, free: 3.117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00208/0.4393, allocations: 1.303 MB / 0.5071 GB, free: 1.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4393, allocations: 4 kB / 0.5071 GB, free: 1.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001988/0.4413, allocations: 0.543 MB / 0.5076 GB, free: 1.277 MB / 430.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.0005164/0.4418, allocations: 222.7 kB / 0.5078 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004436/0.4462, allocations: 2.349 MB / 0.5101 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.4462, allocations: 0 / 0.5101 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002627/0.4489, allocations: 1.451 MB / 0.5115 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.4509, allocations: 450.7 kB / 0.512 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/0.4597, allocations: 5.187 MB / 0.517 GB, free: 7.449 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001994/0.4617, allocations: 2.014 MB / 0.519 GB, free: 5.402 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001324/0.463, allocations: 439.7 kB / 0.5194 GB, free: 4.969 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/0.4634, allocations: 127.4 kB / 0.5195 GB, free: 4.844 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4634, allocations: 0 / 0.5195 GB, free: 4.844 MB / 446.1 MB Notification: Performance of Templates: time 0.2332/0.6966, allocations: 28.73 MB / 0.5476 GB, free: 115.7 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches