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.001166/0.001166, allocations: 106.2 kB / 18.4 MB, free: 4.57 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.001176/0.001177, allocations: 190.3 kB / 19.33 MB, free: 3.645 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.358/1.358, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001986/0.001987, allocations: 55.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1066, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.1844/0.2911, allocations: 10.26 MB / 386.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.2975, allocations: 3.487 MB / 389.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.2994, allocations: 50.47 kB / 389.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.3018, allocations: 0.7675 MB / 390.4 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003194/0.305, allocations: 0.827 MB / 391.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.3062, allocations: 425.5 kB / 391.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004639/0.3108, allocations: 2.76 MB / 394.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002905/0.3138, allocations: 2.369 MB / 396.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.316, allocations: 1.253 MB / 398 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.3189, allocations: 1.582 MB / 399.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008473/0.3197, allocations: 337.4 kB / 399.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.3212, allocations: 435.9 kB / 400.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.3222, allocations: 0.9413 MB / 401.3 MB, free: 124 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00267/0.3249, allocations: 1.503 MB / 402.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006435/0.3314, allocations: 4.383 MB / 407.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.3314, allocations: 5.188 kB / 407.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3315, allocations: 0 / 407.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001415/0.3316, allocations: 0 / 407.2 MB, free: 12.54 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.00901/0.3406, allocations: 3.059 MB / 410.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3407, allocations: 9.906 kB / 410.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.3417, allocations: 307 kB / 410.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/0.345, allocations: 1.534 MB / 412.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.3451, allocations: 169.9 kB / 412.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003638/0.3455, allocations: 220.4 kB / 412.5 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005288/0.3508, allocations: 2.912 MB / 415.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.938e-05/0.3509, allocations: 6.734 kB / 415.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/0.3511, allocations: 95.23 kB / 415.5 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/0.3512, allocations: 111.2 kB / 415.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.3556, allocations: 2.434 MB / 418 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/0.3716, allocations: 9 MB / 427 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.3741, allocations: 1.71 MB / 428.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/0.3759, allocations: 0.9799 MB / 429.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.3762, allocations: 203.2 kB / 429.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.3762, allocations: 48.5 kB / 430 MB, free: 8.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 3.526e-06/0.3763, allocations: 0 / 430 MB, free: 8.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01453/0.3908, allocations: 6.528 MB / 436.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.3909, allocations: 64.41 kB / 436.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.3933, allocations: 1.573 MB / 438.1 MB, free: 464 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.3934, allocations: 45.7 kB / 438.2 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007861/0.3942, allocations: 1.104 MB / 439.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.3946, allocations: 429.8 kB / 439.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.3951, allocations: 271.4 kB / 440 MB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.3952, allocations: 301.1 kB / 440.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.3963, allocations: 0.7144 MB / 441 MB, free: 13.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.3978, allocations: 1.143 MB / 442.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00266/0.4004, allocations: 1.956 MB / 444.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.4005, allocations: 8 kB / 444.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004385/0.4049, allocations: 2.519 MB / 446.6 MB, free: 7.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.4049, allocations: 23.25 kB / 446.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.4049, allocations: 12 kB / 446.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.406, allocations: 423.8 kB / 447 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.4073, allocations: 351.4 kB / 447.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/0.4144, allocations: 7.125 MB / 454.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.4161, allocations: 107.8 kB / 454.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.4163, allocations: 60 kB / 454.7 MB, free: 15.03 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.001378/0.4177, allocations: 0.7166 MB / 455.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000413/0.4181, allocations: 165.9 kB / 455.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/0.4219, allocations: 2.194 MB / 457.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.422, allocations: 12 kB / 457.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.422, allocations: 8 kB / 457.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.422, allocations: 11.91 kB / 457.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008554/0.4305, allocations: 4.773 MB / 462.5 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4306, allocations: 7.938 kB / 462.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009437/0.4315, allocations: 219.7 kB / 462.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.4327, allocations: 471.5 kB / 463.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.4328, allocations: 31.98 kB / 463.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008349/0.4412, allocations: 8.665 MB / 471.9 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.4412, allocations: 7.938 kB / 471.9 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/0.4466, allocations: 3.222 MB / 475.2 MB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.4477, allocations: 394.8 kB / 475.5 MB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.448, allocations: 35.98 kB / 475.6 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009688/0.4489, allocations: 83.91 kB / 475.7 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.4492, allocations: 100.7 kB / 475.8 MB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-05/0.4493, allocations: 36 kB / 475.8 MB, free: 9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001614/0.4509, allocations: 1.07 MB / 476.9 MB, free: 7.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4509, allocations: 4 kB / 476.9 MB, free: 7.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001765/0.4527, allocations: 484 kB / 477.3 MB, free: 7.457 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.0004046/0.4531, allocations: 199.1 kB / 477.5 MB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003777/0.4569, allocations: 2.3 MB / 479.8 MB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.4569, allocations: 2 kB / 479.8 MB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002407/0.4593, allocations: 1.477 MB / 481.3 MB, free: 3.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.4618, allocations: 482.4 kB / 481.8 MB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007726/0.4695, allocations: 4.749 MB / 486.5 MB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/0.4711, allocations: 1.835 MB / 488.4 MB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/0.4717, allocations: 135.4 kB / 488.5 MB, free: 12.05 MB / 414.1 MB Notification: Performance of SimCode: time 2.275e-06/0.4717, allocations: 0 / 488.5 MB, free: 12.05 MB / 414.1 MB Notification: Performance of Templates: time 0.0818/0.5535, allocations: 74.14 MB / 0.5495 GB, free: 1.75 MB / 478.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/jenkins1/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/jenkins1/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