Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.547/1.547, allocations: 230.4 MB / 251.1 MB, free: 8.434 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.83 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2764, allocations: 53.31 MB / 422.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.0141/0.2905, allocations: 11.57 MB / 433.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007449/0.2979, allocations: 3.943 MB / 437.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.2995, allocations: 59.75 kB / 437.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.3017, allocations: 0.877 MB / 438.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.3046, allocations: 0.9823 MB / 439.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.3058, allocations: 0.5226 MB / 440.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003937/0.3097, allocations: 3.226 MB / 443.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002454/0.3122, allocations: 1.86 MB / 445.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.3143, allocations: 1.444 MB / 446.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.3171, allocations: 1.86 MB / 448.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007283/0.3178, allocations: 384 kB / 449 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.319, allocations: 0.6284 MB / 449.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.3201, allocations: 1.079 MB / 450.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.3222, allocations: 1.734 MB / 452.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006014/0.3282, allocations: 5.06 MB / 457.5 MB, free: 4.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3282, allocations: 4 kB / 457.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3282, allocations: 3.938 kB / 457.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001065/0.3283, allocations: 0 / 457.5 MB, free: 4.434 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.008053/0.3364, allocations: 3.582 MB / 461.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3364, allocations: 12.03 kB / 461.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.3381, allocations: 458.7 kB / 461.5 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003461/0.3416, allocations: 1.871 MB / 463.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.3418, allocations: 197.1 kB / 463.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004636/0.3423, allocations: 255.9 kB / 463.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006107/0.3484, allocations: 3.251 MB / 467.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.913e-05/0.3484, allocations: 0 / 467.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/0.3487, allocations: 104 kB / 467.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.3488, allocations: 116.9 kB / 467.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005091/0.3539, allocations: 2.705 MB / 470 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.372, allocations: 10.27 MB / 480.3 MB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.3745, allocations: 1.704 MB / 482 MB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.3764, allocations: 0.9877 MB / 483 MB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.3767, allocations: 207.1 kB / 483.2 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.3767, allocations: 55.5 kB / 483.2 MB, free: 9.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 2.795e-06/0.3767, allocations: 0 / 483.2 MB, free: 9.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01793/0.3947, allocations: 7.441 MB / 490.7 MB, free: 2.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.3947, allocations: 64.72 kB / 490.7 MB, free: 2.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/0.3977, allocations: 1.889 MB / 492.6 MB, free: 460 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.3978, allocations: 49.7 kB / 492.7 MB, free: 404 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.3989, allocations: 1.272 MB / 494 MB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004543/0.3993, allocations: 495.8 kB / 494.4 MB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004878/0.3998, allocations: 303.4 kB / 494.7 MB, free: 14.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3999, allocations: 305.1 kB / 495 MB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.4014, allocations: 0.8198 MB / 495.9 MB, free: 13.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.4033, allocations: 1.312 MB / 497.2 MB, free: 11.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/0.4068, allocations: 2.258 MB / 499.4 MB, free: 9.195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.4068, allocations: 4 kB / 499.4 MB, free: 9.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005281/0.4121, allocations: 2.8 MB / 0.4905 GB, free: 6.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.4121, allocations: 12 kB / 0.4905 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/0.4122, allocations: 16 kB / 0.4905 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.4132, allocations: 418.2 kB / 0.4909 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.4147, allocations: 403.3 kB / 0.4913 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006979/0.4217, allocations: 5.795 MB / 0.4969 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.4237, allocations: 127.9 kB / 0.4971 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.4238, allocations: 72 kB / 0.4971 GB, free: 15.25 MB / 430.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.001645/0.4255, allocations: 0.79 MB / 0.4979 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005346/0.426, allocations: 206.7 kB / 0.4981 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004492/0.4305, allocations: 2.387 MB / 0.5004 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-05/0.4306, allocations: 19.94 kB / 0.5004 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.4306, allocations: 7.938 kB / 0.5004 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.4306, allocations: 11.97 kB / 0.5005 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00967/0.4403, allocations: 5.257 MB / 0.5056 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.4403, allocations: 4 kB / 0.5056 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.4415, allocations: 247.6 kB / 0.5058 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.4429, allocations: 450.6 kB / 0.5063 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.443, allocations: 39.98 kB / 0.5063 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008866/0.4519, allocations: 7.342 MB / 0.5135 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.639e-05/0.4519, allocations: 15.88 kB / 0.5135 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006974/0.4589, allocations: 3.576 MB / 0.517 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.46, allocations: 455.7 kB / 0.5174 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/0.4603, allocations: 35.98 kB / 0.5174 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.4614, allocations: 95.84 kB / 0.5175 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.4617, allocations: 120.7 kB / 0.5177 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.722e-05/0.4618, allocations: 48.02 kB / 0.5177 GB, free: 9.414 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002018/0.4638, allocations: 1.299 MB / 0.519 GB, free: 8.125 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4638, allocations: 0 / 0.519 GB, free: 8.125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001913/0.4657, allocations: 0.5469 MB / 0.5195 GB, free: 7.578 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.00047/0.4662, allocations: 226.7 kB / 0.5197 GB, free: 7.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004315/0.4705, allocations: 2.341 MB / 0.522 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4705, allocations: 0 / 0.522 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00265/0.4732, allocations: 1.46 MB / 0.5234 GB, free: 3.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.4754, allocations: 448.6 kB / 0.5239 GB, free: 3.031 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009116/0.4845, allocations: 5.205 MB / 0.5289 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/0.4865, allocations: 2.026 MB / 0.5309 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00165/0.4882, allocations: 431.7 kB / 0.5313 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007836/0.489, allocations: 131.4 kB / 0.5315 GB, free: 11.12 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.489, allocations: 0 / 0.5315 GB, free: 11.12 MB / 462.1 MB Notification: Performance of Templates: time 0.3034/0.7924, allocations: 29.1 MB / 0.5599 GB, free: 108.5 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches