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.001833/0.001833, allocations: 109.3 kB / 17.73 MB, free: 5.32 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.002012/0.002012, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.639/1.639, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001249/0.001249, allocations: 55.92 kB / 328.5 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09602, allocations: 46.62 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.2073/0.3033, allocations: 10.26 MB / 385.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006576/0.31, allocations: 3.483 MB / 388.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.3115, allocations: 51.75 kB / 389 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.3134, allocations: 0.7673 MB / 389.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.316, allocations: 0.8308 MB / 390.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3172, allocations: 414.9 kB / 391 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003597/0.3208, allocations: 2.763 MB / 393.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.3236, allocations: 2.376 MB / 396.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.3259, allocations: 1.26 MB / 397.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.3286, allocations: 1.576 MB / 398.9 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005907/0.3292, allocations: 338.5 kB / 399.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.3304, allocations: 433.7 kB / 399.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009068/0.3313, allocations: 0.94 MB / 400.6 MB, free: 112 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.3331, allocations: 1.503 MB / 402.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005993/0.3391, allocations: 4.387 MB / 406.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.3391, allocations: 0 / 406.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3391, allocations: 4 kB / 406.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.3393, allocations: 1.188 kB / 406.5 MB, free: 12.52 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.01056/0.3498, allocations: 3.05 MB / 409.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.3499, allocations: 9.312 kB / 409.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3511, allocations: 307.2 kB / 409.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.3549, allocations: 1.53 MB / 411.4 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.3551, allocations: 176.3 kB / 411.6 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/0.3555, allocations: 225.6 kB / 411.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006194/0.3617, allocations: 2.908 MB / 414.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.709e-05/0.3618, allocations: 8.281 kB / 414.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.362, allocations: 99.23 kB / 414.8 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.3622, allocations: 111.2 kB / 414.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004593/0.3668, allocations: 2.428 MB / 417.4 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/0.3821, allocations: 9.008 MB / 426.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.3845, allocations: 1.702 MB / 428.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.3863, allocations: 0.976 MB / 429 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.3867, allocations: 211.2 kB / 429.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.3867, allocations: 47.56 kB / 429.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 3.106e-06/0.3867, allocations: 0 / 429.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01494/0.4017, allocations: 6.536 MB / 435.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.4018, allocations: 68.34 kB / 435.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.4043, allocations: 1.569 MB / 437.5 MB, free: 444 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-05/0.4044, allocations: 46.27 kB / 437.5 MB, free: 392 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008111/0.4053, allocations: 1.096 MB / 438.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.4056, allocations: 433.8 kB / 439 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/0.406, allocations: 267.4 kB / 439.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.4061, allocations: 309.1 kB / 439.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.4073, allocations: 0.7027 MB / 440.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.4087, allocations: 1.144 MB / 441.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.4115, allocations: 1.968 MB / 443.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.4115, allocations: 4 kB / 443.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004514/0.416, allocations: 2.518 MB / 445.9 MB, free: 7.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.4161, allocations: 15.94 kB / 445.9 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.4161, allocations: 12 kB / 446 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.4171, allocations: 432 kB / 446.4 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.4184, allocations: 347.5 kB / 446.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/0.4258, allocations: 7.122 MB / 453.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.4276, allocations: 107.8 kB / 453.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.4278, allocations: 67.98 kB / 454 MB, free: 15.01 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.001796/0.4296, allocations: 0.7166 MB / 454.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/0.4301, allocations: 169.9 kB / 454.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.4342, allocations: 2.186 MB / 457.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.4342, allocations: 12 kB / 457.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.4342, allocations: 7.984 kB / 457.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.4343, allocations: 11.92 kB / 457.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008422/0.4427, allocations: 4.769 MB / 461.9 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.4427, allocations: 4 kB / 461.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009746/0.4437, allocations: 216.3 kB / 462.1 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.4449, allocations: 478.7 kB / 462.6 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.953e-05/0.445, allocations: 35.98 kB / 462.6 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008531/0.4535, allocations: 8.655 MB / 471.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4536, allocations: 4 kB / 471.3 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005321/0.4589, allocations: 3.218 MB / 474.5 MB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.4599, allocations: 402.8 kB / 474.9 MB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.4602, allocations: 35.94 kB / 474.9 MB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009682/0.4612, allocations: 91.89 kB / 475 MB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.4614, allocations: 92.75 kB / 475.1 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-05/0.4615, allocations: 43.98 kB / 475.1 MB, free: 8.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001773/0.4633, allocations: 1.07 MB / 476.2 MB, free: 7.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4633, allocations: 0 / 476.2 MB, free: 7.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002049/0.4654, allocations: 484 kB / 476.7 MB, free: 7.449 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.0004684/0.4659, allocations: 207 kB / 476.9 MB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003974/0.4698, allocations: 2.297 MB / 479.2 MB, free: 4.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.4699, allocations: 0 / 479.2 MB, free: 4.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002434/0.4723, allocations: 1.473 MB / 480.6 MB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.475, allocations: 485 kB / 481.1 MB, free: 2.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008377/0.4834, allocations: 4.685 MB / 485.8 MB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.485, allocations: 1.867 MB / 487.7 MB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001404/0.4864, allocations: 386.9 kB / 488 MB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.4868, allocations: 123.4 kB / 488.2 MB, free: 11.71 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4868, allocations: 4 kB / 488.2 MB, free: 11.71 MB / 414.1 MB Notification: Performance of Templates: time 0.05201/0.5388, allocations: 26.81 MB / 0.5029 GB, free: 0.8398 MB / 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