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.001927/0.001927, allocations: 99.53 kB / 21.73 MB, free: 2.688 MB / 18.57 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.002006/0.002006, allocations: 167.3 kB / 25.03 MB, free: 8.418 MB / 18.57 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.391/1.391, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.198e-05, allocations: 2.312 kB / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01888/0.01892, allocations: 11.2 MB / 261.6 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009524/0.02844, allocations: 3.855 MB / 265.4 MB, free: 8.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.03066, allocations: 71.5 kB / 265.5 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.03316, allocations: 0.8156 MB / 266.3 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.03729, allocations: 1.028 MB / 267.4 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.03889, allocations: 0.5225 MB / 267.9 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005383/0.04427, allocations: 3.342 MB / 271.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/0.04669, allocations: 1.406 MB / 272.6 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004098/0.05079, allocations: 2.156 MB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003696/0.05448, allocations: 1.684 MB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.05556, allocations: 388 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.05727, allocations: 0.6087 MB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.05868, allocations: 1.126 MB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.06099, allocations: 1.196 MB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007861/0.06885, allocations: 5.133 MB / 284.9 MB, free: 5.098 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.06885, allocations: 0 / 284.9 MB, free: 5.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.06886, allocations: 3.938 kB / 284.9 MB, free: 5.094 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000175/0.06903, allocations: 0 / 284.9 MB, free: 5.094 MB / 266.7 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.01416/0.08319, allocations: 3.893 MB / 288.8 MB, free: 1.141 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.693e-05/0.08326, allocations: 19.97 kB / 288.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/0.08613, allocations: 0.6237 MB / 289.4 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006191/0.09232, allocations: 1.612 MB / 291.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.09261, allocations: 185.4 kB / 291.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008411/0.09345, allocations: 256.3 kB / 291.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009362/0.1028, allocations: 3.12 MB / 294.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.1029, allocations: 7.953 kB / 294.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003976/0.1033, allocations: 100 kB / 294.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000245/0.1036, allocations: 116.9 kB / 294.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006864/0.1104, allocations: 2.022 MB / 296.8 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02983/0.1403, allocations: 12.1 MB / 308.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.1423, allocations: 0.8753 MB / 309.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.1439, allocations: 0.6739 MB / 310.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.1442, allocations: 56.97 kB / 310.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/0.1443, allocations: 46.39 kB / 310.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=115): time 3.817e-06/0.1443, allocations: 0 / 310.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=134): time 0.01368/0.1579, allocations: 4.314 MB / 314.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.158, allocations: 64.72 kB / 315 MB, free: 6.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/0.1617, allocations: 2.012 MB / 317 MB, free: 4.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.1618, allocations: 45.7 kB / 317 MB, free: 3.996 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.1636, allocations: 1.466 MB / 318.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000728/0.1643, allocations: 0.5194 MB / 319 MB, free: 1.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006879/0.165, allocations: 361.1 kB / 319.4 MB, free: 1.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000294/0.1653, allocations: 484.7 kB / 319.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.1664, allocations: 451.7 kB / 320.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.1684, allocations: 1.208 MB / 321.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003375/0.1718, allocations: 1.818 MB / 323.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/0.1718, allocations: 11.94 kB / 323.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005069/0.1769, allocations: 1.925 MB / 325.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.1769, allocations: 15.94 kB / 325.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/0.177, allocations: 16 kB / 325.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.1781, allocations: 286.5 kB / 325.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.1798, allocations: 391.4 kB / 325.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006693/0.1865, allocations: 5.165 MB / 331.1 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.1886, allocations: 115.8 kB / 331.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/0.1891, allocations: 75.98 kB / 331.3 MB, free: 4.828 MB / 314.7 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.001782/0.1909, allocations: 0.6445 MB / 331.9 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008009/0.1917, allocations: 234.8 kB / 332.2 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.1956, allocations: 1.464 MB / 333.6 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/0.1957, allocations: 16 kB / 333.6 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.1957, allocations: 4 kB / 333.6 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.1957, allocations: 11.91 kB / 333.7 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.2066, allocations: 4.331 MB / 338 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.2066, allocations: 7.938 kB / 338 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.2078, allocations: 248.2 kB / 338.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.2093, allocations: 329.9 kB / 338.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.2094, allocations: 35.98 kB / 338.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008214/0.2177, allocations: 6.908 MB / 345.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/0.2177, allocations: 15.94 kB / 345.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005623/0.2233, allocations: 2.295 MB / 347.8 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.2246, allocations: 346.6 kB / 348.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/0.2248, allocations: 28 kB / 348.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.226, allocations: 95.89 kB / 348.3 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/0.2264, allocations: 124.6 kB / 348.4 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.2265, allocations: 47.92 kB / 348.4 MB, free: 2.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002115/0.2286, allocations: 1.196 MB / 349.6 MB, free: 1.789 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2286, allocations: 0 / 349.6 MB, free: 1.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002127/0.2307, allocations: 0.5506 MB / 350.2 MB, free: 1.238 MB / 330.7 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.000525/0.2312, allocations: 210.8 kB / 350.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1461/0.3773, allocations: 1.818 MB / 352.2 MB, free: 97.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.3774, allocations: 1 kB / 352.2 MB, free: 97.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002762/0.3801, allocations: 1.311 MB / 353.5 MB, free: 96.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.3825, allocations: 402.1 kB / 353.9 MB, free: 96.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007764/0.3903, allocations: 4.667 MB / 358.6 MB, free: 94.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.3917, allocations: 1.357 MB / 359.9 MB, free: 94.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001397/0.3931, allocations: 334 kB / 360.3 MB, free: 94.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004396/0.3935, allocations: 123.8 kB / 360.4 MB, free: 94.29 MB / 330.7 MB Notification: Performance of SimCode: time 4.83e-06/0.3935, allocations: 0 / 360.4 MB, free: 94.29 MB / 330.7 MB Notification: Performance of Templates: time 0.04046/0.434, allocations: 26.36 MB / 386.8 MB, free: 70.77 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] 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.083623529993929]