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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 117.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.567/1.567, allocations: 207.6 MB / 231.8 MB, free: 4.078 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 51.92 kB / 342.3 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1095, allocations: 49.13 MB / 391.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01558/0.1251, allocations: 11.48 MB / 402.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009895/0.135, allocations: 3.917 MB / 406.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003763/0.1388, allocations: 71.5 kB / 406.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003823/0.1426, allocations: 0.8697 MB / 407.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.1477, allocations: 0.9746 MB / 408.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.1499, allocations: 0.5149 MB / 409.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006169/0.1561, allocations: 3.23 MB / 412.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/0.1592, allocations: 1.828 MB / 414.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.1622, allocations: 1.46 MB / 415.8 MB, free: 192 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003821/0.166, allocations: 1.849 MB / 417.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.1671, allocations: 388 kB / 418 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.1689, allocations: 0.6479 MB / 418.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.1702, allocations: 1.075 MB / 419.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003304/0.1735, allocations: 1.727 MB / 421.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00941/0.1829, allocations: 5.064 MB / 426.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.183, allocations: 0 / 426.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.183, allocations: 0 / 426.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002602/0.1832, allocations: 0 / 426.5 MB, free: 5.41 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.0116/0.1948, allocations: 3.555 MB / 430.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.169e-05/0.1949, allocations: 12.03 kB / 430.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007831/0.1957, allocations: 358.9 kB / 430.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.1972, allocations: 426.7 kB / 430.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/0.2006, allocations: 1.746 MB / 432.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.2008, allocations: 193 kB / 432.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/0.2012, allocations: 255.9 kB / 433 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006616/0.2078, allocations: 3.239 MB / 436.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.698e-05/0.2079, allocations: 15.97 kB / 436.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.2082, allocations: 96 kB / 436.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.2083, allocations: 112.9 kB / 436.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006036/0.2144, allocations: 2.705 MB / 439.2 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0227/0.2371, allocations: 10.29 MB / 449.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.2399, allocations: 1.7 MB / 451.2 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.242, allocations: 0.979 MB / 452.2 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003618/0.2423, allocations: 207.2 kB / 452.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/0.2424, allocations: 51.5 kB / 452.4 MB, free: 10.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 5.73e-06/0.2424, allocations: 3.984 kB / 452.4 MB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.02017/0.2626, allocations: 7.436 MB / 459.9 MB, free: 3.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.2626, allocations: 68.72 kB / 459.9 MB, free: 3.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/0.2664, allocations: 1.873 MB / 461.8 MB, free: 1.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.2666, allocations: 49.7 kB / 461.8 MB, free: 1.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2011/0.4678, allocations: 1.272 MB / 463.1 MB, free: 62.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006784/0.4684, allocations: 489.6 kB / 463.6 MB, free: 62.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007223/0.4692, allocations: 304.1 kB / 463.9 MB, free: 62.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.271e-05/0.4692, allocations: 302.2 kB / 464.2 MB, free: 62.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.471, allocations: 0.8078 MB / 465 MB, free: 62.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.4728, allocations: 1.318 MB / 466.3 MB, free: 61.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003115/0.4759, allocations: 2.252 MB / 468.6 MB, free: 60.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.4759, allocations: 4.719 kB / 468.6 MB, free: 60.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00514/0.4811, allocations: 2.792 MB / 471.4 MB, free: 59.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.4811, allocations: 13.08 kB / 471.4 MB, free: 59.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/0.4811, allocations: 16.44 kB / 471.4 MB, free: 59.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.4822, allocations: 422.3 kB / 471.8 MB, free: 59.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.4838, allocations: 397.7 kB / 472.2 MB, free: 59.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005694/0.4895, allocations: 5.791 MB / 478 MB, free: 55.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.4915, allocations: 121.4 kB / 478.1 MB, free: 55.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/0.4917, allocations: 72.67 kB / 478.2 MB, free: 55.03 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.001943/0.4937, allocations: 0.793 MB / 479 MB, free: 54.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006725/0.4944, allocations: 207.9 kB / 479.2 MB, free: 54.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.4983, allocations: 2.375 MB / 481.5 MB, free: 53.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/0.4983, allocations: 17.92 kB / 481.6 MB, free: 53.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4983, allocations: 2.781 kB / 481.6 MB, free: 53.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.4984, allocations: 7.828 kB / 481.6 MB, free: 53.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008606/0.507, allocations: 5.263 MB / 486.8 MB, free: 50.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.507, allocations: 5.844 kB / 486.8 MB, free: 50.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.508, allocations: 248.3 kB / 487.1 MB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.5091, allocations: 465.9 kB / 487.5 MB, free: 50.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.654e-05/0.5092, allocations: 38.89 kB / 487.6 MB, free: 50.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005474/0.5146, allocations: 7.336 MB / 494.9 MB, free: 43.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5146, allocations: 7.938 kB / 494.9 MB, free: 43.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/0.5194, allocations: 3.58 MB / 498.5 MB, free: 40.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000861/0.5202, allocations: 455.7 kB / 498.9 MB, free: 39.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.5205, allocations: 39.89 kB / 499 MB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.5216, allocations: 103.9 kB / 499.1 MB, free: 39.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.5218, allocations: 112.7 kB / 499.2 MB, free: 39.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.5219, allocations: 50.23 kB / 499.2 MB, free: 39.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001549/0.5234, allocations: 1.294 MB / 0.4888 GB, free: 38.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5234, allocations: 0 / 0.4888 GB, free: 38.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001765/0.5252, allocations: 0.537 MB / 0.4893 GB, free: 37.67 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.00494/0.5301, allocations: 4.238 MB / 0.4935 GB, free: 33.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003744/0.5339, allocations: 2.337 MB / 0.4958 GB, free: 30.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5339, allocations: 0 / 0.4958 GB, free: 30.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.5359, allocations: 1.462 MB / 0.4972 GB, free: 29.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.538, allocations: 452.5 kB / 0.4976 GB, free: 29.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/0.5636, allocations: 20.48 MB / 0.5176 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.5649, allocations: 2.014 MB / 0.5196 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001155/0.5661, allocations: 431.6 kB / 0.52 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.5671, allocations: 0.9913 MB / 0.521 GB, free: 4.309 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5671, allocations: 0 / 0.521 GB, free: 4.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/0.6779, allocations: 49.22 MB / 0.569 GB, free: 2.961 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.74, allocations: 11.88 kB / 0.569 GB, free: 2.949 MB / 430.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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] "Error: Could not read variable constantSpeed.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.csv. Warning: Get data of variable constantSpeed.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.555065526001272]