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.001329/0.001329, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.001409/0.001409, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.541/1.541, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001937/0.001937, allocations: 63.89 kB / 373.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1163, allocations: 53.32 MB / 427.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.2167/0.3329, allocations: 11.57 MB / 438.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007344/0.3403, allocations: 3.939 MB / 442.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.3429, allocations: 61.81 kB / 442.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002791/0.3457, allocations: 0.8657 MB / 443.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.3493, allocations: 0.9896 MB / 444.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.3507, allocations: 0.5145 MB / 445.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004142/0.3548, allocations: 3.235 MB / 448.3 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002631/0.3575, allocations: 1.856 MB / 450.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.3601, allocations: 1.447 MB / 451.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002894/0.363, allocations: 1.856 MB / 453.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005823/0.3636, allocations: 387.1 kB / 453.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.365, allocations: 0.6236 MB / 454.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.3662, allocations: 1.082 MB / 455.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.3686, allocations: 1.727 MB / 457.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006787/0.3753, allocations: 5.077 MB / 462.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3753, allocations: 0 / 462.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3753, allocations: 0 / 462.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001361/0.3755, allocations: 2.375 kB / 462.4 MB, free: 8.688 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.009026/0.3845, allocations: 3.579 MB / 466 MB, free: 6.215 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3846, allocations: 8.906 kB / 466 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.3865, allocations: 464.3 kB / 466.4 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003937/0.3904, allocations: 1.869 MB / 468.3 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.3906, allocations: 191.3 kB / 468.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004191/0.391, allocations: 258 kB / 468.7 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006166/0.3971, allocations: 3.253 MB / 472 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.104e-05/0.3972, allocations: 2.875 kB / 472 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.3974, allocations: 103.5 kB / 472.1 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.3976, allocations: 114.9 kB / 472.2 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004945/0.4025, allocations: 2.703 MB / 474.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01892/0.4215, allocations: 10.28 MB / 485.2 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.424, allocations: 1.702 MB / 486.9 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.4259, allocations: 0.98 MB / 487.9 MB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003433/0.4262, allocations: 207.2 kB / 488.1 MB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.4263, allocations: 43.56 kB / 488.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.747e-06/0.4263, allocations: 0 / 488.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.02015/0.4464, allocations: 7.453 MB / 495.6 MB, free: 11.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.4465, allocations: 72.7 kB / 495.6 MB, free: 11.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/0.45, allocations: 1.885 MB / 497.5 MB, free: 9.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002378/0.4503, allocations: 45.7 kB / 497.6 MB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.4515, allocations: 1.285 MB / 498.8 MB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006219/0.4521, allocations: 487.8 kB / 499.3 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005795/0.4527, allocations: 299.5 kB / 499.6 MB, free: 7.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4529, allocations: 301.1 kB / 499.9 MB, free: 7.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.4545, allocations: 0.8198 MB / 0.489 GB, free: 6.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.4565, allocations: 1.308 MB / 0.4903 GB, free: 4.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003693/0.4602, allocations: 2.254 MB / 0.4925 GB, free: 2.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.4602, allocations: 4 kB / 0.4925 GB, free: 2.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.0054/0.4656, allocations: 2.796 MB / 0.4952 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.4656, allocations: 12 kB / 0.4952 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/0.4657, allocations: 16 kB / 0.4952 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.4668, allocations: 430.4 kB / 0.4956 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.4683, allocations: 399.3 kB / 0.496 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006724/0.4751, allocations: 5.801 MB / 0.5017 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.4774, allocations: 119.8 kB / 0.5018 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.4776, allocations: 75.98 kB / 0.5019 GB, free: 8.566 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.001696/0.4793, allocations: 0.794 MB / 0.5027 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005101/0.4798, allocations: 206.7 kB / 0.5028 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004528/0.4843, allocations: 2.383 MB / 0.5052 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/0.4843, allocations: 16 kB / 0.5052 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4843, allocations: 7.938 kB / 0.5052 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.4844, allocations: 7.969 kB / 0.5052 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009564/0.4939, allocations: 5.269 MB / 0.5104 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.4939, allocations: 7.938 kB / 0.5104 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.495, allocations: 248.1 kB / 0.5106 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/0.4962, allocations: 463.8 kB / 0.511 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.804e-05/0.4963, allocations: 35.98 kB / 0.5111 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007933/0.5043, allocations: 7.337 MB / 0.5182 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.587e-06/0.5043, allocations: 11.88 kB / 0.5182 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006242/0.5105, allocations: 3.568 MB / 0.5217 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.5119, allocations: 459.7 kB / 0.5222 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/0.5122, allocations: 35.98 kB / 0.5222 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.5134, allocations: 99.89 kB / 0.5223 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.5137, allocations: 112.7 kB / 0.5224 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.5138, allocations: 44.11 kB / 0.5225 GB, free: 2.746 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002179/0.516, allocations: 1.299 MB / 0.5237 GB, free: 1.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.516, allocations: 4 kB / 0.5237 GB, free: 1.453 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002149/0.5181, allocations: 0.5389 MB / 0.5242 GB, free: 0.9141 MB / 430.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.0005338/0.5186, allocations: 228.7 kB / 0.5245 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004785/0.5234, allocations: 2.342 MB / 0.5268 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.5234, allocations: 4 kB / 0.5268 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002769/0.5262, allocations: 1.444 MB / 0.5282 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/0.5292, allocations: 455 kB / 0.5286 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009827/0.539, allocations: 5.188 MB / 0.5337 GB, free: 7.105 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/0.541, allocations: 2.01 MB / 0.5356 GB, free: 5.062 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001461/0.5424, allocations: 435.7 kB / 0.536 GB, free: 4.633 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.5429, allocations: 131.4 kB / 0.5362 GB, free: 4.504 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5429, allocations: 0 / 0.5362 GB, free: 4.504 MB / 446.1 MB Notification: Performance of Templates: time 0.05705/0.5999, allocations: 28.93 MB / 0.5644 GB, free: 7.773 MB / 478.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.105228142812848]