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.001139/0.001139, allocations: 105.5 kB / 17.06 MB, free: 6.102 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.001156/0.001156, allocations: 194.9 kB / 18 MB, free: 5.176 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 43.92 kB / 351.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.265, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01313/0.2782, allocations: 11.49 MB / 412.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007255/0.2855, allocations: 3.853 MB / 416.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.2872, allocations: 63.75 kB / 416.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.2896, allocations: 0.8579 MB / 417 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.2926, allocations: 0.9863 MB / 418 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.294, allocations: 0.507 MB / 418.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003848/0.2978, allocations: 3.215 MB / 421.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/0.3008, allocations: 2.582 MB / 424.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.3029, allocations: 1.437 MB / 425.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002599/0.3055, allocations: 1.818 MB / 427.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006356/0.3062, allocations: 384 kB / 427.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.3075, allocations: 0.6284 MB / 428.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.3085, allocations: 1.064 MB / 429.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002343/0.3109, allocations: 1.723 MB / 431.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005616/0.3165, allocations: 5.044 MB / 436.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3165, allocations: 0 / 436.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3166, allocations: 0 / 436.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001172/0.3167, allocations: 0 / 436.4 MB, free: 5.035 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.007106/0.3238, allocations: 3.488 MB / 439.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3238, allocations: 8.031 kB / 439.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.3251, allocations: 409 kB / 440.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.3281, allocations: 1.827 MB / 442.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.3282, allocations: 193.1 kB / 442.3 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/0.3286, allocations: 247.9 kB / 442.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005597/0.3342, allocations: 3.251 MB / 445.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-05/0.3343, allocations: 7.938 kB / 445.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.3345, allocations: 104 kB / 445.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/0.3347, allocations: 112.9 kB / 446 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00473/0.3394, allocations: 2.701 MB / 448.7 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/0.3558, allocations: 10.26 MB / 459 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.3581, allocations: 1.776 MB / 460.7 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.3599, allocations: 1.045 MB / 461.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.3602, allocations: 207.2 kB / 462 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3603, allocations: 51.56 kB / 462 MB, free: 10.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.005e-06/0.3603, allocations: 0 / 462 MB, free: 10.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01798/0.3783, allocations: 7.424 MB / 469.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.3784, allocations: 68.72 kB / 469.5 MB, free: 3.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.3811, allocations: 1.865 MB / 471.4 MB, free: 1.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.3813, allocations: 45.7 kB / 471.4 MB, free: 1.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008495/0.3821, allocations: 1.253 MB / 472.7 MB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/0.3825, allocations: 465.3 kB / 473.1 MB, free: 15.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004588/0.383, allocations: 295.3 kB / 473.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.3831, allocations: 305.1 kB / 473.7 MB, free: 14.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.3845, allocations: 0.8159 MB / 474.5 MB, free: 13.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.3862, allocations: 1.315 MB / 475.9 MB, free: 12.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0032/0.3894, allocations: 2.254 MB / 478.1 MB, free: 9.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.036e-06/0.3894, allocations: 4 kB / 478.1 MB, free: 9.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004813/0.3942, allocations: 2.795 MB / 480.9 MB, free: 7.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.3943, allocations: 15.98 kB / 480.9 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/0.3943, allocations: 19.94 kB / 480.9 MB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.3953, allocations: 422.2 kB / 481.4 MB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.3968, allocations: 395.3 kB / 481.7 MB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005965/0.4028, allocations: 5.798 MB / 487.5 MB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.4044, allocations: 119.8 kB / 487.7 MB, free: 100 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.4046, allocations: 76.05 kB / 487.7 MB, free: 24 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.001302/0.4059, allocations: 0.7902 MB / 488.5 MB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.4062, allocations: 197.6 kB / 488.7 MB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/0.4104, allocations: 2.387 MB / 491.1 MB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/0.4104, allocations: 16 kB / 491.1 MB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.4104, allocations: 7.938 kB / 491.1 MB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.4104, allocations: 3.984 kB / 491.1 MB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008389/0.4188, allocations: 5.268 MB / 496.4 MB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4189, allocations: 4 kB / 496.4 MB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.4199, allocations: 247.6 kB / 496.6 MB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.4211, allocations: 462.6 kB / 497.1 MB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.783e-05/0.4212, allocations: 31.98 kB / 497.1 MB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007349/0.4286, allocations: 7.346 MB / 0.4926 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.4286, allocations: 7.938 kB / 0.4927 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006256/0.4349, allocations: 3.575 MB / 0.4961 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008589/0.4357, allocations: 446.6 kB / 0.4966 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.436, allocations: 31.98 kB / 0.4966 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.4371, allocations: 107.9 kB / 0.4967 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.4374, allocations: 108.7 kB / 0.4968 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.599e-05/0.4375, allocations: 39.98 kB / 0.4968 GB, free: 10.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001838/0.4393, allocations: 1.298 MB / 0.4981 GB, free: 8.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4393, allocations: 0 / 0.4981 GB, free: 8.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001751/0.4411, allocations: 0.539 MB / 0.4986 GB, free: 8.391 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.0004597/0.4416, allocations: 224.3 kB / 0.4989 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004013/0.4456, allocations: 2.43 MB / 0.5012 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.4456, allocations: 4 kB / 0.5012 GB, free: 5.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.4481, allocations: 1.503 MB / 0.5027 GB, free: 4.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.45, allocations: 441.6 kB / 0.5031 GB, free: 3.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007443/0.4574, allocations: 5.096 MB / 0.5081 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/0.4591, allocations: 2.006 MB / 0.5101 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001112/0.4602, allocations: 427.7 kB / 0.5105 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.4606, allocations: 135.3 kB / 0.5106 GB, free: 11.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4607, allocations: 3.938 kB / 0.5106 GB, free: 11.93 MB / 446.1 MB Notification: Performance of Templates: time 0.2378/0.6985, allocations: 28.49 MB / 0.5384 GB, free: 132.3 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/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