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.001697/0.001697, allocations: 88.52 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002182/0.002182, allocations: 158.4 kB / 23.95 MB, free: 4.152 MB / 14.72 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.476/1.476, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 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.372e-06/1.372e-06, allocations: 0 / 325 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.732e-05, allocations: 2.281 kB / 325 MB, free: 360 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01439/0.01442, allocations: 10.13 MB / 335.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008571/0.02299, allocations: 3.726 MB / 338.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.02495, allocations: 78.06 kB / 339 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.02733, allocations: 0.8248 MB / 339.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.03072, allocations: 1.036 MB / 340.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.03211, allocations: 0.5246 MB / 341.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005003/0.03711, allocations: 3.352 MB / 344.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/0.03959, allocations: 1.426 MB / 346.1 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004036/0.04363, allocations: 2.152 MB / 348.3 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003835/0.04747, allocations: 1.562 MB / 349.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008123/0.04828, allocations: 388 kB / 350.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.04985, allocations: 0.6088 MB / 350.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.05121, allocations: 1.106 MB / 351.9 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.05364, allocations: 1.189 MB / 353.1 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00778/0.06142, allocations: 5.118 MB / 358.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.06142, allocations: 0 / 358.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.06143, allocations: 4 kB / 358.2 MB, free: 3.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001822/0.06161, allocations: 0 / 358.2 MB, free: 3.59 MB / 318.1 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.009465/0.07107, allocations: 3.472 MB / 361.7 MB, free: 68 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.07112, allocations: 15.92 kB / 361.7 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.07311, allocations: 469.3 kB / 362.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003837/0.07695, allocations: 1.779 MB / 364 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.07713, allocations: 189.4 kB / 364.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004294/0.07756, allocations: 252.2 kB / 364.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006562/0.08412, allocations: 3.39 MB / 367.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/0.08419, allocations: 0 / 367.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/0.08446, allocations: 108 kB / 367.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/0.08462, allocations: 116.9 kB / 368 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005218/0.08984, allocations: 2.705 MB / 370.7 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.1066, allocations: 8.913 MB / 379.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.1089, allocations: 1.251 MB / 380.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.1108, allocations: 0.9795 MB / 381.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.111, allocations: 48.95 kB / 381.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.1111, allocations: 47.56 kB / 381.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 3.707e-06/0.1111, allocations: 0 / 381.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=134): time 0.01904/0.1301, allocations: 7.052 MB / 389 MB, free: 4.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.1302, allocations: 68.72 kB / 389.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/0.1332, allocations: 1.716 MB / 390.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.1334, allocations: 49.7 kB / 390.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.1347, allocations: 1.282 MB / 392.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005611/0.1352, allocations: 491.8 kB / 392.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005275/0.1357, allocations: 295.4 kB / 392.9 MB, free: 328 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1359, allocations: 305.1 kB / 393.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.1375, allocations: 0.816 MB / 394 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/0.1396, allocations: 1.312 MB / 395.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.1432, allocations: 2.258 MB / 397.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.1432, allocations: 8 kB / 397.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005398/0.1486, allocations: 2.701 MB / 400.3 MB, free: 8.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.1486, allocations: 12 kB / 400.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.1486, allocations: 12 kB / 400.3 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.1497, allocations: 433.1 kB / 400.7 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.1513, allocations: 399.3 kB / 401.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006747/0.1581, allocations: 5.48 MB / 406.6 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.1596, allocations: 131.9 kB / 406.7 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.1598, allocations: 75.98 kB / 406.8 MB, free: 1.746 MB / 366.1 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.001424/0.1612, allocations: 0.7822 MB / 407.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003687/0.1615, allocations: 190.8 kB / 407.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004652/0.1662, allocations: 2.303 MB / 410.1 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/0.1662, allocations: 15.94 kB / 410.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1662, allocations: 7.938 kB / 410.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.1663, allocations: 7.969 kB / 410.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008857/0.1751, allocations: 4.539 MB / 414.6 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.1751, allocations: 7.984 kB / 414.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.1763, allocations: 243.6 kB / 414.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.1776, allocations: 458.3 kB / 415.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.1777, allocations: 35.98 kB / 415.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008084/0.1858, allocations: 6.897 MB / 422.3 MB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.1858, allocations: 7.938 kB / 422.3 MB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006573/0.1924, allocations: 3.475 MB / 425.7 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.1935, allocations: 358.7 kB / 426.1 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.1938, allocations: 32 kB / 426.1 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.195, allocations: 99.88 kB / 426.2 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/0.1953, allocations: 116.7 kB / 426.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.1954, allocations: 39.98 kB / 426.4 MB, free: 13.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001905/0.1973, allocations: 1.165 MB / 427.5 MB, free: 12.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1973, allocations: 0 / 427.5 MB, free: 12.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002002/0.1993, allocations: 0.5391 MB / 428.1 MB, free: 11.92 MB / 398.1 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.0005799/0.1999, allocations: 226.8 kB / 428.3 MB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00482/0.2047, allocations: 2.27 MB / 430.6 MB, free: 9.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.2047, allocations: 0 / 430.6 MB, free: 9.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/0.2075, allocations: 1.452 MB / 432 MB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.21, allocations: 388.7 kB / 432.4 MB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00907/0.219, allocations: 5.041 MB / 437.4 MB, free: 2.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/0.2208, allocations: 1.45 MB / 438.9 MB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00121/0.222, allocations: 406.2 kB / 439.3 MB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.2224, allocations: 124.5 kB / 439.4 MB, free: 388 kB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2224, allocations: 0 / 439.4 MB, free: 388 kB / 398.1 MB Notification: Performance of Templates: time 0.05152/0.274, allocations: 26.27 MB / 465.7 MB, free: 6.371 MB / 430.1 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: 6.017155919224024]