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.001079/0.001079, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001021/0.001021, allocations: 191 kB / 18.67 MB, free: 4.434 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2835, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01252/0.2961, allocations: 11.47 MB / 412.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00739/0.3035, allocations: 3.855 MB / 416.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.3054, allocations: 67.62 kB / 416.8 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.3076, allocations: 0.8344 MB / 417.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002663/0.3103, allocations: 0.9472 MB / 418.6 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.3114, allocations: 0.5032 MB / 419.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003521/0.315, allocations: 3.215 MB / 422.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.3179, allocations: 2.578 MB / 424.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.3199, allocations: 1.444 MB / 426.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.3222, allocations: 1.81 MB / 428.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005531/0.3228, allocations: 384 kB / 428.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.324, allocations: 0.6245 MB / 429.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009741/0.3249, allocations: 1.067 MB / 430.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.3268, allocations: 1.723 MB / 431.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004936/0.3317, allocations: 5.039 MB / 437 MB, free: 5.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3318, allocations: 0 / 437 MB, free: 5.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3318, allocations: 4 kB / 437 MB, free: 5.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-05/0.3318, allocations: 0 / 437 MB, free: 5.125 MB / 350.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.006955/0.3388, allocations: 3.48 MB / 440.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3389, allocations: 8.031 kB / 440.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.3401, allocations: 409 kB / 440.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.3434, allocations: 1.831 MB / 442.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.3435, allocations: 197.1 kB / 442.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/0.3439, allocations: 255.9 kB / 443.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005214/0.3491, allocations: 3.247 MB / 446.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/0.3492, allocations: 7.938 kB / 446.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.3495, allocations: 104 kB / 446.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.3496, allocations: 120.9 kB / 446.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004439/0.354, allocations: 2.697 MB / 449.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01907/0.3731, allocations: 10.25 MB / 459.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.3755, allocations: 1.772 MB / 461.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.3773, allocations: 1.049 MB / 462.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/0.3777, allocations: 199.2 kB / 462.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3777, allocations: 47.56 kB / 462.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.146e-06/0.3777, allocations: 0 / 462.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01797/0.3957, allocations: 7.432 MB / 470.1 MB, free: 3.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.3958, allocations: 64.72 kB / 470.1 MB, free: 3.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/0.3986, allocations: 1.88 MB / 472 MB, free: 1.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.3987, allocations: 45.7 kB / 472 MB, free: 1.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009532/0.3997, allocations: 1.249 MB / 473.3 MB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.4001, allocations: 465.2 kB / 473.7 MB, free: 15.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000485/0.4006, allocations: 299.3 kB / 474 MB, free: 15.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4007, allocations: 301.1 kB / 474.3 MB, free: 14.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.4022, allocations: 0.8159 MB / 475.2 MB, free: 14.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.4039, allocations: 1.315 MB / 476.5 MB, free: 12.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/0.4071, allocations: 2.25 MB / 478.7 MB, free: 10.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.402e-05/0.4071, allocations: 4 kB / 478.7 MB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004962/0.4121, allocations: 2.799 MB / 481.5 MB, free: 7.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.4121, allocations: 12 kB / 481.5 MB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.4121, allocations: 16 kB / 481.5 MB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.4132, allocations: 430.4 kB / 482 MB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.4147, allocations: 395.3 kB / 482.4 MB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006293/0.421, allocations: 5.798 MB / 488.2 MB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.423, allocations: 123.8 kB / 488.3 MB, free: 184 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.4232, allocations: 71.98 kB / 488.3 MB, free: 112 kB / 398.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.001593/0.4248, allocations: 0.7863 MB / 489.1 MB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005487/0.4254, allocations: 193.7 kB / 489.3 MB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/0.4296, allocations: 2.403 MB / 491.7 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/0.4296, allocations: 12 kB / 491.7 MB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4296, allocations: 7.938 kB / 491.7 MB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.4296, allocations: 7.969 kB / 491.7 MB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00915/0.4388, allocations: 5.265 MB / 497 MB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.4388, allocations: 4 kB / 497 MB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.4399, allocations: 247.6 kB / 497.3 MB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.4412, allocations: 454.1 kB / 497.7 MB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.4413, allocations: 39.97 kB / 497.7 MB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007646/0.449, allocations: 7.341 MB / 0.4932 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.978e-05/0.449, allocations: 7.938 kB / 0.4933 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006315/0.4554, allocations: 3.575 MB / 0.4967 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/0.4571, allocations: 446.6 kB / 0.4972 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/0.4575, allocations: 36 kB / 0.4972 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.4587, allocations: 99.88 kB / 0.4973 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.459, allocations: 108.7 kB / 0.4974 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.983e-05/0.4591, allocations: 43.98 kB / 0.4974 GB, free: 10.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001924/0.461, allocations: 1.294 MB / 0.4987 GB, free: 9.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.461, allocations: 0 / 0.4987 GB, free: 9.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001944/0.463, allocations: 0.5469 MB / 0.4992 GB, free: 8.473 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.0005015/0.4635, allocations: 228.4 kB / 0.4995 GB, free: 8.242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004145/0.4677, allocations: 2.424 MB / 0.5018 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.4677, allocations: 4 kB / 0.5018 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002462/0.4702, allocations: 1.51 MB / 0.5033 GB, free: 4.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.4726, allocations: 447.5 kB / 0.5037 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008625/0.4812, allocations: 5.128 MB / 0.5087 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/0.4832, allocations: 1.987 MB / 0.5107 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007592/0.484, allocations: 147.3 kB / 0.5108 GB, free: 12.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.093e-06/0.484, allocations: 4 kB / 0.5108 GB, free: 12.4 MB / 446.1 MB Notification: Performance of Templates: time 0.2916/0.7756, allocations: 70.68 MB / 0.5798 GB, free: 99.2 MB / 462.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