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.001395/0.001395, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001199/0.001199, allocations: 190 kB / 18.07 MB, free: 5.414 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.719/1.719, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001497/0.001497, allocations: 55.92 kB / 280 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1369, allocations: 46.61 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01402/0.151, allocations: 11.33 MB / 337.9 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008854/0.1599, allocations: 3.875 MB / 341.8 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.1629, allocations: 51.75 kB / 341.9 MB, free: 5.555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004024/0.167, allocations: 0.7383 MB / 342.6 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004318/0.1714, allocations: 0.843 MB / 343.4 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.1729, allocations: 471.5 kB / 343.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005795/0.1787, allocations: 3.581 MB / 347.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.1819, allocations: 2.121 MB / 349.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.1848, allocations: 1.241 MB / 350.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003195/0.188, allocations: 1.747 MB / 352.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007948/0.1888, allocations: 236 kB / 352.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.1903, allocations: 499.5 kB / 353.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.1915, allocations: 0.9073 MB / 354.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002617/0.1942, allocations: 1.559 MB / 355.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006559/0.2007, allocations: 4.883 MB / 360.7 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2008, allocations: 0 / 360.7 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2008, allocations: 0 / 360.7 MB, free: 2.633 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001496/0.2009, allocations: 0 / 360.7 MB, free: 2.633 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.01032/0.2113, allocations: 3.476 MB / 364.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.2113, allocations: 11.97 kB / 364.1 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.2128, allocations: 409 kB / 364.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/0.2162, allocations: 1.718 MB / 366.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.2164, allocations: 201.3 kB / 366.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000362/0.2168, allocations: 248 kB / 366.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005819/0.2226, allocations: 3.247 MB / 370 MB, free: 9.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.754e-05/0.2227, allocations: 7.906 kB / 370 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/0.2229, allocations: 100 kB / 370.1 MB, free: 9.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.2231, allocations: 116.9 kB / 370.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004974/0.2281, allocations: 2.705 MB / 372.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3007/0.5288, allocations: 10.37 MB / 383.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.5316, allocations: 1.773 MB / 385 MB, free: 45.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/0.534, allocations: 1.051 MB / 386.1 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004159/0.5344, allocations: 204.5 kB / 386.3 MB, free: 44.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/0.5345, allocations: 54.08 kB / 386.3 MB, free: 44.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 5.33e-06/0.5345, allocations: 0 / 386.3 MB, free: 44.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02245/0.5569, allocations: 7.399 MB / 393.7 MB, free: 42.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.5571, allocations: 70.56 kB / 393.8 MB, free: 42.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004129/0.5612, allocations: 1.874 MB / 395.7 MB, free: 41.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.5614, allocations: 47.95 kB / 395.7 MB, free: 41.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008655/0.5622, allocations: 1.243 MB / 397 MB, free: 40.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/0.5627, allocations: 470.7 kB / 397.4 MB, free: 40 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000477/0.5631, allocations: 293.2 kB / 397.7 MB, free: 39.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.5632, allocations: 301.1 kB / 398 MB, free: 39.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.5644, allocations: 0.821 MB / 398.8 MB, free: 39.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.5659, allocations: 1.31 MB / 400.1 MB, free: 38.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.5688, allocations: 2.251 MB / 402.4 MB, free: 36.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.5688, allocations: 11.66 kB / 402.4 MB, free: 36.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004528/0.5733, allocations: 2.777 MB / 405.2 MB, free: 35.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.5734, allocations: 26.64 kB / 405.2 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.5734, allocations: 18.34 kB / 405.2 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009525/0.5744, allocations: 413.9 kB / 405.6 MB, free: 34.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.5757, allocations: 397.2 kB / 406 MB, free: 34.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.5807, allocations: 5.295 MB / 411.3 MB, free: 29.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/0.5833, allocations: 127.8 kB / 411.4 MB, free: 29.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.5835, allocations: 72 kB / 411.5 MB, free: 29.36 MB / 318.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.001764/0.5853, allocations: 0.79 MB / 412.3 MB, free: 28.56 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005579/0.5859, allocations: 194.2 kB / 412.5 MB, free: 28.37 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/0.5895, allocations: 2.384 MB / 414.9 MB, free: 25.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/0.5895, allocations: 19.98 kB / 414.9 MB, free: 25.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5895, allocations: 4 kB / 414.9 MB, free: 25.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5895, allocations: 3.984 kB / 414.9 MB, free: 25.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008225/0.5978, allocations: 5.294 MB / 420.2 MB, free: 20.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.5979, allocations: 5.031 kB / 420.2 MB, free: 20.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/0.5988, allocations: 247.6 kB / 420.4 MB, free: 20.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.6, allocations: 464.2 kB / 420.9 MB, free: 19.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.6001, allocations: 39.98 kB / 420.9 MB, free: 19.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005843/0.606, allocations: 6.726 MB / 427.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.606, allocations: 15.88 kB / 427.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005681/0.6117, allocations: 3.572 MB / 431.2 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/0.6133, allocations: 446.6 kB / 431.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/0.6137, allocations: 39.92 kB / 431.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.6149, allocations: 99.89 kB / 431.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/0.6152, allocations: 112.7 kB / 431.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.953e-05/0.6153, allocations: 47.86 kB / 432 MB, free: 8.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001945/0.6173, allocations: 1.298 MB / 433.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6173, allocations: 0 / 433.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002638/0.6199, allocations: 0.5387 MB / 433.8 MB, free: 6.387 MB / 318.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.000542/0.6205, allocations: 223.2 kB / 434 MB, free: 6.172 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004251/0.6247, allocations: 2.401 MB / 436.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/0.6248, allocations: 4 kB / 436.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002557/0.6273, allocations: 1.51 MB / 437.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/0.6303, allocations: 433.8 kB / 438.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.6425, allocations: 6.262 MB / 444.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/0.6447, allocations: 2.013 MB / 446.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002107/0.6468, allocations: 435.5 kB / 447.1 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.6473, allocations: 131.4 kB / 447.2 MB, free: 8.816 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6473, allocations: 0 / 447.2 MB, free: 8.816 MB / 334.1 MB Notification: Performance of Templates: time 0.06156/0.7089, allocations: 26.83 MB / 474 MB, free: 13.96 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","../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