Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 210 kB / 24.47 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 59.91 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2438, allocations: 53.35 MB / 432.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01335/0.2572, allocations: 9.147 MB / 441.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007448/0.2646, allocations: 3.283 MB / 444.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.2662, allocations: 71.5 kB / 444.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.2686, allocations: 0.7683 MB / 445.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.2722, allocations: 0.8931 MB / 446.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.2737, allocations: 431.4 kB / 446.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004352/0.278, allocations: 2.757 MB / 449.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.2807, allocations: 1.301 MB / 451 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.283, allocations: 1.308 MB / 452.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.2859, allocations: 1.518 MB / 453.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008358/0.2867, allocations: 332 kB / 454.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.2881, allocations: 435.8 kB / 454.6 MB, free: 316 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.2895, allocations: 0.9582 MB / 455.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.2918, allocations: 1.213 MB / 456.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005766/0.2976, allocations: 4.433 MB / 461.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2976, allocations: 0 / 461.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2976, allocations: 0 / 461.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.23e-05/0.2977, allocations: 0 / 461.2 MB, free: 9.68 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.00629/0.304, allocations: 3.072 MB / 464.2 MB, free: 6.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.304, allocations: 8.031 kB / 464.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008419/0.3049, allocations: 327 kB / 464.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.308, allocations: 1.559 MB / 466.1 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.3081, allocations: 172.3 kB / 466.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003536/0.3085, allocations: 224 kB / 466.5 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/0.3134, allocations: 3.021 MB / 469.5 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.108e-05/0.3135, allocations: 8 kB / 469.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.3137, allocations: 84 kB / 469.6 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.3138, allocations: 112.3 kB / 469.7 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004324/0.3182, allocations: 2.43 MB / 472.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.3319, allocations: 7.835 MB / 480 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.3342, allocations: 1.182 MB / 481.2 MB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.336, allocations: 0.9092 MB / 482.1 MB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.3363, allocations: 56.91 kB / 482.1 MB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/0.3363, allocations: 51.55 kB / 482.2 MB, free: 4.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.026e-06/0.3363, allocations: 0 / 482.2 MB, free: 4.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01442/0.3507, allocations: 6.051 MB / 488.2 MB, free: 14.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3508, allocations: 64.41 kB / 488.3 MB, free: 14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.3529, allocations: 1.425 MB / 489.7 MB, free: 12.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.764e-05/0.3529, allocations: 45.7 kB / 489.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009195/0.3539, allocations: 1.149 MB / 490.9 MB, free: 11.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/0.3543, allocations: 452.1 kB / 491.4 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004361/0.3547, allocations: 271.5 kB / 491.6 MB, free: 10.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3549, allocations: 309.1 kB / 491.9 MB, free: 10.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.3561, allocations: 0.7105 MB / 492.6 MB, free: 9.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.3577, allocations: 1.142 MB / 493.8 MB, free: 8.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.3607, allocations: 1.967 MB / 495.8 MB, free: 6.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.3607, allocations: 4 kB / 495.8 MB, free: 6.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004429/0.3651, allocations: 2.425 MB / 498.2 MB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.3651, allocations: 15.94 kB / 498.2 MB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.3652, allocations: 15.94 kB / 498.2 MB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.3662, allocations: 427.2 kB / 498.6 MB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.3675, allocations: 347.5 kB / 499 MB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008069/0.3755, allocations: 6.708 MB / 0.4938 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.377, allocations: 107.8 kB / 0.4939 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.3771, allocations: 67.98 kB / 0.494 GB, free: 11.71 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.001341/0.3785, allocations: 0.7123 MB / 0.4947 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.3788, allocations: 166.9 kB / 0.4949 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/0.3828, allocations: 2.106 MB / 0.4969 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.3829, allocations: 12 kB / 0.4969 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.3829, allocations: 4 kB / 0.4969 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.3829, allocations: 3.984 kB / 0.4969 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0082/0.3911, allocations: 4.126 MB / 0.501 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.3911, allocations: 8 kB / 0.501 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009875/0.3921, allocations: 223.7 kB / 0.5012 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.3932, allocations: 451 kB / 0.5016 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-05/0.3933, allocations: 40.06 kB / 0.5016 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008978/0.4023, allocations: 8.134 MB / 0.5096 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4023, allocations: 4 kB / 0.5096 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/0.4078, allocations: 3.127 MB / 0.5126 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.4088, allocations: 310.8 kB / 0.5129 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.409, allocations: 39.98 kB / 0.513 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/0.4099, allocations: 83.91 kB / 0.5131 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.4102, allocations: 100.7 kB / 0.5132 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/0.4102, allocations: 39.98 kB / 0.5132 GB, free: 7.414 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.4117, allocations: 0.9574 MB / 0.5141 GB, free: 6.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4117, allocations: 0 / 0.5141 GB, free: 6.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001623/0.4133, allocations: 484.1 kB / 0.5146 GB, free: 5.984 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.0003822/0.4137, allocations: 198.9 kB / 0.5148 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003872/0.4176, allocations: 2.14 MB / 0.5169 GB, free: 3.594 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.4176, allocations: 4.062 kB / 0.5169 GB, free: 3.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.4201, allocations: 1.422 MB / 0.5183 GB, free: 2.117 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.4221, allocations: 425.7 kB / 0.5187 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008256/0.4304, allocations: 4.804 MB / 0.5234 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.432, allocations: 1.269 MB / 0.5246 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/0.4325, allocations: 127.4 kB / 0.5247 GB, free: 11.38 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4325, allocations: 3.938 kB / 0.5247 GB, free: 11.38 MB / 446.1 MB Notification: Performance of Templates: time 0.2532/0.6857, allocations: 73.97 MB / 0.597 GB, free: 48.78 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 12.38640852412209]