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.001406/0.001406, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001616/0.001616, allocations: 207.5 kB / 23.72 MB, free: 4.391 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.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 0.001949/0.001949, allocations: 63.91 kB / 378.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2234, allocations: 53.4 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01293/0.2363, allocations: 10.13 MB / 441.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006907/0.2432, allocations: 3.706 MB / 445.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.2445, allocations: 79.5 kB / 445.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.2465, allocations: 0.8194 MB / 446.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.2491, allocations: 0.994 MB / 447.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.2503, allocations: 0.5227 MB / 447.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003806/0.2541, allocations: 3.23 MB / 451.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.2563, allocations: 1.411 MB / 452.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.2587, allocations: 1.476 MB / 454 MB, free: 4 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002932/0.2616, allocations: 1.747 MB / 455.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005747/0.2622, allocations: 387.9 kB / 456.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.2635, allocations: 0.6049 MB / 456.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.2647, allocations: 1.094 MB / 457.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.2665, allocations: 1.392 MB / 459.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006193/0.2727, allocations: 5.094 MB / 464.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.2727, allocations: 4 kB / 464.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2727, allocations: 0 / 464.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001392/0.2728, allocations: 0 / 464.3 MB, free: 5.656 MB / 366.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.00786/0.2807, allocations: 3.507 MB / 467.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2807, allocations: 11.98 kB / 467.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.2823, allocations: 462.7 kB / 468.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003759/0.2861, allocations: 1.788 MB / 470.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.2863, allocations: 193.2 kB / 470.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004011/0.2867, allocations: 252 kB / 470.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005853/0.2925, allocations: 3.384 MB / 473.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.408e-05/0.2926, allocations: 4 kB / 473.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.2928, allocations: 100 kB / 474 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.293, allocations: 112.9 kB / 474.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005056/0.298, allocations: 2.697 MB / 476.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/0.314, allocations: 8.919 MB / 485.7 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.3163, allocations: 1.24 MB / 487 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.3181, allocations: 0.9718 MB / 487.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.3184, allocations: 64.8 kB / 488 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.3184, allocations: 51.55 kB / 488.1 MB, free: 13.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 4.458e-06/0.3184, allocations: 0 / 488.1 MB, free: 13.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01889/0.3373, allocations: 7.051 MB / 495.1 MB, free: 6.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.3374, allocations: 68.72 kB / 495.2 MB, free: 6.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/0.3401, allocations: 1.708 MB / 496.9 MB, free: 4.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.3402, allocations: 49.7 kB / 496.9 MB, free: 4.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.3413, allocations: 1.294 MB / 498.2 MB, free: 3.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/0.3417, allocations: 495.8 kB / 498.7 MB, free: 2.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005106/0.3422, allocations: 299.4 kB / 499 MB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3424, allocations: 305.1 kB / 499.3 MB, free: 2.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.3439, allocations: 0.8159 MB / 0.4884 GB, free: 1.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.3458, allocations: 1.312 MB / 0.4897 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.3494, allocations: 2.254 MB / 0.4919 GB, free: 13.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.3494, allocations: 4 kB / 0.4919 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005308/0.3547, allocations: 2.705 MB / 0.4945 GB, free: 10.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.3547, allocations: 19.88 kB / 0.4945 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.3547, allocations: 16 kB / 0.4946 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.3558, allocations: 418.5 kB / 0.495 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.3574, allocations: 399.3 kB / 0.4953 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007159/0.3646, allocations: 5.484 MB / 0.5007 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.3664, allocations: 123.8 kB / 0.5008 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.3665, allocations: 72.08 kB / 0.5009 GB, free: 3.789 MB / 414.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.001514/0.3681, allocations: 0.8095 MB / 0.5017 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004614/0.3685, allocations: 190.8 kB / 0.5019 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/0.3732, allocations: 2.287 MB / 0.5041 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/0.3732, allocations: 16 kB / 0.5041 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3733, allocations: 4 kB / 0.5041 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.3733, allocations: 7.969 kB / 0.5041 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009824/0.3831, allocations: 4.539 MB / 0.5085 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.3831, allocations: 4 kB / 0.5086 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.3843, allocations: 247.6 kB / 0.5088 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.3856, allocations: 465 kB / 0.5092 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.3858, allocations: 39.92 kB / 0.5093 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008458/0.3943, allocations: 6.902 MB / 0.516 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/0.3943, allocations: 15.97 kB / 0.516 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006465/0.4007, allocations: 3.471 MB / 0.5194 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.4021, allocations: 358.7 kB / 0.5198 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/0.4025, allocations: 43.92 kB / 0.5198 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.4037, allocations: 95.89 kB / 0.5199 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.404, allocations: 116.7 kB / 0.52 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.894e-05/0.4041, allocations: 39.98 kB / 0.52 GB, free: 15.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002007/0.4061, allocations: 1.161 MB / 0.5212 GB, free: 14.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4061, allocations: 0 / 0.5212 GB, free: 14.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001928/0.408, allocations: 0.5428 MB / 0.5217 GB, free: 13.93 MB / 446.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.0004766/0.4085, allocations: 222.8 kB / 0.5219 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004779/0.4133, allocations: 2.266 MB / 0.5241 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.4133, allocations: 4 kB / 0.5241 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002745/0.416, allocations: 1.451 MB / 0.5255 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.4182, allocations: 385.4 kB / 0.5259 GB, free: 9.555 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009559/0.4278, allocations: 5.182 MB / 0.531 GB, free: 4.273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.4296, allocations: 1.45 MB / 0.5324 GB, free: 2.785 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001415/0.431, allocations: 414.3 kB / 0.5328 GB, free: 2.375 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/0.4315, allocations: 127.4 kB / 0.5329 GB, free: 2.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4315, allocations: 0 / 0.5329 GB, free: 2.25 MB / 446.1 MB Notification: Performance of Templates: time 0.2288/0.6603, allocations: 29.55 MB / 0.5618 GB, free: 83.17 MB / 446.1 MB " [Timeout remaining time 659] 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.0975427106022835]