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.001849/0.001849, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001475/0.001475, allocations: 166.4 kB / 25.02 MB, free: 8.945 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.448/1.448, allocations: 158.6 MB / 186.8 MB, free: 2.93 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 2.194e-06/2.194e-06, allocations: 3.938 kB / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.369e-05, allocations: 6.109 kB / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01657/0.0166, allocations: 10.04 MB / 260.4 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.02733, allocations: 3.711 MB / 264.1 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.03001, allocations: 71.5 kB / 264.2 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.03293, allocations: 0.8195 MB / 265 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004686/0.03762, allocations: 1.032 MB / 266.1 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.03964, allocations: 0.5225 MB / 266.6 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005612/0.04525, allocations: 3.342 MB / 269.9 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.04784, allocations: 1.398 MB / 271.3 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/0.05211, allocations: 2.14 MB / 273.5 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.05557, allocations: 1.559 MB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00078/0.05635, allocations: 388 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.05779, allocations: 0.6087 MB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001441/0.05923, allocations: 1.106 MB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.06142, allocations: 1.189 MB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007891/0.06931, allocations: 5.102 MB / 283.4 MB, free: 6.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.06932, allocations: 4 kB / 283.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.06932, allocations: 0 / 283.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001532/0.06948, allocations: 0 / 283.4 MB, free: 6.594 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.009371/0.07885, allocations: 3.456 MB / 286.9 MB, free: 3.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/0.07891, allocations: 11.98 kB / 286.9 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.08087, allocations: 0.6237 MB / 287.5 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004032/0.0849, allocations: 1.717 MB / 289.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.0851, allocations: 189.4 kB / 289.4 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004597/0.08556, allocations: 260.3 kB / 289.7 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006893/0.09246, allocations: 3.369 MB / 293 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.092e-05/0.09253, allocations: 4 kB / 293 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.09281, allocations: 107.9 kB / 293.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/0.09298, allocations: 124.9 kB / 293.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005954/0.09894, allocations: 2.686 MB / 295.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01994/0.1189, allocations: 9.081 MB / 305 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/0.1216, allocations: 1.25 MB / 306.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.1237, allocations: 0.9756 MB / 307.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.1239, allocations: 60.91 kB / 307.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/0.124, allocations: 47.56 kB / 307.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=115): time 3.897e-06/0.124, allocations: 0 / 307.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=134): time 0.02107/0.1451, allocations: 7.095 MB / 314.4 MB, free: 6.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.1451, allocations: 72.7 kB / 314.5 MB, free: 6.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00319/0.1483, allocations: 1.695 MB / 316.2 MB, free: 5.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.1485, allocations: 45.7 kB / 316.3 MB, free: 5.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.1501, allocations: 1.29 MB / 317.5 MB, free: 3.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006195/0.1507, allocations: 491.8 kB / 318 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005841/0.1513, allocations: 299.4 kB / 318.3 MB, free: 3.051 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1514, allocations: 301.1 kB / 318.6 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.1531, allocations: 0.8081 MB / 319.4 MB, free: 1.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.1553, allocations: 1.313 MB / 320.7 MB, free: 420 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/0.1595, allocations: 2.251 MB / 323 MB, free: 13.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/0.1595, allocations: 4 kB / 323 MB, free: 13.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006453/0.1659, allocations: 2.779 MB / 325.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.166, allocations: 15.94 kB / 325.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.795e-05/0.166, allocations: 16 kB / 325.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.1675, allocations: 466.4 kB / 326.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.1692, allocations: 399.3 kB / 326.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008366/0.1776, allocations: 5.492 MB / 332.1 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.1796, allocations: 131.8 kB / 332.3 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.1798, allocations: 68 kB / 332.3 MB, free: 4.371 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.001823/0.1816, allocations: 0.7978 MB / 333.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007247/0.1823, allocations: 230.8 kB / 333.4 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005138/0.1875, allocations: 2.287 MB / 335.6 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/0.1875, allocations: 12 kB / 335.7 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.1875, allocations: 4 kB / 335.7 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.1876, allocations: 7.969 kB / 335.7 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.1981, allocations: 4.552 MB / 340.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.1982, allocations: 8 kB / 340.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.1994, allocations: 251.7 kB / 340.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.201, allocations: 490.7 kB / 340.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.2011, allocations: 43.97 kB / 341 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009673/0.2108, allocations: 6.913 MB / 347.9 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.2108, allocations: 7.938 kB / 347.9 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007243/0.2181, allocations: 3.522 MB / 351.4 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/0.2196, allocations: 362.7 kB / 351.8 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000352/0.22, allocations: 35.98 kB / 351.8 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.2212, allocations: 103.8 kB / 351.9 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/0.2216, allocations: 120.6 kB / 352 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.2217, allocations: 47.98 kB / 352.1 MB, free: 52 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.1446/0.3662, allocations: 1.149 MB / 353.2 MB, free: 101.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3662, allocations: 1.094 kB / 353.2 MB, free: 101.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002603/0.3688, allocations: 0.5421 MB / 353.8 MB, free: 101.2 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.0004786/0.3693, allocations: 212.3 kB / 354 MB, free: 101.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003728/0.3731, allocations: 2.278 MB / 356.3 MB, free: 100.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.3731, allocations: 0 / 356.3 MB, free: 100.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002233/0.3753, allocations: 1.45 MB / 357.7 MB, free: 99.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.3775, allocations: 391.3 kB / 358.1 MB, free: 99.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007974/0.3855, allocations: 5.134 MB / 363.2 MB, free: 96.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.3868, allocations: 1.447 MB / 364.7 MB, free: 95.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001413/0.3882, allocations: 403.4 kB / 365.1 MB, free: 95.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.3886, allocations: 127.2 kB / 365.2 MB, free: 95.15 MB / 330.7 MB Notification: Performance of SimCode: time 2.013e-06/0.3886, allocations: 4 kB / 365.2 MB, free: 95.14 MB / 330.7 MB Notification: Performance of Templates: time 0.03903/0.4277, allocations: 26.34 MB / 391.5 MB, free: 69.28 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=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.069256943068467]