Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 102 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009664/0.0009665, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2618, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01342/0.2752, allocations: 11.41 MB / 418.5 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007546/0.2828, allocations: 3.885 MB / 422.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.284, allocations: 59.75 kB / 422.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.2862, allocations: 0.7344 MB / 423.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.2887, allocations: 0.8547 MB / 424 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.2899, allocations: 455.5 kB / 424.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003538/0.2935, allocations: 3.616 MB / 428.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002981/0.2965, allocations: 2.161 MB / 430.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.2983, allocations: 1.261 MB / 431.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.3006, allocations: 1.743 MB / 433.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007577/0.3014, allocations: 236 kB / 433.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.303, allocations: 0.4995 MB / 433.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009986/0.304, allocations: 0.9111 MB / 434.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002718/0.3067, allocations: 1.559 MB / 436.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006842/0.3136, allocations: 4.887 MB / 441.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3136, allocations: 0 / 441.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3136, allocations: 0 / 441.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.701e-05/0.3137, allocations: 0 / 441.3 MB, free: 9.402 MB / 314.7 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.01024/0.324, allocations: 3.484 MB / 444.8 MB, free: 5.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3241, allocations: 12.03 kB / 444.8 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/0.3266, allocations: 444.8 kB / 445.2 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004672/0.3313, allocations: 1.784 MB / 447 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.3316, allocations: 197.3 kB / 447.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005459/0.3321, allocations: 248 kB / 447.5 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007988/0.3401, allocations: 3.251 MB / 450.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.069e-05/0.3402, allocations: 7.844 kB / 450.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.3406, allocations: 108 kB / 450.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.3408, allocations: 120.8 kB / 450.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007021/0.3478, allocations: 2.697 MB / 453.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02195/0.3698, allocations: 10.36 MB / 464 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.372, allocations: 1.784 MB / 465.8 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/0.3737, allocations: 1.061 MB / 466.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.374, allocations: 203.2 kB / 467 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.3741, allocations: 43.56 kB / 467.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=115): time 3.547e-06/0.3741, allocations: 0 / 467.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=134): time 0.01689/0.391, allocations: 7.417 MB / 474.5 MB, free: 7.359 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.391, allocations: 64.72 kB / 474.6 MB, free: 7.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002499/0.3935, allocations: 1.876 MB / 476.4 MB, free: 5.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.507e-05/0.3936, allocations: 49.7 kB / 476.5 MB, free: 5.355 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007894/0.3944, allocations: 1.245 MB / 477.7 MB, free: 4.094 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.3948, allocations: 469.3 kB / 478.2 MB, free: 3.629 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000474/0.3953, allocations: 295.2 kB / 478.5 MB, free: 3.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.3954, allocations: 301.1 kB / 478.8 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.3967, allocations: 0.8159 MB / 479.6 MB, free: 2.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.3983, allocations: 1.312 MB / 480.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/0.4014, allocations: 2.254 MB / 483.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.4014, allocations: 4 kB / 483.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004593/0.406, allocations: 2.795 MB / 485.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.406, allocations: 14.81 kB / 486 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.4061, allocations: 16 kB / 486 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000952/0.407, allocations: 427.5 kB / 486.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.4085, allocations: 403.3 kB / 486.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005573/0.4141, allocations: 5.299 MB / 492.1 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.4157, allocations: 119.8 kB / 492.2 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.4159, allocations: 75.92 kB / 492.3 MB, free: 4.785 MB / 362.7 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.001319/0.4172, allocations: 0.7999 MB / 493.1 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/0.4176, allocations: 201.5 kB / 493.3 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/0.4218, allocations: 2.379 MB / 495.7 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.35e-05/0.4219, allocations: 15.98 kB / 495.7 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.4219, allocations: 4 kB / 495.7 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.422, allocations: 7.984 kB / 495.7 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008796/0.4308, allocations: 5.296 MB / 0.4892 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.4308, allocations: 4 kB / 0.4892 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.4318, allocations: 251.6 kB / 0.4895 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.433, allocations: 465.1 kB / 0.4899 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.552e-05/0.4331, allocations: 35.98 kB / 0.49 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/0.4398, allocations: 6.726 MB / 0.4965 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4398, allocations: 8 kB / 0.4965 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1953/0.6351, allocations: 22.08 MB / 0.5181 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.6361, allocations: 452.4 kB / 0.5185 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/0.6365, allocations: 31.28 kB / 0.5186 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.6378, allocations: 101.6 kB / 0.5187 GB, free: 79.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.6381, allocations: 111.4 kB / 0.5188 GB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.6382, allocations: 42.36 kB / 0.5188 GB, free: 79.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001841/0.64, allocations: 1.294 MB / 0.5201 GB, free: 79.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6401, allocations: 0 / 0.5201 GB, free: 79.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002242/0.6423, allocations: 0.745 MB / 0.5208 GB, free: 79.19 MB / 378.7 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.000416/0.6427, allocations: 227.1 kB / 0.521 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00332/0.6461, allocations: 2.403 MB / 0.5234 GB, free: 77.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6461, allocations: 0 / 0.5234 GB, free: 77.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.6481, allocations: 1.515 MB / 0.5248 GB, free: 75.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.6501, allocations: 439.3 kB / 0.5253 GB, free: 75.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008742/0.6589, allocations: 7.606 MB / 0.5327 GB, free: 67.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.6606, allocations: 2.053 MB / 0.5347 GB, free: 65.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001445/0.6621, allocations: 443.6 kB / 0.5351 GB, free: 65.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/0.6626, allocations: 131.4 kB / 0.5352 GB, free: 64.99 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6627, allocations: 0 / 0.5352 GB, free: 64.99 MB / 378.7 MB Notification: Performance of Templates: time 0.04142/0.7041, allocations: 31.28 MB / 0.5658 GB, free: 33.94 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches