Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.171e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01502/0.01505, allocations: 10.14 MB / 282.3 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009319/0.02437, allocations: 3.722 MB / 286.1 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/0.02684, allocations: 75.5 kB / 286.1 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003017/0.02986, allocations: 0.835 MB / 287 MB, free: 2.957 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.03406, allocations: 1.036 MB / 288 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.03566, allocations: 0.5148 MB / 288.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1465/0.1822, allocations: 3.338 MB / 291.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.1843, allocations: 1.419 MB / 293.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.1877, allocations: 2.154 MB / 295.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.1907, allocations: 1.564 MB / 297 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008696/0.1916, allocations: 386.2 kB / 297.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.1933, allocations: 0.6069 MB / 298 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.1946, allocations: 1.11 MB / 299.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.1965, allocations: 1.191 MB / 300.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006019/0.2025, allocations: 5.129 MB / 305.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2025, allocations: 0 / 305.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2025, allocations: 0 / 305.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.204e-05/0.2026, allocations: 1.125 kB / 305.4 MB, free: 11.89 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.009318/0.2119, allocations: 3.471 MB / 308.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.212, allocations: 12.55 kB / 308.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.2146, allocations: 0.6553 MB / 309.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.2189, allocations: 1.854 MB / 311.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.2191, allocations: 191.2 kB / 311.6 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003796/0.2195, allocations: 251 kB / 311.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004956/0.2245, allocations: 3.375 MB / 315.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.584e-05/0.2245, allocations: 11.89 kB / 315.2 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.2248, allocations: 104.3 kB / 315.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/0.2249, allocations: 116.9 kB / 315.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004278/0.2292, allocations: 2.699 MB / 318.1 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01867/0.2479, allocations: 9.087 MB / 327.2 MB, free: 8.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.2506, allocations: 1.247 MB / 328.5 MB, free: 7.281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.2527, allocations: 0.9802 MB / 329.5 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.2529, allocations: 52.97 kB / 329.5 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.253, allocations: 47.56 kB / 329.6 MB, free: 6.188 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 3.807e-06/0.253, allocations: 0 / 329.6 MB, free: 6.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.02052/0.2735, allocations: 7.11 MB / 336.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.2736, allocations: 72.66 kB / 336.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003117/0.2767, allocations: 1.72 MB / 338.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.2768, allocations: 45.7 kB / 338.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.2781, allocations: 1.288 MB / 339.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005277/0.2786, allocations: 489 kB / 340.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006454/0.2792, allocations: 292.1 kB / 340.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2794, allocations: 305.1 kB / 340.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.2811, allocations: 0.8159 MB / 341.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/0.2836, allocations: 1.307 MB / 343 MB, free: 8.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004026/0.2877, allocations: 2.257 MB / 345.2 MB, free: 6.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.2877, allocations: 8 kB / 345.2 MB, free: 6.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005815/0.2935, allocations: 2.784 MB / 348 MB, free: 3.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.2935, allocations: 12 kB / 348 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/0.2936, allocations: 16 kB / 348.1 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.2949, allocations: 466.3 kB / 348.5 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.2965, allocations: 399.8 kB / 348.9 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007938/0.3044, allocations: 5.502 MB / 354.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.3063, allocations: 127.8 kB / 354.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.3064, allocations: 79.98 kB / 354.6 MB, free: 12.71 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.00187/0.3083, allocations: 0.7904 MB / 355.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/0.309, allocations: 234.8 kB / 355.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005164/0.3141, allocations: 2.305 MB / 357.9 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/0.3142, allocations: 12 kB / 357.9 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.3142, allocations: 4 kB / 357.9 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.3142, allocations: 7.969 kB / 358 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009668/0.3239, allocations: 4.539 MB / 362.5 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.3239, allocations: 8 kB / 362.5 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.325, allocations: 246.3 kB / 362.7 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.3264, allocations: 495.8 kB / 363.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.3265, allocations: 39.98 kB / 363.3 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009606/0.3362, allocations: 6.926 MB / 370.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/0.3362, allocations: 7.938 kB / 370.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007242/0.3434, allocations: 3.517 MB / 373.7 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.3445, allocations: 358.7 kB / 374.1 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/0.3448, allocations: 35.98 kB / 374.1 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.346, allocations: 99.89 kB / 374.2 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/0.3463, allocations: 112 kB / 374.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.3464, allocations: 47.98 kB / 374.4 MB, free: 8.617 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002222/0.3487, allocations: 1.161 MB / 375.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3487, allocations: 0 / 375.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002079/0.3507, allocations: 0.5428 MB / 376.1 MB, free: 6.922 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.0004816/0.3512, allocations: 220.2 kB / 376.3 MB, free: 6.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004589/0.3558, allocations: 2.27 MB / 378.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.3558, allocations: 4 kB / 378.5 MB, free: 4.477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003004/0.3588, allocations: 1.447 MB / 380 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.361, allocations: 395 kB / 380.4 MB, free: 2.648 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009674/0.3707, allocations: 5.119 MB / 385.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/0.3728, allocations: 1.454 MB / 387 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001413/0.3742, allocations: 410.3 kB / 387.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.3747, allocations: 124.5 kB / 387.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3747, allocations: 0 / 387.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of Templates: time 0.05328/0.428, allocations: 26.39 MB / 413.9 MB, free: 1.426 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.836518345982768]