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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 113.4 kB / 17.73 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 184.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB 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.001374/0.001374, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.0935, allocations: 46.62 MB / 374.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.2152/0.3088, allocations: 11.42 MB / 386.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00852/0.3173, allocations: 3.924 MB / 390 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.3202, allocations: 51.84 kB / 390 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.3233, allocations: 0.8563 MB / 390.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.3275, allocations: 0.9857 MB / 391.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.3293, allocations: 0.5145 MB / 392.4 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004732/0.334, allocations: 3.22 MB / 395.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.3371, allocations: 2.541 MB / 398.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.3396, allocations: 1.442 MB / 399.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.3421, allocations: 1.805 MB / 401.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006366/0.3428, allocations: 388.4 kB / 401.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.3441, allocations: 0.6252 MB / 402.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.3454, allocations: 1.07 MB / 403.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002174/0.3476, allocations: 1.717 MB / 405.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006031/0.3536, allocations: 5.061 MB / 410.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3537, allocations: 0 / 410.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.3537, allocations: 4 kB / 410.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001302/0.3538, allocations: 2.25 kB / 410.3 MB, free: 9.695 MB / 334.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.008832/0.3626, allocations: 3.555 MB / 413.8 MB, free: 7.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3627, allocations: 7.344 kB / 413.8 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000523/0.3632, allocations: 368.8 kB / 414.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.3646, allocations: 429.5 kB / 414.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003316/0.3679, allocations: 1.744 MB / 416.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.3681, allocations: 194.7 kB / 416.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.3685, allocations: 247.6 kB / 416.8 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00587/0.3744, allocations: 3.252 MB / 420 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.27e-05/0.3745, allocations: 0 / 420 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.3747, allocations: 107.9 kB / 420.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.3749, allocations: 120.9 kB / 420.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.3793, allocations: 2.693 MB / 423 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/0.3964, allocations: 10.28 MB / 433.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.3987, allocations: 1.782 MB / 435 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.4004, allocations: 1.05 MB / 436.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.4007, allocations: 211.2 kB / 436.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.4008, allocations: 51.5 kB / 436.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 3.466e-06/0.4008, allocations: 0 / 436.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=134): time 0.01784/0.4186, allocations: 7.452 MB / 443.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.4187, allocations: 64.72 kB / 443.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/0.4216, allocations: 1.876 MB / 445.7 MB, free: 8.082 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.4217, allocations: 45.7 kB / 445.8 MB, free: 8.031 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.4228, allocations: 1.276 MB / 447 MB, free: 6.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004268/0.4232, allocations: 491.8 kB / 447.5 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004578/0.4237, allocations: 295.4 kB / 447.8 MB, free: 5.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.4238, allocations: 301.1 kB / 448.1 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.4251, allocations: 0.8198 MB / 448.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.4267, allocations: 1.305 MB / 450.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003031/0.4298, allocations: 2.263 MB / 452.5 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.4298, allocations: 8 kB / 452.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004808/0.4346, allocations: 2.788 MB / 455.3 MB, free: 14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.4347, allocations: 12 kB / 455.3 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/0.4347, allocations: 20.22 kB / 455.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.4363, allocations: 430.9 kB / 455.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.4386, allocations: 395.3 kB / 456.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009175/0.4478, allocations: 5.786 MB / 461.9 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.4501, allocations: 119.8 kB / 462 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.4503, allocations: 72.14 kB / 462.1 MB, free: 6.906 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.00151/0.4518, allocations: 0.794 MB / 462.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000509/0.4523, allocations: 206.7 kB / 463.1 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/0.4568, allocations: 2.379 MB / 465.5 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-05/0.4569, allocations: 19.98 kB / 465.5 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.4569, allocations: 7.938 kB / 465.5 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.4569, allocations: 3.984 kB / 465.5 MB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.4673, allocations: 5.286 MB / 470.8 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.4673, allocations: 4 kB / 470.8 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.4684, allocations: 247.6 kB / 471 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.4695, allocations: 459.1 kB / 471.5 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/0.4696, allocations: 35.98 kB / 471.5 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006769/0.4764, allocations: 7.337 MB / 478.8 MB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.4764, allocations: 15.88 kB / 478.9 MB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005548/0.482, allocations: 3.576 MB / 482.4 MB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.4832, allocations: 455.8 kB / 482.9 MB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/0.4837, allocations: 43.97 kB / 482.9 MB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.4851, allocations: 95.89 kB / 483 MB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.4853, allocations: 116.7 kB / 483.1 MB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/0.4854, allocations: 47.98 kB / 483.2 MB, free: 1.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001918/0.4874, allocations: 1.302 MB / 484.5 MB, free: 15.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4874, allocations: 0 / 484.5 MB, free: 15.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002229/0.4896, allocations: 0.5429 MB / 485 MB, free: 15.2 MB / 414.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.005848/0.4955, allocations: 4.249 MB / 489.3 MB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004094/0.4996, allocations: 2.423 MB / 491.7 MB, free: 8.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.4996, allocations: 0 / 491.7 MB, free: 8.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.502, allocations: 1.523 MB / 493.2 MB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.5044, allocations: 458.1 kB / 493.7 MB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03031/0.5347, allocations: 20.5 MB / 0.5021 GB, free: 1.039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001676/0.5364, allocations: 2.014 MB / 0.5041 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001274/0.5377, allocations: 423.7 kB / 0.5045 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/0.539, allocations: 0.9874 MB / 0.5055 GB, free: 13.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.539, allocations: 0 / 0.5055 GB, free: 13.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2986/0.8375, allocations: 48.84 MB / 0.5531 GB, free: 151.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.21, allocations: 7.172 kB / 0.5532 GB, free: 151.9 MB / 478.1 MB (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) 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) Reference file matches