Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.001458/0.001458, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.00156/0.00156, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.517/1.517, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 47.94 kB / 373.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09608, allocations: 53.34 MB / 426.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.2176/0.3137, allocations: 10.26 MB / 437.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.3198, allocations: 3.321 MB / 440.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.3217, allocations: 73.66 kB / 440.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.3239, allocations: 0.7471 MB / 441.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003161/0.327, allocations: 0.8697 MB / 442.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.3284, allocations: 429.6 kB / 442.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004687/0.3331, allocations: 2.989 MB / 445.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.3358, allocations: 1.784 MB / 447.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.3382, allocations: 1.393 MB / 448.7 MB, free: 32 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.3414, allocations: 1.738 MB / 450.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008568/0.3422, allocations: 353 kB / 450.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.3438, allocations: 475.5 kB / 451.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.3451, allocations: 1.025 MB / 452.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003175/0.3482, allocations: 1.613 MB / 453.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006726/0.355, allocations: 4.709 MB / 458.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.355, allocations: 1.469 kB / 458.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.355, allocations: 1.219 kB / 458.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001446/0.3551, allocations: 4 kB / 458.6 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.009087/0.3642, allocations: 3.359 MB / 461.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3643, allocations: 10.25 kB / 462 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.3659, allocations: 382 kB / 462.3 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004025/0.3699, allocations: 1.788 MB / 464.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.3701, allocations: 175.8 kB / 464.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004756/0.3706, allocations: 234.7 kB / 464.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/0.3769, allocations: 3.138 MB / 467.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.744e-05/0.377, allocations: 10.61 kB / 467.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.3772, allocations: 95.94 kB / 467.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.3773, allocations: 104.6 kB / 467.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005198/0.3825, allocations: 2.697 MB / 470.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/0.3994, allocations: 9.653 MB / 480.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.4024, allocations: 2.084 MB / 482.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.4045, allocations: 1.042 MB / 483.3 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/0.4049, allocations: 207.2 kB / 483.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.4049, allocations: 47.55 kB / 483.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.976e-06/0.4049, allocations: 3.938 kB / 483.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01559/0.4205, allocations: 6.878 MB / 490.5 MB, free: 120 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.4206, allocations: 64.72 kB / 490.5 MB, free: 44 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.4233, allocations: 1.763 MB / 492.3 MB, free: 14.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.4234, allocations: 53.7 kB / 492.3 MB, free: 14.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009845/0.4244, allocations: 1.186 MB / 493.5 MB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004134/0.4248, allocations: 472 kB / 494 MB, free: 12.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004894/0.4253, allocations: 283.5 kB / 494.3 MB, free: 12.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4254, allocations: 309.1 kB / 494.6 MB, free: 11.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.4268, allocations: 0.7964 MB / 495.4 MB, free: 11.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.4286, allocations: 1.205 MB / 496.6 MB, free: 9.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/0.4319, allocations: 2.094 MB / 498.7 MB, free: 7.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.4319, allocations: 4 kB / 498.7 MB, free: 7.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004944/0.4368, allocations: 2.672 MB / 0.4896 GB, free: 4.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4368, allocations: 12.03 kB / 0.4896 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.4369, allocations: 12 kB / 0.4896 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.438, allocations: 419.1 kB / 0.49 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.4394, allocations: 367.3 kB / 0.4904 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007969/0.4474, allocations: 7.065 MB / 0.4973 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.4488, allocations: 111.8 kB / 0.4974 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.4489, allocations: 63.98 kB / 0.4974 GB, free: 12.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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.001427/0.4504, allocations: 0.7939 MB / 0.4982 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.4507, allocations: 195.9 kB / 0.4984 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/0.4552, allocations: 2.372 MB / 0.5007 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.4552, allocations: 23.77 kB / 0.5007 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4552, allocations: 4 kB / 0.5007 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.4552, allocations: 11.97 kB / 0.5007 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009059/0.4643, allocations: 5.09 MB / 0.5057 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.4643, allocations: 4 kB / 0.5057 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.4654, allocations: 235.6 kB / 0.5059 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.4667, allocations: 459.4 kB / 0.5064 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.4668, allocations: 39.98 kB / 0.5064 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009495/0.4763, allocations: 8.64 MB / 0.5149 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.4763, allocations: 7.938 kB / 0.5149 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006031/0.4823, allocations: 3.514 MB / 0.5183 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009148/0.4832, allocations: 443.8 kB / 0.5187 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.4835, allocations: 28 kB / 0.5187 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009564/0.4844, allocations: 87.91 kB / 0.5188 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002875/0.4847, allocations: 120.7 kB / 0.5189 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.025e-05/0.4848, allocations: 36 kB / 0.519 GB, free: 5.434 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001927/0.4867, allocations: 1.214 MB / 0.5202 GB, free: 4.227 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4867, allocations: 4 kB / 0.5202 GB, free: 4.223 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001779/0.4885, allocations: 0.4999 MB / 0.5207 GB, free: 3.723 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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,1,100.0%), (1,6,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.0003806/0.4889, allocations: 199.8 kB / 0.5208 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004242/0.4931, allocations: 2.403 MB / 0.5232 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4931, allocations: 3.938 kB / 0.5232 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002698/0.4958, allocations: 1.551 MB / 0.5247 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.498, allocations: 483.2 kB / 0.5252 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008924/0.5069, allocations: 5.063 MB / 0.5301 GB, free: 9.848 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/0.5089, allocations: 2.005 MB / 0.5321 GB, free: 7.809 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001442/0.5104, allocations: 443.5 kB / 0.5325 GB, free: 7.371 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/0.511, allocations: 127.4 kB / 0.5326 GB, free: 7.246 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.511, allocations: 7.938 kB / 0.5326 GB, free: 7.238 MB / 446.1 MB Notification: Performance of Templates: time 0.07342/0.5844, allocations: 28.71 MB / 0.5607 GB, free: 10.78 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.643626820296049]