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.001736/0.001736, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002156/0.002156, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.461/1.461, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.001973/0.001973, allocations: 71.89 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2792, allocations: 53.41 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01444/0.2936, allocations: 10.11 MB / 442.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009345/0.303, allocations: 3.713 MB / 446.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/0.3057, allocations: 75.56 kB / 446.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.309, allocations: 0.8271 MB / 447.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005029/0.314, allocations: 0.9979 MB / 448.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.3165, allocations: 0.5187 MB / 448.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005702/0.3222, allocations: 3.238 MB / 451.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003383/0.3255, allocations: 1.415 MB / 453.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.3286, allocations: 1.48 MB / 454.8 MB, free: 0 / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003904/0.3325, allocations: 1.739 MB / 456.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.3336, allocations: 388 kB / 456.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.3355, allocations: 0.6088 MB / 457.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.3372, allocations: 1.079 MB / 458.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00302/0.3402, allocations: 1.396 MB / 460 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007485/0.3477, allocations: 5.102 MB / 465.1 MB, free: 5.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3477, allocations: 0 / 465.1 MB, free: 5.664 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3477, allocations: 0 / 465.1 MB, free: 5.664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.3479, allocations: 0 / 465.1 MB, free: 5.664 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.00873/0.3566, allocations: 3.495 MB / 468.6 MB, free: 2.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3566, allocations: 15.98 kB / 468.6 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.3585, allocations: 462.7 kB / 469.1 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004084/0.3625, allocations: 1.791 MB / 470.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.3627, allocations: 197.1 kB / 471 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004619/0.3632, allocations: 248 kB / 471.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006331/0.3695, allocations: 3.377 MB / 474.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.687e-05/0.3696, allocations: 4 kB / 474.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.3698, allocations: 108 kB / 474.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.37, allocations: 116.9 kB / 474.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005036/0.375, allocations: 2.697 MB / 477.6 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01735/0.3923, allocations: 8.922 MB / 486.5 MB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.3946, allocations: 1.229 MB / 487.7 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.3965, allocations: 0.9835 MB / 488.7 MB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.3967, allocations: 52.95 kB / 488.8 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.3968, allocations: 51.5 kB / 488.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.527e-06/0.3968, allocations: 0 / 488.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01828/0.415, allocations: 7.067 MB / 495.9 MB, free: 6.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.4151, allocations: 64.72 kB / 495.9 MB, free: 6.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/0.418, allocations: 1.712 MB / 497.7 MB, free: 4.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.4182, allocations: 45.7 kB / 497.7 MB, free: 4.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.4195, allocations: 1.29 MB / 499 MB, free: 3.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006139/0.4201, allocations: 491.8 kB / 499.5 MB, free: 2.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000562/0.4207, allocations: 311.4 kB / 499.8 MB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.4209, allocations: 305.1 kB / 0.4884 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.4226, allocations: 0.8081 MB / 0.4891 GB, free: 1.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.4247, allocations: 1.312 MB / 0.4904 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/0.4283, allocations: 2.25 MB / 0.4926 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.4283, allocations: 4 kB / 0.4926 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005292/0.4336, allocations: 2.705 MB / 0.4953 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.4336, allocations: 12 kB / 0.4953 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.428e-05/0.4337, allocations: 19.98 kB / 0.4953 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.4348, allocations: 418.5 kB / 0.4957 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.4364, allocations: 399.3 kB / 0.4961 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007204/0.4436, allocations: 5.494 MB / 0.5014 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.4456, allocations: 127.8 kB / 0.5016 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/0.4459, allocations: 68 kB / 0.5016 GB, free: 3.797 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.00159/0.4475, allocations: 0.8056 MB / 0.5024 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000531/0.448, allocations: 190.8 kB / 0.5026 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004867/0.4529, allocations: 2.283 MB / 0.5048 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.876e-05/0.4529, allocations: 24 kB / 0.5048 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.4529, allocations: 4 kB / 0.5049 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.4529, allocations: 7.969 kB / 0.5049 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009625/0.4626, allocations: 4.527 MB / 0.5093 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.4626, allocations: 4.562 kB / 0.5093 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.4637, allocations: 255.6 kB / 0.5095 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.465, allocations: 458 kB / 0.51 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.4651, allocations: 47.91 kB / 0.51 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008253/0.4733, allocations: 6.902 MB / 0.5168 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.4733, allocations: 7.938 kB / 0.5168 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006288/0.4796, allocations: 3.475 MB / 0.5202 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.4809, allocations: 366.7 kB / 0.5205 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.4811, allocations: 39.92 kB / 0.5205 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.4823, allocations: 91.89 kB / 0.5206 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/0.4825, allocations: 116.7 kB / 0.5207 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.991e-05/0.4826, allocations: 47.98 kB / 0.5208 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001904/0.4845, allocations: 1.161 MB / 0.5219 GB, free: 14.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4845, allocations: 0 / 0.5219 GB, free: 14.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001971/0.4865, allocations: 0.5428 MB / 0.5224 GB, free: 13.94 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.0005058/0.487, allocations: 222.2 kB / 0.5227 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004438/0.4915, allocations: 2.262 MB / 0.5249 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.4915, allocations: 4.375 kB / 0.5249 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002752/0.4942, allocations: 1.455 MB / 0.5263 GB, free: 9.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.4963, allocations: 378.6 kB / 0.5267 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009651/0.5059, allocations: 5.229 MB / 0.5318 GB, free: 4.234 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.5078, allocations: 1.427 MB / 0.5332 GB, free: 2.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000729/0.5085, allocations: 139.4 kB / 0.5333 GB, free: 2.633 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5085, allocations: 0 / 0.5333 GB, free: 2.633 MB / 446.1 MB Notification: Performance of Templates: time 0.2886/0.7971, allocations: 70.48 MB / 0.6021 GB, free: 41.93 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/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: 13.29238752881065]