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/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 trunk/package.mo", uses=false) 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) 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_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/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001577, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 60.34 kB / 307.6 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1121, allocations: 50.54 MB / 358.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01321/0.1253, allocations: 11.5 MB / 369.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1662/0.2916, allocations: 3.932 MB / 373.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.2935, allocations: 63.22 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.2957, allocations: 0.8351 MB / 374.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.2985, allocations: 0.951 MB / 375.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.2997, allocations: 0.5075 MB / 376 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00365/0.3034, allocations: 3.212 MB / 379.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/0.3062, allocations: 2.586 MB / 381.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.3086, allocations: 1.436 MB / 383.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.3114, allocations: 1.816 MB / 385 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007543/0.3121, allocations: 390.3 kB / 385.4 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.3136, allocations: 0.607 MB / 386 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.3147, allocations: 1.068 MB / 387.1 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001982/0.3167, allocations: 1.725 MB / 388.8 MB, free: 5.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00437/0.3211, allocations: 4.997 MB / 393.8 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3211, allocations: 9.297 kB / 393.8 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3211, allocations: 0 / 393.8 MB, free: 2.324 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.274e-05/0.3212, allocations: 0 / 393.8 MB, free: 2.324 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.007017/0.3283, allocations: 3.491 MB / 397.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3283, allocations: 8.062 kB / 397.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.33, allocations: 451.7 kB / 397.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/0.3331, allocations: 1.801 MB / 399.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.3332, allocations: 196.4 kB / 399.7 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003334/0.3336, allocations: 250.9 kB / 400 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005364/0.3389, allocations: 3.246 MB / 403.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.095e-05/0.339, allocations: 19.83 kB / 403.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/0.3393, allocations: 96 kB / 403.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.3394, allocations: 116.9 kB / 403.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00461/0.344, allocations: 2.705 MB / 406.1 MB, free: 9.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01624/0.3603, allocations: 10.37 MB / 416.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.3626, allocations: 1.771 MB / 418.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.3644, allocations: 1.061 MB / 419.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/0.3647, allocations: 200.9 kB / 419.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.3648, allocations: 47.56 kB / 419.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=115): time 6.091e-06/0.3648, allocations: 0 / 419.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=134): time 0.01856/0.3834, allocations: 7.425 MB / 427 MB, free: 3.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3834, allocations: 68.72 kB / 427.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/0.3866, allocations: 1.881 MB / 429 MB, free: 1.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.3868, allocations: 51.97 kB / 429 MB, free: 1.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009207/0.3877, allocations: 1.244 MB / 430.3 MB, free: 456 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004363/0.3882, allocations: 475.3 kB / 430.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005188/0.3887, allocations: 291.3 kB / 431 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3888, allocations: 305.1 kB / 431.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.3903, allocations: 0.8159 MB / 432.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.392, allocations: 1.312 MB / 433.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/0.3953, allocations: 2.255 MB / 435.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.3953, allocations: 8 kB / 435.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005008/0.4004, allocations: 2.801 MB / 438.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.4004, allocations: 10.97 kB / 438.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.4004, allocations: 16 kB / 438.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.4015, allocations: 428.5 kB / 438.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.403, allocations: 403.3 kB / 439.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006282/0.4093, allocations: 5.783 MB / 445.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.4112, allocations: 139.7 kB / 445.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.4114, allocations: 68 kB / 445.3 MB, free: 0.6445 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.001432/0.4128, allocations: 0.7939 MB / 446.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005366/0.4134, allocations: 193.7 kB / 446.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/0.4178, allocations: 2.394 MB / 448.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/0.4178, allocations: 15.98 kB / 448.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.4178, allocations: 4 kB / 448.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.4179, allocations: 11.95 kB / 448.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009483/0.4274, allocations: 5.299 MB / 454 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.4274, allocations: 4 kB / 454 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.4285, allocations: 243.6 kB / 454.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.4297, allocations: 466.5 kB / 454.7 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.4298, allocations: 38.25 kB / 454.8 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007469/0.4373, allocations: 7.347 MB / 462.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/0.4374, allocations: 7.984 kB / 462.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006032/0.4434, allocations: 3.572 MB / 465.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.4446, allocations: 446.6 kB / 466.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005546/0.4451, allocations: 35.98 kB / 466.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.4466, allocations: 103.9 kB / 466.3 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.4468, allocations: 104.7 kB / 466.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.447, allocations: 47.98 kB / 466.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002267/0.4492, allocations: 1.299 MB / 467.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4493, allocations: 0 / 467.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002308/0.4516, allocations: 0.543 MB / 468.2 MB, free: 9.02 MB / 382.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.0005507/0.4521, allocations: 221.5 kB / 468.5 MB, free: 8.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005707/0.4579, allocations: 2.982 MB / 471.4 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.4579, allocations: 4.125 kB / 471.5 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.4605, allocations: 1.509 MB / 473 MB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.4633, allocations: 457.7 kB / 473.4 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009677/0.473, allocations: 5.211 MB / 478.6 MB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/0.4751, allocations: 1.991 MB / 480.6 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007138/0.4758, allocations: 143.4 kB / 480.7 MB, free: 12.32 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4759, allocations: 7.938 kB / 480.8 MB, free: 12.31 MB / 398.1 MB Notification: Performance of Templates: time 0.2317/0.7076, allocations: 70.34 MB / 0.5382 GB, free: 146.9 MB / 446.1 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/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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches