Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 120 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 194.9 kB / 21.4 MB, free: 1.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 207.6 MB / 231.8 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 55.92 kB / 342.3 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08596/0.08779, allocations: 49.12 MB / 391.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01393/0.1017, allocations: 11.49 MB / 402.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007469/0.1092, allocations: 3.924 MB / 406.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.111, allocations: 55.81 kB / 406.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002628/0.1136, allocations: 0.8658 MB / 407.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.1169, allocations: 0.9823 MB / 408.7 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.1186, allocations: 0.511 MB / 409.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004777/0.1234, allocations: 3.222 MB / 412.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.1268, allocations: 1.824 MB / 414.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.1294, allocations: 1.433 MB / 415.7 MB, free: 316 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.1333, allocations: 1.853 MB / 417.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.1348, allocations: 384 kB / 417.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.1368, allocations: 0.6478 MB / 418.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.1387, allocations: 1.075 MB / 419.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00343/0.1421, allocations: 1.723 MB / 421.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007244/0.1494, allocations: 5.06 MB / 426.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1494, allocations: 7.922 kB / 426.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1494, allocations: 3.938 kB / 426.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001604/0.1495, allocations: 0 / 426.4 MB, free: 5.527 MB / 350.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.008912/0.1584, allocations: 3.555 MB / 430 MB, free: 1.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1585, allocations: 8.031 kB / 430 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007959/0.1593, allocations: 362.9 kB / 430.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.1609, allocations: 426.7 kB / 430.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/0.1648, allocations: 1.747 MB / 432.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.165, allocations: 193 kB / 432.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000564/0.1656, allocations: 248 kB / 432.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007156/0.1727, allocations: 3.247 MB / 436.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.1729, allocations: 7.984 kB / 436.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005039/0.1734, allocations: 104 kB / 436.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.1735, allocations: 108.9 kB / 436.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006217/0.1797, allocations: 2.705 MB / 439.1 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02189/0.2016, allocations: 10.29 MB / 449.4 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.2043, allocations: 1.696 MB / 451.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.2062, allocations: 0.9828 MB / 452.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/0.2065, allocations: 211.1 kB / 452.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.2066, allocations: 47.56 kB / 452.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.296e-06/0.2066, allocations: 0 / 452.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01944/0.226, allocations: 7.444 MB / 459.8 MB, free: 3.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.2261, allocations: 64.72 kB / 459.8 MB, free: 3.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/0.2296, allocations: 1.876 MB / 461.7 MB, free: 1.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.2298, allocations: 45.7 kB / 461.8 MB, free: 1.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.2309, allocations: 1.279 MB / 463 MB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.168/0.3988, allocations: 482.8 kB / 463.5 MB, free: 62.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006303/0.3994, allocations: 295.8 kB / 463.8 MB, free: 62.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.3995, allocations: 302.8 kB / 464.1 MB, free: 62.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.4011, allocations: 0.8154 MB / 464.9 MB, free: 62.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.4028, allocations: 1.319 MB / 466.2 MB, free: 61.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/0.4056, allocations: 2.245 MB / 468.5 MB, free: 60.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.4056, allocations: 5.5 kB / 468.5 MB, free: 60.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004564/0.4102, allocations: 2.794 MB / 471.3 MB, free: 59.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.4102, allocations: 15.75 kB / 471.3 MB, free: 59.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/0.4102, allocations: 21.02 kB / 471.3 MB, free: 59.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009588/0.4112, allocations: 420 kB / 471.7 MB, free: 59.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.4126, allocations: 393.1 kB / 472.1 MB, free: 59.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/0.4179, allocations: 5.785 MB / 477.9 MB, free: 55.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.4195, allocations: 133.6 kB / 478 MB, free: 55.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.4197, allocations: 71.58 kB / 478.1 MB, free: 55.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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.001149/0.4208, allocations: 0.7906 MB / 478.9 MB, free: 54.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/0.4212, allocations: 201.6 kB / 479.1 MB, free: 54.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/0.4244, allocations: 2.374 MB / 481.4 MB, free: 53.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/0.4244, allocations: 18.62 kB / 481.5 MB, free: 53.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4244, allocations: 4.5 kB / 481.5 MB, free: 53.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4245, allocations: 7.406 kB / 481.5 MB, free: 53.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007387/0.4318, allocations: 5.269 MB / 486.7 MB, free: 51.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.4318, allocations: 7.469 kB / 486.8 MB, free: 51.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009299/0.4328, allocations: 248.7 kB / 487 MB, free: 51.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009677/0.4337, allocations: 469 kB / 487.5 MB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.782e-05/0.4338, allocations: 35.64 kB / 487.5 MB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00503/0.4389, allocations: 7.328 MB / 494.8 MB, free: 44.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4389, allocations: 8 kB / 494.8 MB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/0.4432, allocations: 3.581 MB / 498.4 MB, free: 40.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.4442, allocations: 465.8 kB / 498.9 MB, free: 39.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.4444, allocations: 35.98 kB / 498.9 MB, free: 39.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.4455, allocations: 103.9 kB / 499 MB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.4457, allocations: 108.7 kB / 499.1 MB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.739e-05/0.4458, allocations: 47.98 kB / 499.2 MB, free: 39.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001459/0.4472, allocations: 1.291 MB / 0.4887 GB, free: 38.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4472, allocations: 0 / 0.4887 GB, free: 38.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001642/0.4489, allocations: 0.5435 MB / 0.4892 GB, free: 37.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (116): * Single equations (assignments): 111 * 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.004544/0.4534, allocations: 4.241 MB / 0.4934 GB, free: 33.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00322/0.4566, allocations: 2.342 MB / 0.4957 GB, free: 31.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.4567, allocations: 4 kB / 0.4957 GB, free: 31.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001907/0.4586, allocations: 1.454 MB / 0.4971 GB, free: 29.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.4606, allocations: 451.4 kB / 0.4975 GB, free: 29.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/0.4857, allocations: 20.48 MB / 0.5175 GB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.4874, allocations: 2.012 MB / 0.5195 GB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001197/0.4886, allocations: 427.7 kB / 0.5199 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.4897, allocations: 0.9913 MB / 0.5209 GB, free: 4.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4897, allocations: 4 kB / 0.5209 GB, free: 4.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.161/0.6506, allocations: 49.22 MB / 0.5689 GB, free: 3.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.23, allocations: 13.77 kB / 0.569 GB, free: 3.156 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 22.12662072200328]