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.001779/0.001779, allocations: 105.1 kB / 21.18 MB, free: 0.7656 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.001979/0.001979, allocations: 213.7 kB / 24.49 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.454/1.454, allocations: 230.5 MB / 258.1 MB, free: 7.98 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.002115/0.002115, allocations: 55.91 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2719, allocations: 53.42 MB / 432.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01438/0.2863, allocations: 11.62 MB / 444.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007982/0.2943, allocations: 3.951 MB / 448 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.2963, allocations: 79.5 kB / 448.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.2988, allocations: 0.87 MB / 449 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.3023, allocations: 1.006 MB / 450 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.3038, allocations: 0.5226 MB / 450.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00459/0.3084, allocations: 3.23 MB / 453.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002474/0.3109, allocations: 1.473 MB / 455.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.3132, allocations: 1.483 MB / 456.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.3165, allocations: 1.86 MB / 458.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007431/0.3173, allocations: 388 kB / 458.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.3188, allocations: 0.6791 MB / 459.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.3199, allocations: 1.079 MB / 460.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002281/0.3222, allocations: 1.734 MB / 462.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006342/0.3285, allocations: 5.081 MB / 467.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3286, allocations: 0 / 467.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3286, allocations: 0 / 467.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.3287, allocations: 0 / 467.5 MB, free: 3.508 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.007919/0.3366, allocations: 3.503 MB / 471 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3366, allocations: 8.031 kB / 471 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.3384, allocations: 462.6 kB / 471.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.3422, allocations: 1.791 MB / 473.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.3424, allocations: 193.2 kB / 473.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004158/0.3428, allocations: 248 kB / 473.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005886/0.3487, allocations: 3.255 MB / 476.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.506e-05/0.3487, allocations: 8 kB / 476.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.349, allocations: 96 kB / 477 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.3491, allocations: 120.9 kB / 477.2 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004888/0.354, allocations: 2.697 MB / 479.9 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0176/0.3716, allocations: 10.11 MB / 490 MB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.3738, allocations: 1.251 MB / 491.2 MB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.3756, allocations: 0.9719 MB / 492.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.3758, allocations: 64.92 kB / 492.2 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.3759, allocations: 47.56 kB / 492.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 2.735e-06/0.3759, allocations: 0 / 492.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01748/0.3934, allocations: 7.081 MB / 499.4 MB, free: 3.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3934, allocations: 64.72 kB / 499.4 MB, free: 2.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.3963, allocations: 1.889 MB / 0.4896 GB, free: 1.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.3964, allocations: 49.7 kB / 0.4896 GB, free: 1.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.3974, allocations: 1.28 MB / 0.4909 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/0.3978, allocations: 491.9 kB / 0.4913 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004759/0.3983, allocations: 299.4 kB / 0.4916 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3984, allocations: 305.1 kB / 0.4919 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.3999, allocations: 0.812 MB / 0.4927 GB, free: 13.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.4018, allocations: 1.312 MB / 0.494 GB, free: 12.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/0.4051, allocations: 2.258 MB / 0.4962 GB, free: 9.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.036e-06/0.4051, allocations: 4 kB / 0.4962 GB, free: 9.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005009/0.4101, allocations: 2.724 MB / 0.4989 GB, free: 7.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.4102, allocations: 14.5 kB / 0.4989 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/0.4102, allocations: 16 kB / 0.4989 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.4113, allocations: 426.4 kB / 0.4993 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.4128, allocations: 403.3 kB / 0.4997 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006761/0.4195, allocations: 5.58 MB / 0.5051 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.4214, allocations: 131.9 kB / 0.5053 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/0.4216, allocations: 72.03 kB / 0.5053 GB, free: 264 kB / 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.00207/0.4237, allocations: 0.7862 MB / 0.5061 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008248/0.4245, allocations: 206.7 kB / 0.5063 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004946/0.4294, allocations: 2.316 MB / 0.5086 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/0.4295, allocations: 12 kB / 0.5086 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/0.4295, allocations: 11.94 kB / 0.5086 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.4295, allocations: 15.97 kB / 0.5086 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009897/0.4394, allocations: 5.142 MB / 0.5136 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.4394, allocations: 4 kB / 0.5136 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.4405, allocations: 256.1 kB / 0.5139 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.4417, allocations: 454.1 kB / 0.5143 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.4418, allocations: 43.95 kB / 0.5143 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007772/0.4496, allocations: 7.025 MB / 0.5212 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.4496, allocations: 11.88 kB / 0.5212 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006116/0.4557, allocations: 3.5 MB / 0.5246 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.457, allocations: 386.7 kB / 0.525 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005203/0.4575, allocations: 43.89 kB / 0.525 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.4589, allocations: 91.89 kB / 0.5251 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.4591, allocations: 116.7 kB / 0.5252 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.4592, allocations: 43.98 kB / 0.5253 GB, free: 11.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002443/0.4617, allocations: 1.303 MB / 0.5266 GB, free: 9.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4617, allocations: 4 kB / 0.5266 GB, free: 9.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002666/0.4644, allocations: 0.5468 MB / 0.5271 GB, free: 9.383 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.000705/0.4651, allocations: 214.5 kB / 0.5273 GB, free: 9.164 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004842/0.4699, allocations: 2.274 MB / 0.5295 GB, free: 6.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4699, allocations: 0 / 0.5295 GB, free: 6.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002651/0.4726, allocations: 1.444 MB / 0.5309 GB, free: 5.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.4753, allocations: 460.2 kB / 0.5314 GB, free: 4.945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2252/0.7005, allocations: 5.239 MB / 0.5365 GB, free: 99.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/0.7028, allocations: 1.994 MB / 0.5384 GB, free: 99.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007682/0.7036, allocations: 142.5 kB / 0.5386 GB, free: 99.12 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7036, allocations: 0 / 0.5386 GB, free: 99.12 MB / 446.1 MB Notification: Performance of Templates: time 0.06708/0.7706, allocations: 70.86 MB / 0.6078 GB, free: 38.38 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: 14.155349145876244]