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.SMR_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.001556/0.001556, allocations: 115.8 kB / 19.18 MB, free: 3.895 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.001706/0.001706, allocations: 212.9 kB / 22.13 MB, free: 0.9414 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.418/1.418, allocations: 230.4 MB / 255.4 MB, free: 9.066 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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001901/0.001901, allocations: 75.81 kB / 374.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2775, allocations: 53.31 MB / 428.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.0134/0.2909, allocations: 9.701 MB / 437.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006964/0.2978, allocations: 3.17 MB / 440.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.2995, allocations: 55.75 kB / 441 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.3015, allocations: 0.7181 MB / 441.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.3044, allocations: 0.8077 MB / 442.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.3054, allocations: 395.4 kB / 442.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003526/0.3089, allocations: 2.56 MB / 445.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.3112, allocations: 1.67 MB / 447.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.3133, allocations: 1.195 MB / 448.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.3159, allocations: 1.541 MB / 449.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006787/0.3166, allocations: 316 kB / 450.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.3177, allocations: 423.8 kB / 450.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.3187, allocations: 0.9076 MB / 451.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.3206, allocations: 1.427 MB / 452.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004954/0.3256, allocations: 4.18 MB / 457.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3256, allocations: 0 / 457.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3256, allocations: 0 / 457.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.208e-05/0.3257, allocations: 0 / 457.1 MB, free: 11.04 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.006277/0.3319, allocations: 2.972 MB / 460.1 MB, free: 8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.332, allocations: 16.02 kB / 460.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009194/0.3329, allocations: 311.2 kB / 460.4 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/0.336, allocations: 1.555 MB / 462 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.3362, allocations: 156.3 kB / 462.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.3365, allocations: 208 kB / 462.3 MB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005484/0.342, allocations: 2.807 MB / 465.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.844e-05/0.3421, allocations: 0 / 465.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.3423, allocations: 88 kB / 465.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.3424, allocations: 104.2 kB / 465.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004426/0.3468, allocations: 2.355 MB / 467.7 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.3624, allocations: 8.522 MB / 476.2 MB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.3651, allocations: 1.631 MB / 477.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.367, allocations: 0.9086 MB / 478.7 MB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003508/0.3674, allocations: 204.2 kB / 478.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.3674, allocations: 47.5 kB / 479 MB, free: 4.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.266e-06/0.3674, allocations: 4 kB / 479 MB, free: 4.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01453/0.3819, allocations: 6.264 MB / 485.2 MB, free: 14.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.382, allocations: 64.41 kB / 485.3 MB, free: 14.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.3843, allocations: 1.441 MB / 486.7 MB, free: 12.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.3844, allocations: 45.7 kB / 486.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009069/0.3853, allocations: 1.063 MB / 487.8 MB, free: 11.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/0.3857, allocations: 432.3 kB / 488.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004461/0.3862, allocations: 255.5 kB / 488.5 MB, free: 10.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3864, allocations: 369.9 kB / 488.9 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.3876, allocations: 0.687 MB / 489.6 MB, free: 9.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.3892, allocations: 1.081 MB / 490.7 MB, free: 8.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.392, allocations: 1.86 MB / 492.5 MB, free: 6.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.3921, allocations: 4 kB / 492.5 MB, free: 6.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004517/0.3966, allocations: 2.414 MB / 494.9 MB, free: 3.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.3966, allocations: 8 kB / 494.9 MB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.3966, allocations: 12 kB / 494.9 MB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.3978, allocations: 419.3 kB / 495.4 MB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.399, allocations: 335.5 kB / 495.7 MB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008037/0.4071, allocations: 7.042 MB / 0.4909 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4085, allocations: 99.89 kB / 0.491 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.4087, allocations: 59.98 kB / 0.4911 GB, free: 11.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * 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,11,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.001398/0.4101, allocations: 0.6924 MB / 0.4918 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.4104, allocations: 170.9 kB / 0.4919 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/0.4145, allocations: 2.131 MB / 0.494 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.4145, allocations: 12 kB / 0.494 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4145, allocations: 4 kB / 0.494 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.4145, allocations: 7.969 kB / 0.494 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008308/0.4229, allocations: 4.556 MB / 0.4985 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4229, allocations: 4 kB / 0.4985 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009443/0.4238, allocations: 212.1 kB / 0.4987 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.4251, allocations: 446.9 kB / 0.4991 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.763e-05/0.4252, allocations: 39.97 kB / 0.4992 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009519/0.4347, allocations: 8.626 MB / 0.5076 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/0.4347, allocations: 7.938 kB / 0.5076 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005561/0.4403, allocations: 3.1 MB / 0.5106 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000961/0.4412, allocations: 383.9 kB / 0.511 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.4414, allocations: 28 kB / 0.511 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009053/0.4423, allocations: 87.89 kB / 0.5111 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/0.4426, allocations: 96.75 kB / 0.5112 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/0.4427, allocations: 32 kB / 0.5112 GB, free: 6.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001605/0.4443, allocations: 0.9927 MB / 0.5122 GB, free: 5.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4443, allocations: 3.938 kB / 0.5122 GB, free: 5.137 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001749/0.446, allocations: 463.9 kB / 0.5126 GB, free: 4.684 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],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 (102): * Single equations (assignments): 98 * 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,11,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.0004243/0.4465, allocations: 202.9 kB / 0.5128 GB, free: 4.477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004101/0.4506, allocations: 2.153 MB / 0.5149 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4506, allocations: 2 kB / 0.5149 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00269/0.4533, allocations: 1.395 MB / 0.5163 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.4556, allocations: 423.6 kB / 0.5167 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009456/0.4651, allocations: 4.56 MB / 0.5211 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/0.467, allocations: 1.784 MB / 0.5229 GB, free: 9.953 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/0.4676, allocations: 123.4 kB / 0.523 GB, free: 9.832 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4676, allocations: 0 / 0.523 GB, free: 9.832 MB / 446.1 MB Notification: Performance of Templates: time 0.3243/0.7919, allocations: 69.47 MB / 0.5909 GB, free: 84.24 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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: 13.090069991070777]