Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 102 kB / 18.39 MB, free: 4.531 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.001305/0.001305, allocations: 190.5 kB / 19.33 MB, free: 3.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 47.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07691/0.07814, allocations: 46.62 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.167/0.2452, allocations: 11.42 MB / 387.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006702/0.2519, allocations: 3.921 MB / 391.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.2539, allocations: 55.19 kB / 391.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.2564, allocations: 0.8458 MB / 392.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.2597, allocations: 0.9428 MB / 393 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.2613, allocations: 0.5111 MB / 393.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004029/0.2653, allocations: 3.213 MB / 396.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/0.2688, allocations: 2.548 MB / 399.3 MB, free: 384 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.2711, allocations: 1.43 MB / 400.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/0.2745, allocations: 1.814 MB / 402.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.2756, allocations: 386.4 kB / 402.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.2777, allocations: 0.629 MB / 403.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001756/0.2794, allocations: 1.07 MB / 404.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003444/0.2829, allocations: 1.716 MB / 406.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006033/0.2889, allocations: 5.048 MB / 411.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.289, allocations: 0 / 411.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.289, allocations: 1.031 kB / 411.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001499/0.2891, allocations: 0 / 411.4 MB, free: 9.523 MB / 334.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.007527/0.2967, allocations: 3.479 MB / 414.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2967, allocations: 12.28 kB / 414.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.298, allocations: 412.4 kB / 415.3 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/0.3008, allocations: 1.719 MB / 417 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.3009, allocations: 199.1 kB / 417.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000335/0.3013, allocations: 255.3 kB / 417.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005098/0.3064, allocations: 3.247 MB / 420.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.276e-05/0.3064, allocations: 0 / 420.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.3067, allocations: 108 kB / 420.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.3068, allocations: 116.9 kB / 420.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/0.311, allocations: 2.697 MB / 423.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.3253, allocations: 10.25 MB / 433.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.3274, allocations: 1.782 MB / 435.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.329, allocations: 1.049 MB / 436.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/0.3293, allocations: 199.2 kB / 436.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3293, allocations: 60.3 kB / 436.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 2.976e-06/0.3293, allocations: 0 / 436.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=134): time 0.01639/0.3457, allocations: 7.404 MB / 444.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3458, allocations: 68.66 kB / 444.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.3483, allocations: 1.869 MB / 446.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.3484, allocations: 49.7 kB / 446.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/0.3492, allocations: 1.245 MB / 447.6 MB, free: 6.977 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.3495, allocations: 473.2 kB / 448 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004257/0.35, allocations: 295.3 kB / 448.3 MB, free: 6.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.3501, allocations: 301.1 kB / 448.6 MB, free: 5.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.3513, allocations: 0.8198 MB / 449.4 MB, free: 5.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.3528, allocations: 1.313 MB / 450.7 MB, free: 3.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.3557, allocations: 2.255 MB / 453 MB, free: 1.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3557, allocations: 4 kB / 453 MB, free: 1.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004468/0.3602, allocations: 2.783 MB / 455.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3602, allocations: 12 kB / 455.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.3602, allocations: 16 kB / 455.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009043/0.3612, allocations: 423 kB / 456.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.3625, allocations: 395.3 kB / 456.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/0.3681, allocations: 5.782 MB / 462.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.3698, allocations: 127.8 kB / 462.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.3699, allocations: 71.98 kB / 462.6 MB, free: 7.172 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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.001283/0.3712, allocations: 0.7901 MB / 463.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000451/0.3717, allocations: 193.7 kB / 463.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/0.3755, allocations: 2.383 MB / 465.9 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.3756, allocations: 16 kB / 466 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.3756, allocations: 7.984 kB / 466 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.3756, allocations: 7.922 kB / 466 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007787/0.3834, allocations: 5.27 MB / 471.2 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.3834, allocations: 4 kB / 471.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009959/0.3844, allocations: 247.6 kB / 471.5 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.3855, allocations: 474.8 kB / 472 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/0.3856, allocations: 39.98 kB / 472 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00631/0.3919, allocations: 7.319 MB / 479.3 MB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.577e-06/0.3919, allocations: 15.88 kB / 479.3 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00524/0.3972, allocations: 3.575 MB / 482.9 MB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008933/0.3981, allocations: 450.6 kB / 483.3 MB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.3984, allocations: 39.98 kB / 483.4 MB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.3995, allocations: 99.88 kB / 483.5 MB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.3997, allocations: 116.7 kB / 483.6 MB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.54e-05/0.3998, allocations: 47.92 kB / 483.6 MB, free: 1.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001689/0.4015, allocations: 1.294 MB / 484.9 MB, free: 48 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4015, allocations: 0 / 484.9 MB, free: 48 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001738/0.4032, allocations: 0.5391 MB / 485.5 MB, free: 15.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (116): * Single equations (assignments): 111 * 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.0004083/0.4037, allocations: 216 kB / 485.7 MB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003579/0.4072, allocations: 2.428 MB / 488.1 MB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4073, allocations: 0 / 488.1 MB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002219/0.4095, allocations: 1.522 MB / 489.6 MB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.4114, allocations: 454.2 kB / 490.1 MB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007923/0.4193, allocations: 5.141 MB / 495.2 MB, free: 5.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.4209, allocations: 1.983 MB / 497.2 MB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005587/0.4215, allocations: 147.4 kB / 497.3 MB, free: 3.414 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4215, allocations: 0 / 497.3 MB, free: 3.414 MB / 414.1 MB Notification: Performance of Templates: time 0.2228/0.6443, allocations: 70.34 MB / 0.5544 GB, free: 155.9 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches