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.001284/0.001284, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001419/0.001419, allocations: 164.7 kB / 25.6 MB, free: 8.895 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.043/1.043, allocations: 158.6 MB / 187.5 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",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.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.033e-05, allocations: 6.25 kB / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.0123/0.01233, allocations: 10.98 MB / 262.5 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008265/0.0206, allocations: 3.835 MB / 266.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.02326, allocations: 67.56 kB / 266.4 MB, free: 8.277 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002705/0.02596, allocations: 0.8233 MB / 267.2 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.02937, allocations: 1.028 MB / 268.2 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.03096, allocations: 0.538 MB / 268.8 MB, free: 5.875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004381/0.03534, allocations: 3.338 MB / 272.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.03755, allocations: 1.402 MB / 273.5 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004579/0.04212, allocations: 2.405 MB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/0.0447, allocations: 1.605 MB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009567/0.04566, allocations: 376 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.04702, allocations: 0.5893 MB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008603/0.04788, allocations: 1.079 MB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.04964, allocations: 1.173 MB / 280.7 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.05319, allocations: 2.764 MB / 283.5 MB, free: 7.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.05319, allocations: 0 / 283.5 MB, free: 7.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.0532, allocations: 0 / 283.5 MB, free: 7.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.637e-05/0.05327, allocations: 0 / 283.5 MB, free: 7.047 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.004395/0.05767, allocations: 3.502 MB / 287 MB, free: 3.484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.05772, allocations: 15.98 kB / 287 MB, free: 3.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.05881, allocations: 0.6198 MB / 287.6 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.06065, allocations: 1.477 MB / 289.1 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.06076, allocations: 193.3 kB / 289.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/0.06101, allocations: 256.3 kB / 289.5 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.06344, allocations: 1.872 MB / 291.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.141e-05/0.06349, allocations: 7.953 kB / 291.4 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.06364, allocations: 108 kB / 291.5 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.06374, allocations: 116.9 kB / 291.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.06483, allocations: 0.7322 MB / 292.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009765/0.07459, allocations: 8.265 MB / 300.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.07562, allocations: 0.6489 MB / 301.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006843/0.0763, allocations: 466 kB / 301.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.07652, allocations: 52.98 kB / 301.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.07657, allocations: 46.39 kB / 301.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 6.502e-06/0.07658, allocations: 4 kB / 301.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.005443/0.08202, allocations: 2.833 MB / 304.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.08206, allocations: 76.66 kB / 304.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.0834, allocations: 1.426 MB / 306.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.08346, allocations: 45.7 kB / 306.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007694/0.08423, allocations: 1.391 MB / 307.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.08457, allocations: 499.8 kB / 308.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003438/0.08491, allocations: 301 kB / 308.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.08506, allocations: 480.7 kB / 308.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.08535, allocations: 191.8 kB / 309.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007459/0.0861, allocations: 0.8996 MB / 310 MB, free: 11.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.08728, allocations: 1.248 MB / 311.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.08729, allocations: 8 kB / 311.2 MB, free: 10 MB / 298.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.001953/0.08924, allocations: 1.394 MB / 312.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.08927, allocations: 15.94 kB / 312.6 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.08929, allocations: 12 kB / 312.6 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.08989, allocations: 254.9 kB / 312.9 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.09059, allocations: 351.4 kB / 313.2 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/0.09398, allocations: 4.784 MB / 318 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.09507, allocations: 67.92 kB / 318.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.09518, allocations: 59.98 kB / 318.1 MB, free: 2.832 MB / 298.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.0007318/0.09591, allocations: 268.1 kB / 318.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003847/0.0963, allocations: 234.8 kB / 318.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.09778, allocations: 1.062 MB / 319.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.0978, allocations: 12 kB / 319.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.09781, allocations: 4 kB / 319.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.09782, allocations: 20 kB / 319.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.1022, allocations: 3.256 MB / 323 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.1022, allocations: 4 kB / 323 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/0.1027, allocations: 211.7 kB / 323.2 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006197/0.1033, allocations: 282.8 kB / 323.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/0.1034, allocations: 39.98 kB / 323.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003786/0.1072, allocations: 6.486 MB / 330 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.1072, allocations: 8 kB / 330 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.1097, allocations: 1.624 MB / 331.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007339/0.1104, allocations: 306.7 kB / 331.9 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.1106, allocations: 35.98 kB / 332 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005804/0.1112, allocations: 59.91 kB / 332 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.1114, allocations: 116.7 kB / 332.1 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.1115, allocations: 35.98 kB / 332.2 MB, free: 4.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001/0.1125, allocations: 0.7857 MB / 333 MB, free: 3.352 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1125, allocations: 4 kB / 333 MB, free: 3.348 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001645/0.1141, allocations: 0.5273 MB / 333.5 MB, free: 2.82 MB / 314.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003971/0.1145, allocations: 218.9 kB / 333.7 MB, free: 2.598 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.1164, allocations: 1.312 MB / 335 MB, free: 1.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.1164, allocations: 4 kB / 335 MB, free: 1.238 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.1175, allocations: 1.057 MB / 336.1 MB, free: 132 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.1188, allocations: 399.1 kB / 336.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006963/0.1258, allocations: 4.393 MB / 340.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.1264, allocations: 0.6493 MB / 341.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000833/0.1272, allocations: 238.4 kB / 341.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007402/0.128, allocations: 458 kB / 342.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of SimCode: time 2.184e-06/0.128, allocations: 0 / 342.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of Templates: time 0.168/0.296, allocations: 27.02 MB / 369.2 MB, free: 86.54 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9019506238400936]