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.00206/0.00206, allocations: 113.2 kB / 17.73 MB, free: 5.344 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.002472/0.002472, allocations: 188.2 kB / 18.66 MB, free: 4.418 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.795/1.795, 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.001218/0.001218, allocations: 55.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1257, allocations: 46.61 MB / 375.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.274/0.3997, allocations: 9.573 MB / 384.7 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007526/0.4073, allocations: 3.159 MB / 387.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.4098, allocations: 49.06 kB / 387.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.4119, allocations: 0.6711 MB / 388.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.4153, allocations: 0.7645 MB / 389.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.4165, allocations: 392.2 kB / 389.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.4201, allocations: 2.561 MB / 392.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002842/0.423, allocations: 2.291 MB / 394.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.4256, allocations: 1.181 MB / 395.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.4284, allocations: 1.491 MB / 397.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005249/0.4289, allocations: 321.2 kB / 397.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.43, allocations: 421.6 kB / 398 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009572/0.431, allocations: 0.8938 MB / 398.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.4326, allocations: 1.417 MB / 400.3 MB, free: 312 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005584/0.4382, allocations: 4.15 MB / 404.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4382, allocations: 0 / 404.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4382, allocations: 5.062 kB / 404.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.752e-05/0.4383, allocations: 0 / 404.5 MB, free: 14.06 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.007454/0.4458, allocations: 2.898 MB / 407.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.4458, allocations: 10.84 kB / 407.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008893/0.4467, allocations: 288.9 kB / 407.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.4494, allocations: 1.452 MB / 409.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.4496, allocations: 163 kB / 409.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003654/0.45, allocations: 213.4 kB / 409.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005623/0.4556, allocations: 2.792 MB / 412.3 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.727e-05/0.4557, allocations: 5.281 kB / 412.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/0.4559, allocations: 91.3 kB / 412.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.456, allocations: 106.2 kB / 412.5 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004451/0.4605, allocations: 2.342 MB / 414.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01438/0.4749, allocations: 8.501 MB / 423.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.4774, allocations: 1.703 MB / 425 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.4791, allocations: 0.9634 MB / 426 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.4794, allocations: 204 kB / 426.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.4795, allocations: 47.56 kB / 426.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 2.915e-06/0.4795, allocations: 0 / 426.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01356/0.493, allocations: 6.106 MB / 432.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.4931, allocations: 60.41 kB / 432.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.4953, allocations: 1.445 MB / 433.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.869e-05/0.4954, allocations: 49.64 kB / 433.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007625/0.4961, allocations: 1.033 MB / 434.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.4965, allocations: 410.1 kB / 435.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.4969, allocations: 263.3 kB / 435.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4971, allocations: 357.9 kB / 435.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.4982, allocations: 0.6832 MB / 436.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.4996, allocations: 1.074 MB / 437.7 MB, free: 76 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/0.5022, allocations: 1.856 MB / 439.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5022, allocations: 4 kB / 439.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003987/0.5062, allocations: 2.398 MB / 441.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.5063, allocations: 12 kB / 442 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.5063, allocations: 12 kB / 442 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009646/0.5073, allocations: 423 kB / 442.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.5085, allocations: 327.5 kB / 442.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/0.5156, allocations: 7.045 MB / 449.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.5169, allocations: 99.94 kB / 449.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.517, allocations: 63.97 kB / 449.9 MB, free: 3.223 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.001309/0.5183, allocations: 0.6892 MB / 450.6 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.5187, allocations: 162 kB / 450.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.5223, allocations: 2.115 MB / 452.9 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5224, allocations: 12 kB / 452.9 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5224, allocations: 4 kB / 452.9 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.5224, allocations: 3.984 kB / 452.9 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007302/0.5297, allocations: 4.573 MB / 457.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.5297, allocations: 8.094 kB / 457.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008798/0.5306, allocations: 207.7 kB / 457.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.5317, allocations: 459 kB / 458.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/0.5318, allocations: 35.97 kB / 458.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008389/0.5402, allocations: 8.605 MB / 466.8 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.5402, allocations: 7.938 kB / 466.8 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004876/0.5451, allocations: 3.107 MB / 469.9 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.5459, allocations: 375 kB / 470.2 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.5461, allocations: 39.98 kB / 470.3 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008586/0.547, allocations: 79.91 kB / 470.4 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.5473, allocations: 100.7 kB / 470.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.5474, allocations: 39.98 kB / 470.5 MB, free: 13.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001634/0.549, allocations: 0.9886 MB / 471.5 MB, free: 12.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.549, allocations: 0 / 471.5 MB, free: 12.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001833/0.5509, allocations: 464.1 kB / 471.9 MB, free: 12.3 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.0004109/0.5513, allocations: 202.9 kB / 472.1 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.5552, allocations: 2.223 MB / 474.4 MB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5552, allocations: 0 / 474.4 MB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002464/0.5577, allocations: 1.439 MB / 475.8 MB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.5597, allocations: 420.1 kB / 476.2 MB, free: 7.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007651/0.5673, allocations: 4.453 MB / 480.7 MB, free: 3.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/0.569, allocations: 1.807 MB / 482.5 MB, free: 1.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001115/0.5701, allocations: 365.6 kB / 482.8 MB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.5704, allocations: 111.4 kB / 482.9 MB, free: 1.078 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5704, allocations: 0 / 482.9 MB, free: 1.078 MB / 398.1 MB Notification: Performance of Templates: time 0.04849/0.6189, allocations: 24.79 MB / 0.4958 GB, free: 8.246 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