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.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.001786/0.001786, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.002254/0.002254, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.423/1.423, allocations: 207.6 MB / 236 MB, free: 10.87 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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 51.92 kB / 348.5 MB, free: 9.625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2509, allocations: 49.17 MB / 397.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01039/0.2612, allocations: 11.51 MB / 409.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008511/0.2698, allocations: 3.945 MB / 413.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.272, allocations: 72.09 kB / 413.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.2745, allocations: 0.8641 MB / 414 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.2783, allocations: 0.9996 MB / 415 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.2799, allocations: 0.5239 MB / 415.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004708/0.2846, allocations: 3.225 MB / 418.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.2873, allocations: 1.448 MB / 420.2 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.2899, allocations: 1.471 MB / 421.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003501/0.2934, allocations: 1.853 MB / 423.5 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007547/0.2941, allocations: 388.2 kB / 423.9 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.2959, allocations: 0.6987 MB / 424.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.2972, allocations: 1.091 MB / 425.7 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.2997, allocations: 1.723 MB / 427.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006044/0.3058, allocations: 5.065 MB / 432.5 MB, free: 380 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3058, allocations: 0 / 432.5 MB, free: 380 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3058, allocations: 0 / 432.5 MB, free: 380 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.876e-05/0.3059, allocations: 0 / 432.5 MB, free: 380 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.007527/0.3134, allocations: 3.479 MB / 436 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3134, allocations: 11.98 kB / 436 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.3148, allocations: 430.7 kB / 436.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/0.3181, allocations: 1.667 MB / 438.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.3183, allocations: 201.1 kB / 438.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003952/0.3187, allocations: 248 kB / 438.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005714/0.3244, allocations: 3.243 MB / 441.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.387e-05/0.3244, allocations: 4 kB / 441.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.3247, allocations: 104 kB / 441.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.3248, allocations: 116.9 kB / 442 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004896/0.3297, allocations: 2.697 MB / 444.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01748/0.3472, allocations: 10.11 MB / 454.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.3494, allocations: 1.265 MB / 456 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.3512, allocations: 0.9758 MB / 457 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/0.3515, allocations: 60.94 kB / 457.1 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.3515, allocations: 43.56 kB / 457.1 MB, free: 7.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 3.287e-06/0.3515, allocations: 0 / 457.1 MB, free: 7.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01754/0.3691, allocations: 7.06 MB / 464.2 MB, free: 120 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.3691, allocations: 64.72 kB / 464.2 MB, free: 44 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.372, allocations: 1.88 MB / 466.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.3721, allocations: 49.7 kB / 466.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.3731, allocations: 1.279 MB / 467.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/0.3736, allocations: 483.9 kB / 467.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004839/0.374, allocations: 299.4 kB / 468.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3742, allocations: 305.1 kB / 468.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.3756, allocations: 0.8081 MB / 469.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.3774, allocations: 1.317 MB / 470.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003321/0.3807, allocations: 2.243 MB / 472.9 MB, free: 6.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.3808, allocations: 7.938 kB / 472.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005108/0.3859, allocations: 2.72 MB / 475.6 MB, free: 4.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.3859, allocations: 12 kB / 475.6 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.3859, allocations: 16 kB / 475.6 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.387, allocations: 430.3 kB / 476.1 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.3885, allocations: 399.3 kB / 476.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006556/0.3951, allocations: 5.585 MB / 482 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.3969, allocations: 123.9 kB / 482.2 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.397, allocations: 68 kB / 482.2 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.001442/0.3985, allocations: 0.7939 MB / 483 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/0.399, allocations: 210.7 kB / 483.2 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/0.4033, allocations: 2.288 MB / 485.5 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/0.4033, allocations: 19.98 kB / 485.5 MB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4033, allocations: 7.938 kB / 485.5 MB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.4034, allocations: 4.078 kB / 485.5 MB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009535/0.4129, allocations: 5.155 MB / 490.7 MB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.4129, allocations: 8 kB / 490.7 MB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.414, allocations: 255.5 kB / 490.9 MB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.4153, allocations: 462.5 kB / 491.4 MB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.4154, allocations: 31.98 kB / 491.4 MB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007777/0.4231, allocations: 7.021 MB / 498.5 MB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.4231, allocations: 11.92 kB / 498.5 MB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006055/0.4292, allocations: 3.493 MB / 0.4902 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.4304, allocations: 394.5 kB / 0.4906 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.4307, allocations: 39.98 kB / 0.4906 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.4318, allocations: 99.88 kB / 0.4907 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.4321, allocations: 120.6 kB / 0.4908 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.4322, allocations: 43.98 kB / 0.4909 GB, free: 8.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001959/0.4342, allocations: 1.287 MB / 0.4921 GB, free: 7.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4342, allocations: 0 / 0.4921 GB, free: 7.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001871/0.436, allocations: 0.5547 MB / 0.4927 GB, free: 6.473 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.0004581/0.4365, allocations: 214.9 kB / 0.4929 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00426/0.4407, allocations: 2.262 MB / 0.4951 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.4407, allocations: 0 / 0.4951 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002541/0.4433, allocations: 1.46 MB / 0.4965 GB, free: 2.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.4455, allocations: 445.9 kB / 0.4969 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009065/0.4545, allocations: 5.267 MB / 0.5021 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.4564, allocations: 1.987 MB / 0.504 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007198/0.4571, allocations: 143.4 kB / 0.5041 GB, free: 10.49 MB / 430.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4571, allocations: 3.938 kB / 0.5041 GB, free: 10.48 MB / 430.1 MB Notification: Performance of Templates: time 0.2453/0.7024, allocations: 70.54 MB / 0.573 GB, free: 147.9 MB / 478.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/jenkins1/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/jenkins1/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: 13.732022126903757]