Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 109.3 kB / 17.73 MB, free: 5.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.00155/0.00155, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.667/1.667, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.00124/0.00124, allocations: 51.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1151, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.2115/0.3266, allocations: 10.27 MB / 385.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006412/0.3331, allocations: 3.481 MB / 388.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.3351, allocations: 50.94 kB / 389 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.3375, allocations: 0.763 MB / 389.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.3405, allocations: 0.8325 MB / 390.5 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3418, allocations: 427.2 kB / 391 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004238/0.346, allocations: 2.76 MB / 393.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002889/0.349, allocations: 2.36 MB / 396.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002657/0.3516, allocations: 1.251 MB / 397.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.3549, allocations: 1.576 MB / 398.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006628/0.3556, allocations: 338.1 kB / 399.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.3569, allocations: 437.7 kB / 399.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.358, allocations: 0.9411 MB / 400.6 MB, free: 128 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002908/0.3609, allocations: 1.503 MB / 402.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00771/0.3686, allocations: 4.398 MB / 406.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.3687, allocations: 0.9688 kB / 406.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3687, allocations: 0 / 406.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002234/0.3689, allocations: 4 kB / 406.5 MB, free: 12.51 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01092/0.3798, allocations: 3.122 MB / 409.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.3799, allocations: 9.406 kB / 409.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.3812, allocations: 329.1 kB / 410 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.3844, allocations: 1.542 MB / 411.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.3846, allocations: 175.4 kB / 411.7 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.3849, allocations: 221.1 kB / 411.9 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005645/0.3906, allocations: 2.915 MB / 414.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.43e-05/0.3907, allocations: 2.75 kB / 414.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/0.3909, allocations: 91.25 kB / 414.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.391, allocations: 123.2 kB / 415 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004506/0.3955, allocations: 2.429 MB / 417.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/0.4117, allocations: 9.034 MB / 426.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.4143, allocations: 1.703 MB / 428.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.4161, allocations: 0.9798 MB / 429.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/0.4164, allocations: 211.2 kB / 429.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.4165, allocations: 43.56 kB / 429.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 3.206e-06/0.4165, allocations: 0 / 429.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01473/0.4312, allocations: 6.568 MB / 436 MB, free: 1.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.4313, allocations: 68.34 kB / 436.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.4338, allocations: 1.565 MB / 437.6 MB, free: 272 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.256e-05/0.434, allocations: 41.7 kB / 437.7 MB, free: 224 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000836/0.4348, allocations: 1.138 MB / 438.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.4351, allocations: 448.2 kB / 439.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000436/0.4356, allocations: 271.5 kB / 439.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4357, allocations: 305.1 kB / 439.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.4369, allocations: 0.7105 MB / 440.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.4383, allocations: 1.143 MB / 441.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/0.441, allocations: 1.968 MB / 443.6 MB, free: 9.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.441, allocations: 4 kB / 443.6 MB, free: 9.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004234/0.4452, allocations: 2.527 MB / 446.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4453, allocations: 15.22 kB / 446.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.4453, allocations: 19.98 kB / 446.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.4463, allocations: 416.4 kB / 446.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.4476, allocations: 351.4 kB / 446.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007533/0.4552, allocations: 7.14 MB / 454.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.4568, allocations: 103.8 kB / 454.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.4569, allocations: 64 kB / 454.2 MB, free: 14.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (169): * Single equations (assignments): 165 * 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,12,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.001513/0.4584, allocations: 0.7166 MB / 455 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.4588, allocations: 178.9 kB / 455.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/0.4627, allocations: 2.19 MB / 457.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.4627, allocations: 12 kB / 457.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4628, allocations: 4 kB / 457.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.4628, allocations: 7.922 kB / 457.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007821/0.4706, allocations: 4.773 MB / 462.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.4706, allocations: 4 kB / 462.1 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/0.4716, allocations: 224.2 kB / 462.3 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.4727, allocations: 470.7 kB / 462.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.62e-05/0.4728, allocations: 31.98 kB / 462.8 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008281/0.4811, allocations: 8.669 MB / 471.5 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.4811, allocations: 7.938 kB / 471.5 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005183/0.4863, allocations: 3.223 MB / 474.7 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000915/0.4872, allocations: 407.8 kB / 475.1 MB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.4874, allocations: 35.92 kB / 475.2 MB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009092/0.4884, allocations: 87.91 kB / 475.3 MB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.4886, allocations: 96.75 kB / 475.3 MB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/0.4887, allocations: 43.98 kB / 475.4 MB, free: 8.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001641/0.4903, allocations: 1.07 MB / 476.5 MB, free: 7.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4903, allocations: 0 / 476.5 MB, free: 7.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001798/0.4921, allocations: 488.1 kB / 476.9 MB, free: 7.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (108): * Single equations (assignments): 104 * 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,12,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.0003728/0.4925, allocations: 195 kB / 477.1 MB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003546/0.4961, allocations: 2.297 MB / 479.4 MB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4961, allocations: 1 kB / 479.4 MB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.4984, allocations: 1.489 MB / 480.9 MB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.5004, allocations: 482.2 kB / 481.4 MB, free: 2.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007119/0.5075, allocations: 4.764 MB / 486.1 MB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/0.5091, allocations: 1.867 MB / 488 MB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001076/0.5102, allocations: 390.9 kB / 488.4 MB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.5106, allocations: 131.3 kB / 488.5 MB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5106, allocations: 4 kB / 488.5 MB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.0443/0.5549, allocations: 26.82 MB / 0.5033 GB, free: 476 kB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches