Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001944/0.001944, allocations: 183 kB / 18.66 MB, free: 4.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.775/1.775, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001195/0.001195, allocations: 51.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 46.62 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.2667/0.3907, allocations: 9.574 MB / 384.7 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007142/0.3979, allocations: 3.154 MB / 387.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/0.4005, allocations: 49.81 kB / 387.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.4032, allocations: 0.7067 MB / 388.6 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.4071, allocations: 0.8011 MB / 389.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.4086, allocations: 393.8 kB / 389.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004941/0.4135, allocations: 2.564 MB / 392.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003641/0.4172, allocations: 2.293 MB / 394.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.4213, allocations: 1.181 MB / 395.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005084/0.4265, allocations: 1.496 MB / 397.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001754/0.4283, allocations: 321.9 kB / 397.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.431, allocations: 420.7 kB / 398.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.4325, allocations: 0.8893 MB / 399 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003556/0.4361, allocations: 1.416 MB / 400.4 MB, free: 252 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006806/0.4429, allocations: 4.148 MB / 404.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.443, allocations: 4 kB / 404.5 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.443, allocations: 0.7812 kB / 404.5 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001435/0.4431, allocations: 0 / 404.5 MB, free: 14 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.009336/0.4525, allocations: 2.904 MB / 407.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.4526, allocations: 13.14 kB / 407.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.4536, allocations: 285.5 kB / 407.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/0.4574, allocations: 1.443 MB / 409.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.4576, allocations: 166.8 kB / 409.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000558/0.4582, allocations: 214.2 kB / 409.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006356/0.4646, allocations: 2.79 MB / 412.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.936e-05/0.4647, allocations: 11.77 kB / 412.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.4649, allocations: 85.7 kB / 412.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/0.465, allocations: 109.8 kB / 412.5 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005013/0.4701, allocations: 2.346 MB / 414.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.4872, allocations: 8.491 MB / 423.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.49, allocations: 1.708 MB / 425.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.492, allocations: 0.9634 MB / 426.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000401/0.4924, allocations: 199.2 kB / 426.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.4925, allocations: 47.56 kB / 426.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.256e-06/0.4925, allocations: 0 / 426.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01902/0.5115, allocations: 6.11 MB / 432.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.5116, allocations: 64.41 kB / 432.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/0.5156, allocations: 1.437 MB / 433.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003142/0.516, allocations: 49.64 kB / 434 MB, free: 3.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.5171, allocations: 1.029 MB / 435 MB, free: 2.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006158/0.5177, allocations: 418.1 kB / 435.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006346/0.5184, allocations: 255.4 kB / 435.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.5186, allocations: 365.9 kB / 436 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.5201, allocations: 0.6793 MB / 436.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.5218, allocations: 1.074 MB / 437.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/0.5254, allocations: 1.86 MB / 439.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-05/0.5254, allocations: 4 kB / 439.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005612/0.531, allocations: 2.406 MB / 442 MB, free: 11.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.5311, allocations: 8 kB / 442 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.5311, allocations: 12 kB / 442 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.5323, allocations: 424 kB / 442.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.5337, allocations: 323.5 kB / 442.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008138/0.5419, allocations: 7.05 MB / 449.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.5438, allocations: 103.9 kB / 449.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003229/0.5442, allocations: 59.98 kB / 450 MB, free: 3.125 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001869/0.5461, allocations: 0.6853 MB / 450.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006659/0.5467, allocations: 158 kB / 450.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004604/0.5513, allocations: 2.123 MB / 452.9 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.5514, allocations: 12 kB / 453 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/0.5514, allocations: 4 kB / 453 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.5514, allocations: 11.92 kB / 453 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.5621, allocations: 4.557 MB / 457.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/0.5621, allocations: 7.984 kB / 457.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.5632, allocations: 211.7 kB / 457.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.5648, allocations: 447.2 kB / 458.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.565, allocations: 31.98 kB / 458.2 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.576, allocations: 8.626 MB / 466.8 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.5761, allocations: 11.88 kB / 466.8 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008131/0.5842, allocations: 3.095 MB / 469.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/0.5861, allocations: 383 kB / 470.3 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007844/0.5869, allocations: 32 kB / 470.3 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.5885, allocations: 83.89 kB / 470.4 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003776/0.5889, allocations: 100.7 kB / 470.5 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.5891, allocations: 36 kB / 470.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002852/0.592, allocations: 0.9847 MB / 471.5 MB, free: 12.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.592, allocations: 0 / 471.5 MB, free: 12.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003093/0.5951, allocations: 468.1 kB / 472 MB, free: 12.21 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * 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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,100.0%), (1,1,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.0006307/0.5957, allocations: 198.9 kB / 472.2 MB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004608/0.6003, allocations: 2.227 MB / 474.4 MB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.6004, allocations: 0 / 474.4 MB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002934/0.6033, allocations: 1.438 MB / 475.9 MB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/0.6077, allocations: 426.9 kB / 476.3 MB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.6197, allocations: 4.448 MB / 480.7 MB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002745/0.6225, allocations: 1.815 MB / 482.5 MB, free: 1.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001676/0.6242, allocations: 361.6 kB / 482.9 MB, free: 1.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006356/0.6249, allocations: 111.4 kB / 483 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6249, allocations: 0 / 483 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of Templates: time 0.05678/0.6817, allocations: 24.78 MB / 0.4959 GB, free: 8.152 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches