Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002271/0.002271, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") [Timeout 660] "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.002667/0.002667, allocations: 51.92 kB / 347.7 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3758, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01481/0.3906, allocations: 11.52 MB / 408.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.4012, allocations: 3.938 MB / 412.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00321/0.4044, allocations: 67.59 kB / 412.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003683/0.4081, allocations: 0.8714 MB / 413.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005802/0.4139, allocations: 0.995 MB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.4169, allocations: 0.533 MB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008621/0.4255, allocations: 3.23 MB / 418 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004727/0.4302, allocations: 1.448 MB / 419.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.4344, allocations: 1.458 MB / 420.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005006/0.4394, allocations: 1.862 MB / 422.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001938/0.4414, allocations: 386.9 kB / 423.1 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.4444, allocations: 0.6951 MB / 423.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002405/0.4468, allocations: 1.087 MB / 424.9 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004915/0.4517, allocations: 1.717 MB / 426.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00924/0.461, allocations: 5.07 MB / 431.7 MB, free: 392 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.461, allocations: 0 / 431.7 MB, free: 392 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.461, allocations: 0 / 431.7 MB, free: 392 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001938/0.4612, allocations: 4 kB / 431.7 MB, free: 388 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01161/0.4728, allocations: 3.48 MB / 435.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.4728, allocations: 15.98 kB / 435.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.475, allocations: 426.7 kB / 435.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/0.4797, allocations: 1.67 MB / 437.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.48, allocations: 197.1 kB / 437.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007662/0.4808, allocations: 252 kB / 437.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009367/0.4901, allocations: 3.239 MB / 441 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/0.4903, allocations: 8 kB / 441 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004769/0.4907, allocations: 108 kB / 441.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002026/0.4909, allocations: 112.9 kB / 441.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006703/0.4976, allocations: 2.697 MB / 443.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02873/0.5264, allocations: 10.11 MB / 454 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.5293, allocations: 1.261 MB / 455.2 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.5316, allocations: 0.9758 MB / 456.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.532, allocations: 52.95 kB / 456.3 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.243e-05/0.532, allocations: 51.56 kB / 456.3 MB, free: 7.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 4.709e-06/0.532, allocations: 0 / 456.3 MB, free: 7.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.02234/0.5544, allocations: 7.064 MB / 463.4 MB, free: 116 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.5544, allocations: 64.72 kB / 463.5 MB, free: 40 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004611/0.559, allocations: 1.873 MB / 465.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.5592, allocations: 45.7 kB / 465.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.5607, allocations: 1.276 MB / 466.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006482/0.5613, allocations: 491.8 kB / 467.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007208/0.5621, allocations: 295.4 kB / 467.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5622, allocations: 309.1 kB / 467.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.5639, allocations: 0.8159 MB / 468.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.5662, allocations: 1.305 MB / 469.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004095/0.5703, allocations: 2.255 MB / 472.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/0.5704, allocations: 8 kB / 472.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006656/0.577, allocations: 2.713 MB / 474.8 MB, free: 4.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.577, allocations: 15.98 kB / 474.8 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.033e-05/0.5771, allocations: 19.98 kB / 474.8 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.5784, allocations: 418.3 kB / 475.3 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.5801, allocations: 399.3 kB / 475.6 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008724/0.5888, allocations: 5.585 MB / 481.2 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/0.5911, allocations: 127.8 kB / 481.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005327/0.5917, allocations: 71.98 kB / 481.4 MB, free: 13.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002415/0.5941, allocations: 0.7861 MB / 482.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008684/0.5949, allocations: 210.7 kB / 482.4 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005982/0.6009, allocations: 2.292 MB / 484.7 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.13e-05/0.601, allocations: 16 kB / 484.7 MB, free: 10 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.75e-05/0.601, allocations: 15.81 kB / 484.7 MB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/0.601, allocations: 8.062 kB / 484.8 MB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.6139, allocations: 5.159 MB / 489.9 MB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.614, allocations: 4 kB / 489.9 MB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.6151, allocations: 251.6 kB / 490.2 MB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.6165, allocations: 454.5 kB / 490.6 MB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/0.6167, allocations: 39.98 kB / 490.6 MB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.6269, allocations: 7.014 MB / 497.7 MB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.6269, allocations: 4 kB / 497.7 MB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007535/0.6345, allocations: 3.5 MB / 0.4894 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/0.6361, allocations: 386.6 kB / 0.4898 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006575/0.6368, allocations: 43.98 kB / 0.4898 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/0.6385, allocations: 95.88 kB / 0.4899 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003648/0.6388, allocations: 124.6 kB / 0.49 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.639, allocations: 43.98 kB / 0.4901 GB, free: 8.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003456/0.6424, allocations: 1.294 MB / 0.4913 GB, free: 7.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6424, allocations: 0 / 0.4913 GB, free: 7.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002996/0.6454, allocations: 0.5391 MB / 0.4919 GB, free: 6.488 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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%), (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.0007601/0.6462, allocations: 222.9 kB / 0.4921 GB, free: 6.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005134/0.6513, allocations: 2.254 MB / 0.4943 GB, free: 3.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.6513, allocations: 3.938 kB / 0.4943 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003045/0.6544, allocations: 1.46 MB / 0.4957 GB, free: 2.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/0.6577, allocations: 450 kB / 0.4961 GB, free: 2.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.671, allocations: 5.225 MB / 0.5012 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003733/0.6747, allocations: 2.01 MB / 0.5032 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002136/0.6768, allocations: 427.7 kB / 0.5036 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007874/0.6776, allocations: 135.4 kB / 0.5037 GB, free: 10.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.823e-06/0.6776, allocations: 3.938 kB / 0.5037 GB, free: 10.1 MB / 430.1 MB Notification: Performance of Templates: time 0.1082/0.7859, allocations: 29.86 MB / 0.5329 GB, free: 12.18 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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: 6.721334150992334]