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.001764/0.001764, allocations: 110.6 kB / 17.73 MB, free: 5.34 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.002064/0.002064, allocations: 194.9 kB / 18.67 MB, free: 4.406 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.422/1.422, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001733/0.001733, allocations: 55.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1066, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.2331/0.3398, allocations: 11.43 MB / 386.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008847/0.3487, allocations: 3.913 MB / 390 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/0.3519, allocations: 50.81 kB / 390 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.3549, allocations: 0.836 MB / 390.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.3589, allocations: 0.9436 MB / 391.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.3608, allocations: 0.5116 MB / 392.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005874/0.3667, allocations: 3.227 MB / 395.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003734/0.3704, allocations: 2.539 MB / 398.1 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.3732, allocations: 1.432 MB / 399.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003547/0.3768, allocations: 1.806 MB / 401.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009597/0.3778, allocations: 387.6 kB / 401.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.3799, allocations: 0.6214 MB / 402.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.3814, allocations: 1.069 MB / 403.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003625/0.385, allocations: 1.727 MB / 405.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008425/0.3935, allocations: 5.057 MB / 410.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3935, allocations: 0 / 410.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3935, allocations: 4 kB / 410.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000147/0.3937, allocations: 1.094 kB / 410.2 MB, free: 9.699 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.009588/0.4033, allocations: 3.557 MB / 413.8 MB, free: 7.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.4034, allocations: 12.41 kB / 413.8 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006205/0.404, allocations: 366.5 kB / 414.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.4056, allocations: 426.6 kB / 414.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.4091, allocations: 1.743 MB / 416.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.4093, allocations: 198.7 kB / 416.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/0.4098, allocations: 248.7 kB / 416.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00628/0.416, allocations: 3.247 MB / 420 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.02e-05/0.4161, allocations: 4 kB / 420 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/0.4164, allocations: 108 kB / 420.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.4165, allocations: 116.9 kB / 420.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004968/0.4215, allocations: 2.697 MB / 422.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01886/0.4404, allocations: 10.28 MB / 433.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.443, allocations: 1.786 MB / 435 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.445, allocations: 1.046 MB / 436 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.4453, allocations: 203.2 kB / 436.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.4454, allocations: 56.14 kB / 436.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 3.306e-06/0.4454, allocations: 0 / 436.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=134): time 0.01984/0.4652, allocations: 7.448 MB / 443.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.4654, allocations: 64.72 kB / 443.8 MB, free: 10 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/0.4686, allocations: 1.876 MB / 445.6 MB, free: 8.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.4687, allocations: 45.7 kB / 445.7 MB, free: 8.078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.4699, allocations: 1.279 MB / 447 MB, free: 6.785 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004801/0.4704, allocations: 491.8 kB / 447.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/0.471, allocations: 299.4 kB / 447.7 MB, free: 6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4711, allocations: 305.1 kB / 448 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.4726, allocations: 0.812 MB / 448.8 MB, free: 4.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.4747, allocations: 1.309 MB / 450.2 MB, free: 3.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/0.4783, allocations: 2.259 MB / 452.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.4783, allocations: 4 kB / 452.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005276/0.4836, allocations: 2.8 MB / 455.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.4836, allocations: 12 kB / 455.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.4836, allocations: 16.28 kB / 455.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.4847, allocations: 422.9 kB / 455.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.4862, allocations: 395.3 kB / 456 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006623/0.4928, allocations: 5.786 MB / 461.8 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.4947, allocations: 119.8 kB / 462 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.4949, allocations: 71.98 kB / 462 MB, free: 6.953 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.001538/0.4965, allocations: 0.8018 MB / 462.8 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004297/0.4969, allocations: 202.7 kB / 463 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/0.5013, allocations: 2.379 MB / 465.4 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.518e-05/0.5013, allocations: 19.98 kB / 465.4 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.5014, allocations: 7.938 kB / 465.4 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.5014, allocations: 3.984 kB / 465.4 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009604/0.511, allocations: 5.271 MB / 470.7 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.5111, allocations: 12.12 kB / 470.7 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.5121, allocations: 247.6 kB / 471 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.5135, allocations: 466.2 kB / 471.4 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.5136, allocations: 31.98 kB / 471.4 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008792/0.5224, allocations: 7.341 MB / 478.8 MB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.5224, allocations: 11.94 kB / 478.8 MB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00765/0.5301, allocations: 3.584 MB / 482.4 MB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/0.5319, allocations: 459.7 kB / 482.8 MB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007462/0.5327, allocations: 31.98 kB / 482.9 MB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.5344, allocations: 103.9 kB / 483 MB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003251/0.5347, allocations: 112.7 kB / 483.1 MB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.5349, allocations: 47.98 kB / 483.1 MB, free: 1.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002894/0.5378, allocations: 1.294 MB / 484.4 MB, free: 15.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5378, allocations: 0 / 484.4 MB, free: 15.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002616/0.5404, allocations: 0.539 MB / 485 MB, free: 15.25 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.00669/0.5471, allocations: 4.253 MB / 489.2 MB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004716/0.5519, allocations: 2.431 MB / 491.6 MB, free: 8.406 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.5519, allocations: 0 / 491.6 MB, free: 8.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002777/0.5547, allocations: 1.522 MB / 493.2 MB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/0.5577, allocations: 443.5 kB / 493.6 MB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/0.5951, allocations: 20.5 MB / 0.502 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/0.5972, allocations: 2.01 MB / 0.504 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001415/0.5986, allocations: 427.6 kB / 0.5044 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/0.6, allocations: 0.9916 MB / 0.5054 GB, free: 13.63 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.6, allocations: 0 / 0.5054 GB, free: 13.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3232/0.9232, allocations: 48.84 MB / 0.5531 GB, free: 152 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.51, allocations: 5.312 kB / 0.5531 GB, free: 152 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