Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.001892/0.001892, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002089/0.002089, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SynchronousMachines.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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.369e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.0276/0.02763, allocations: 11.3 MB / 283.6 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008046/0.03568, allocations: 3.858 MB / 287.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.03689, allocations: 79.5 kB / 287.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.03891, allocations: 0.8311 MB / 288.4 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.04157, allocations: 1.036 MB / 289.4 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.04272, allocations: 0.5264 MB / 290 MB, free: 136 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1082/0.1509, allocations: 3.327 MB / 293.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.1527, allocations: 1.427 MB / 294.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.1554, allocations: 2.171 MB / 296.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.1578, allocations: 1.686 MB / 298.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005739/0.1584, allocations: 388.4 kB / 298.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.1595, allocations: 0.6047 MB / 299.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008718/0.1604, allocations: 1.13 MB / 300.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.1616, allocations: 1.2 MB / 301.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003769/0.1654, allocations: 5.155 MB / 307 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1654, allocations: 0 / 307 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1654, allocations: 3.625 kB / 307 MB, free: 11.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.748e-05/0.1655, allocations: 0 / 307 MB, free: 11.07 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.005724/0.1712, allocations: 3.917 MB / 311 MB, free: 8.426 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1712, allocations: 10.09 kB / 311 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.1728, allocations: 0.6632 MB / 311.6 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.1755, allocations: 1.749 MB / 313.4 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/0.1756, allocations: 189.4 kB / 313.6 MB, free: 6.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.1759, allocations: 248.2 kB / 313.8 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/0.1798, allocations: 3.12 MB / 316.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.401e-05/0.1799, allocations: 15.73 kB / 316.9 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.18, allocations: 102.6 kB / 317 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.766e-05/0.1801, allocations: 116.9 kB / 317.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003077/0.1832, allocations: 2.022 MB / 319.2 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.2036, allocations: 12.09 MB / 331.3 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.2055, allocations: 0.8799 MB / 332.2 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.2071, allocations: 0.6705 MB / 332.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.2074, allocations: 56.97 kB / 332.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.2074, allocations: 46.39 kB / 332.9 MB, free: 2.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 3.607e-06/0.2074, allocations: 0 / 332.9 MB, free: 2.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.01188/0.2193, allocations: 4.32 MB / 337.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002845/0.2196, allocations: 68.66 kB / 337.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.2229, allocations: 2.025 MB / 339.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.223, allocations: 53.7 kB / 339.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001418/0.2244, allocations: 1.461 MB / 340.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005783/0.225, allocations: 0.5184 MB / 341.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000646/0.2256, allocations: 361.1 kB / 341.7 MB, free: 9.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002602/0.2259, allocations: 484.6 kB / 342.2 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.227, allocations: 451.7 kB / 342.6 MB, free: 8.926 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.2288, allocations: 1.199 MB / 343.8 MB, free: 7.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/0.2322, allocations: 1.802 MB / 345.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.2322, allocations: 4 kB / 345.6 MB, free: 5.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004513/0.2367, allocations: 1.939 MB / 347.6 MB, free: 3.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.2368, allocations: 12 kB / 347.6 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/0.2368, allocations: 16 kB / 347.6 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.2379, allocations: 279 kB / 347.9 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.2394, allocations: 394.8 kB / 348.3 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006719/0.2461, allocations: 5.163 MB / 353.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.2477, allocations: 118.7 kB / 353.5 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.2478, allocations: 75.98 kB / 353.6 MB, free: 13.33 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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.001349/0.2492, allocations: 0.6472 MB / 354.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000546/0.2497, allocations: 246.7 kB / 354.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/0.2534, allocations: 1.462 MB / 356 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/0.2534, allocations: 23.92 kB / 356 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.2535, allocations: 11.47 kB / 356 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.2535, allocations: 3.984 kB / 356 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00966/0.2631, allocations: 4.312 MB / 360.3 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.2631, allocations: 4 kB / 360.3 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.2642, allocations: 241.6 kB / 360.6 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/0.2655, allocations: 333.6 kB / 360.9 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.2657, allocations: 35.98 kB / 360.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008194/0.2738, allocations: 6.927 MB / 367.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.2739, allocations: 11.59 kB / 367.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005113/0.279, allocations: 2.277 MB / 370.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.2801, allocations: 346.6 kB / 370.5 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.2803, allocations: 32 kB / 370.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.2815, allocations: 91.89 kB / 370.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.2818, allocations: 120.2 kB / 370.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.2819, allocations: 39.98 kB / 370.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002108/0.284, allocations: 1.204 MB / 372 MB, free: 10.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.284, allocations: 0 / 372 MB, free: 10.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002116/0.2861, allocations: 0.5468 MB / 372.5 MB, free: 9.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (115): * Single equations (assignments): 110 * 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.0005015/0.2866, allocations: 222 kB / 372.7 MB, free: 9.766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004067/0.2907, allocations: 1.809 MB / 374.5 MB, free: 7.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.2907, allocations: 4 kB / 374.5 MB, free: 7.977 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002503/0.2932, allocations: 1.321 MB / 375.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.2952, allocations: 400.5 kB / 376.2 MB, free: 6.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009124/0.3043, allocations: 4.657 MB / 380.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.3063, allocations: 1.364 MB / 382.3 MB, free: 92 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001496/0.3078, allocations: 330.3 kB / 382.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.3082, allocations: 124.5 kB / 382.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3082, allocations: 0 / 382.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of Templates: time 0.05287/0.3611, allocations: 26.44 MB / 409.1 MB, free: 5.602 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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: 5.844929501996376]