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.001277/0.001277, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001333/0.001333, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.2 MB / 254.5 MB, free: 15.28 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 71.88 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1105, allocations: 53.32 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.2472/0.3577, allocations: 11.56 MB / 438.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007886/0.3656, allocations: 3.935 MB / 442.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.3682, allocations: 61.38 kB / 442.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.3707, allocations: 0.8743 MB / 443.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004143/0.3749, allocations: 0.9918 MB / 444.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.3764, allocations: 0.513 MB / 444.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004827/0.3812, allocations: 3.224 MB / 447.8 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00283/0.3841, allocations: 1.857 MB / 449.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003022/0.3871, allocations: 1.448 MB / 451.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/0.391, allocations: 1.859 MB / 453 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008176/0.3918, allocations: 391.8 kB / 453.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.3936, allocations: 0.626 MB / 454 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.395, allocations: 1.079 MB / 455.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002953/0.3979, allocations: 1.722 MB / 456.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007723/0.4056, allocations: 5.073 MB / 461.9 MB, free: 8.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4057, allocations: 2.25 kB / 461.9 MB, free: 8.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4057, allocations: 0 / 461.9 MB, free: 8.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001491/0.4058, allocations: 0 / 461.9 MB, free: 8.801 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.009617/0.4154, allocations: 3.578 MB / 465.5 MB, free: 6.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4155, allocations: 13.75 kB / 465.5 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006359/0.4161, allocations: 365.9 kB / 465.8 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.418, allocations: 461 kB / 466.3 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0046/0.4226, allocations: 1.865 MB / 468.2 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.4228, allocations: 195.2 kB / 468.3 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004882/0.4233, allocations: 256.5 kB / 468.6 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00711/0.4304, allocations: 3.247 MB / 471.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.07e-05/0.4305, allocations: 2.625 kB / 471.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/0.4307, allocations: 104.5 kB / 471.9 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001763/0.4309, allocations: 117.2 kB / 472.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005241/0.4361, allocations: 2.709 MB / 474.8 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01945/0.4556, allocations: 10.29 MB / 485.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.458, allocations: 1.694 MB / 486.7 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.4598, allocations: 0.9839 MB / 487.7 MB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.4601, allocations: 203.1 kB / 487.9 MB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.4602, allocations: 47.56 kB / 488 MB, free: 3.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.456e-06/0.4602, allocations: 0 / 488 MB, free: 3.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01824/0.4784, allocations: 7.454 MB / 495.4 MB, free: 11.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.4785, allocations: 68.66 kB / 495.5 MB, free: 11.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/0.4816, allocations: 1.889 MB / 497.4 MB, free: 9.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.4817, allocations: 49.7 kB / 497.4 MB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001103/0.4828, allocations: 1.276 MB / 498.7 MB, free: 8.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004463/0.4833, allocations: 491.8 kB / 499.2 MB, free: 7.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005195/0.4838, allocations: 303.4 kB / 499.5 MB, free: 7.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4839, allocations: 301.1 kB / 499.8 MB, free: 7.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.4853, allocations: 0.8159 MB / 0.4889 GB, free: 6.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.4872, allocations: 1.312 MB / 0.4901 GB, free: 4.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/0.4906, allocations: 2.254 MB / 0.4923 GB, free: 2.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.4906, allocations: 4 kB / 0.4924 GB, free: 2.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005371/0.496, allocations: 2.807 MB / 0.4951 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.496, allocations: 12 kB / 0.4951 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/0.496, allocations: 16 kB / 0.4951 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.4971, allocations: 415 kB / 0.4955 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.4985, allocations: 403.3 kB / 0.4959 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007198/0.5057, allocations: 5.789 MB / 0.5016 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/0.508, allocations: 123.9 kB / 0.5017 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.5082, allocations: 75.92 kB / 0.5017 GB, free: 8.555 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.001736/0.5099, allocations: 0.7927 MB / 0.5025 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005126/0.5104, allocations: 210.7 kB / 0.5027 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/0.5148, allocations: 2.383 MB / 0.505 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.368e-05/0.5148, allocations: 16 kB / 0.5051 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.5148, allocations: 7.938 kB / 0.5051 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.5148, allocations: 3.984 kB / 0.5051 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.5249, allocations: 5.268 MB / 0.5102 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.5249, allocations: 4 kB / 0.5102 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.526, allocations: 252.2 kB / 0.5105 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.5272, allocations: 468.1 kB / 0.5109 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/0.5273, allocations: 37.11 kB / 0.5109 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008446/0.5357, allocations: 7.341 MB / 0.5181 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.5357, allocations: 11.94 kB / 0.5181 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006503/0.5422, allocations: 3.568 MB / 0.5216 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/0.5439, allocations: 455.7 kB / 0.522 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007717/0.5447, allocations: 35.98 kB / 0.5221 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.5461, allocations: 103.8 kB / 0.5222 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/0.5464, allocations: 112.7 kB / 0.5223 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.5466, allocations: 43.98 kB / 0.5223 GB, free: 2.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002329/0.5489, allocations: 1.299 MB / 0.5236 GB, free: 1.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5489, allocations: 0 / 0.5236 GB, free: 1.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002563/0.5514, allocations: 0.5508 MB / 0.5241 GB, free: 0.8945 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.00682/0.5583, allocations: 4.238 MB / 0.5283 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004635/0.5629, allocations: 2.349 MB / 0.5306 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.5629, allocations: 0.5 kB / 0.5306 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00276/0.5657, allocations: 1.447 MB / 0.532 GB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/0.5688, allocations: 452.1 kB / 0.5324 GB, free: 8.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03883/0.6076, allocations: 20.52 MB / 0.5524 GB, free: 2.922 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002892/0.6105, allocations: 2.022 MB / 0.5544 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001651/0.6121, allocations: 427.7 kB / 0.5548 GB, free: 456 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/0.6138, allocations: 0.9953 MB / 0.5558 GB, free: 15.45 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6138, allocations: 0 / 0.5558 GB, free: 15.45 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/0.7271, allocations: 49.34 MB / 0.604 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.78, allocations: 15.92 kB / 0.604 GB, free: 14.45 MB / 0.5137 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Generator.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 22.581562721170485]