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.001245/0.001245, allocations: 105.6 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.0013/0.0013, allocations: 208.1 kB / 19.25 MB, free: 3.941 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.437/1.437, allocations: 227.7 MB / 247.7 MB, free: 10.4 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.001942/0.001942, allocations: 70.62 kB / 307.9 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.107, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01437/0.1215, allocations: 11.5 MB / 369.9 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1591/0.2806, allocations: 3.93 MB / 373.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.2826, allocations: 63.84 kB / 373.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.2848, allocations: 0.8411 MB / 374.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.2875, allocations: 0.9493 MB / 375.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.2887, allocations: 0.509 MB / 376.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.2923, allocations: 3.211 MB / 379.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.2951, allocations: 2.582 MB / 382 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.2974, allocations: 1.438 MB / 383.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.3001, allocations: 1.817 MB / 385.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007288/0.3009, allocations: 386.4 kB / 385.7 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.3024, allocations: 0.6093 MB / 386.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009826/0.3034, allocations: 1.072 MB / 387.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.3055, allocations: 1.725 MB / 389.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.3101, allocations: 4.993 MB / 394.1 MB, free: 2.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3101, allocations: 0 / 394.1 MB, free: 2.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3101, allocations: 4.969 kB / 394.1 MB, free: 2.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001076/0.3102, allocations: 0 / 394.1 MB, free: 2.227 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.007328/0.3175, allocations: 3.498 MB / 397.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3176, allocations: 8.844 kB / 397.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.3195, allocations: 444 kB / 398 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/0.323, allocations: 1.809 MB / 399.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.3232, allocations: 197.3 kB / 400 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/0.3236, allocations: 248.4 kB / 400.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005906/0.3295, allocations: 3.25 MB / 403.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.37e-05/0.3296, allocations: 7.906 kB / 403.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.3298, allocations: 102 kB / 403.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/0.33, allocations: 120.9 kB / 403.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005192/0.3352, allocations: 2.701 MB / 406.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01895/0.3542, allocations: 10.37 MB / 416.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.3568, allocations: 1.781 MB / 418.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.3588, allocations: 1.063 MB / 419.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/0.3591, allocations: 201.3 kB / 419.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.3592, allocations: 51.5 kB / 419.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=115): time 3.406e-06/0.3592, allocations: 4 kB / 419.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=134): time 0.01939/0.3786, allocations: 7.419 MB / 427.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3787, allocations: 68.72 kB / 427.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003205/0.3819, allocations: 1.885 MB / 429.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002063/0.3821, allocations: 45.7 kB / 429.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.3832, allocations: 1.246 MB / 430.5 MB, free: 288 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005176/0.3837, allocations: 472.5 kB / 431 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.3843, allocations: 293.8 kB / 431.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3844, allocations: 305.1 kB / 431.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.3859, allocations: 0.8159 MB / 432.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.3878, allocations: 1.311 MB / 433.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/0.3914, allocations: 2.253 MB / 436 MB, free: 10.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.3914, allocations: 4 kB / 436 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005423/0.3969, allocations: 2.791 MB / 438.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.3969, allocations: 12.03 kB / 438.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.3969, allocations: 16 kB / 438.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.398, allocations: 430 kB / 439.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.3996, allocations: 399.3 kB / 439.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006977/0.4066, allocations: 5.79 MB / 445.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.4086, allocations: 138.8 kB / 445.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.4088, allocations: 72 kB / 445.6 MB, free: 496 kB / 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.001664/0.4105, allocations: 0.79 MB / 446.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005535/0.4111, allocations: 197.6 kB / 446.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/0.4157, allocations: 2.391 MB / 449 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/0.4158, allocations: 16 kB / 449 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4158, allocations: 4 kB / 449 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.4158, allocations: 11.91 kB / 449 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00976/0.4256, allocations: 5.289 MB / 454.3 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.4256, allocations: 4 kB / 454.3 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.4267, allocations: 247.6 kB / 454.5 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.428, allocations: 475.8 kB / 455 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.605e-05/0.4281, allocations: 31.98 kB / 455 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008333/0.4364, allocations: 7.345 MB / 462.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.4364, allocations: 7.938 kB / 462.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006555/0.443, allocations: 3.572 MB / 466 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.4442, allocations: 450.6 kB / 466.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.4445, allocations: 35.98 kB / 466.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.4457, allocations: 99.89 kB / 466.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/0.446, allocations: 108.7 kB / 466.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.4461, allocations: 43.98 kB / 466.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002113/0.4482, allocations: 1.303 MB / 468 MB, free: 9.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4482, allocations: 4 kB / 468 MB, free: 9.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002203/0.4505, allocations: 0.5391 MB / 468.5 MB, free: 8.863 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.0005622/0.451, allocations: 223.8 kB / 468.7 MB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006011/0.4571, allocations: 2.977 MB / 471.7 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.4571, allocations: 4.5 kB / 471.7 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002747/0.4598, allocations: 1.513 MB / 473.2 MB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.4624, allocations: 453.5 kB / 473.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009268/0.4717, allocations: 5.21 MB / 478.9 MB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00197/0.4737, allocations: 1.987 MB / 480.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007086/0.4744, allocations: 147.4 kB / 481 MB, free: 12.16 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4744, allocations: 0 / 481 MB, free: 12.16 MB / 398.1 MB Notification: Performance of Templates: time 0.2716/0.746, allocations: 70.35 MB / 0.5384 GB, free: 146.9 MB / 446.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 -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