Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 64.77 kB / 379.1 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2671, allocations: 53.37 MB / 432.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01391/0.281, allocations: 10.46 MB / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007807/0.2888, allocations: 3.501 MB / 446.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.2903, allocations: 71.5 kB / 446.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.2924, allocations: 0.8384 MB / 447.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.2951, allocations: 0.8931 MB / 448.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.2961, allocations: 431.3 kB / 448.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.2999, allocations: 2.77 MB / 451.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.302, allocations: 1.356 MB / 452.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.3041, allocations: 1.293 MB / 454 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.3065, allocations: 1.623 MB / 455.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005023/0.307, allocations: 336 kB / 456 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008822/0.3079, allocations: 447.8 kB / 456.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.3089, allocations: 0.9543 MB / 457.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.3106, allocations: 1.513 MB / 458.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005171/0.3158, allocations: 4.406 MB / 463.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3158, allocations: 0 / 463.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3158, allocations: 0 / 463.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.358e-05/0.3159, allocations: 3.984 kB / 463.3 MB, free: 7.957 MB / 366.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.00666/0.3225, allocations: 3.061 MB / 466.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3226, allocations: 12.03 kB / 466.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009156/0.3235, allocations: 331 kB / 466.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/0.3269, allocations: 1.563 MB / 468.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.3271, allocations: 168.3 kB / 468.4 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003754/0.3274, allocations: 220 kB / 468.6 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005457/0.3329, allocations: 2.921 MB / 471.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.913e-05/0.333, allocations: 7.984 kB / 471.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/0.3332, allocations: 84 kB / 471.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.3333, allocations: 120.3 kB / 471.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004745/0.3381, allocations: 2.43 MB / 474.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.3538, allocations: 8.868 MB / 483.1 MB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.3562, allocations: 1.19 MB / 484.2 MB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.358, allocations: 0.9171 MB / 485.2 MB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.3583, allocations: 48.95 kB / 485.2 MB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.3583, allocations: 51.55 kB / 485.3 MB, free: 1.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.256e-06/0.3583, allocations: 3.938 kB / 485.3 MB, free: 1.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01542/0.3738, allocations: 6.075 MB / 491.3 MB, free: 11.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.3738, allocations: 64.41 kB / 491.4 MB, free: 11.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.3764, allocations: 1.57 MB / 493 MB, free: 9.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.3765, allocations: 45.7 kB / 493 MB, free: 9.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009616/0.3774, allocations: 1.134 MB / 494.1 MB, free: 8.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004525/0.3779, allocations: 468 kB / 494.6 MB, free: 8.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004836/0.3784, allocations: 275.5 kB / 494.9 MB, free: 7.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3785, allocations: 301.1 kB / 495.2 MB, free: 7.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.3799, allocations: 0.7066 MB / 495.9 MB, free: 6.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.3817, allocations: 1.134 MB / 497 MB, free: 5.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.3849, allocations: 1.971 MB / 499 MB, free: 3.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.3849, allocations: 4 kB / 499 MB, free: 3.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004852/0.3897, allocations: 2.448 MB / 0.4897 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.3898, allocations: 12 kB / 0.4897 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.3898, allocations: 12 kB / 0.4897 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.3909, allocations: 419.4 kB / 0.4901 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.3922, allocations: 347.5 kB / 0.4904 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008035/0.4003, allocations: 6.824 MB / 0.4971 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.4017, allocations: 108 kB / 0.4972 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.4019, allocations: 60 kB / 0.4973 GB, free: 8.742 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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.001375/0.4032, allocations: 0.7278 MB / 0.498 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.4036, allocations: 174.9 kB / 0.4981 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/0.4078, allocations: 2.119 MB / 0.5002 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.4078, allocations: 12 kB / 0.5002 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4078, allocations: 4 kB / 0.5002 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.4078, allocations: 11.91 kB / 0.5002 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00874/0.4165, allocations: 4.656 MB / 0.5048 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.4165, allocations: 4.469 kB / 0.5048 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.4176, allocations: 223.7 kB / 0.505 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.4188, allocations: 454.2 kB / 0.5054 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.4189, allocations: 39.98 kB / 0.5055 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009217/0.4281, allocations: 8.285 MB / 0.5136 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.4281, allocations: 4 kB / 0.5136 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005482/0.4336, allocations: 3.14 MB / 0.5166 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009241/0.4345, allocations: 326.7 kB / 0.5169 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.4347, allocations: 32 kB / 0.517 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008972/0.4356, allocations: 79.91 kB / 0.517 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.4359, allocations: 104.7 kB / 0.5171 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.469e-05/0.4359, allocations: 43.98 kB / 0.5172 GB, free: 3.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001685/0.4376, allocations: 1.067 MB / 0.5182 GB, free: 2.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4376, allocations: 3.938 kB / 0.5182 GB, free: 2.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001684/0.4393, allocations: 488.1 kB / 0.5187 GB, free: 2.082 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (107): * Single equations (assignments): 103 * 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.000403/0.4397, allocations: 214.4 kB / 0.5189 GB, free: 1.867 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003911/0.4436, allocations: 2.144 MB / 0.521 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4436, allocations: 3.938 kB / 0.521 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.4461, allocations: 1.419 MB / 0.5224 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.448, allocations: 484.5 kB / 0.5228 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/0.4564, allocations: 4.769 MB / 0.5275 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/0.4584, allocations: 1.879 MB / 0.5293 GB, free: 6.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001144/0.4595, allocations: 382.9 kB / 0.5297 GB, free: 6.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.4599, allocations: 131.4 kB / 0.5298 GB, free: 6.473 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4599, allocations: 0 / 0.5298 GB, free: 6.473 MB / 446.1 MB Notification: Performance of Templates: time 0.235/0.6949, allocations: 28.21 MB / 0.5574 GB, free: 88.71 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.943811355158687]