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.001121/0.001121, allocations: 103.2 kB / 17.58 MB, free: 5.422 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.001227/0.001227, allocations: 187.9 kB / 18.5 MB, free: 4.516 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.365/1.365, allocations: 205.1 MB / 224.4 MB, free: 12.33 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.001198/0.001198, allocations: 56.14 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.08787, allocations: 46.62 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01195/0.09986, allocations: 11.41 MB / 338.8 MB, free: 8.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008622/0.1085, allocations: 3.925 MB / 342.7 MB, free: 4.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.1105, allocations: 55.75 kB / 342.8 MB, free: 4.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.1131, allocations: 0.8307 MB / 343.6 MB, free: 4.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003801/0.1169, allocations: 0.9355 MB / 344.5 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.1186, allocations: 0.5188 MB / 345.1 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004088/0.1227, allocations: 3.214 MB / 348.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.1261, allocations: 2.542 MB / 350.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.128, allocations: 1.417 MB / 352.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.1306, allocations: 1.814 MB / 354 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008517/0.1315, allocations: 388 kB / 354.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.133, allocations: 0.6245 MB / 355.1 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.1343, allocations: 1.071 MB / 356.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.1363, allocations: 1.723 MB / 357.8 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004272/0.1406, allocations: 4.977 MB / 362.8 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1406, allocations: 3.938 kB / 362.8 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1406, allocations: 0 / 362.8 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.259e-05/0.1406, allocations: 0 / 362.8 MB, free: 0.7344 MB / 302.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.00643/0.1471, allocations: 3.48 MB / 366.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.1471, allocations: 8.031 kB / 366.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004434/0.1476, allocations: 366.9 kB / 366.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.1489, allocations: 409 kB / 367.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/0.1515, allocations: 1.718 MB / 368.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.1517, allocations: 201.1 kB / 369 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/0.152, allocations: 248 kB / 369.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004766/0.1568, allocations: 3.243 MB / 372.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.889e-05/0.1569, allocations: 7.906 kB / 372.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.1571, allocations: 107.9 kB / 372.6 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.1572, allocations: 116.9 kB / 372.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004429/0.1617, allocations: 2.705 MB / 375.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1697/0.3314, allocations: 10.36 MB / 385.8 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.3338, allocations: 1.771 MB / 387.5 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.3357, allocations: 1.058 MB / 388.6 MB, free: 45.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.3359, allocations: 203.7 kB / 388.8 MB, free: 45.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.336, allocations: 52.62 kB / 388.8 MB, free: 45.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 4.959e-06/0.336, allocations: 2.156 kB / 388.8 MB, free: 45.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.01703/0.353, allocations: 7.418 MB / 396.3 MB, free: 41.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.3531, allocations: 66.25 kB / 396.3 MB, free: 41.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.3552, allocations: 1.862 MB / 398.2 MB, free: 40.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.187e-05/0.3553, allocations: 49.67 kB / 398.2 MB, free: 40.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/0.3559, allocations: 1.249 MB / 399.5 MB, free: 39.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.3561, allocations: 467.9 kB / 399.9 MB, free: 39.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.3565, allocations: 293.6 kB / 400.2 MB, free: 39.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.3565, allocations: 309.1 kB / 400.5 MB, free: 38.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3577, allocations: 0.8157 MB / 401.3 MB, free: 38.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.359, allocations: 1.309 MB / 402.7 MB, free: 37.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.3613, allocations: 2.258 MB / 404.9 MB, free: 35.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.3613, allocations: 3.688 kB / 404.9 MB, free: 35.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.003701/0.365, allocations: 2.784 MB / 407.7 MB, free: 33.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3651, allocations: 15.94 kB / 407.7 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.3651, allocations: 16 kB / 407.7 MB, free: 33.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008441/0.3659, allocations: 426.9 kB / 408.1 MB, free: 33.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.3672, allocations: 399.3 kB / 408.5 MB, free: 32.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/0.3716, allocations: 5.786 MB / 414.3 MB, free: 26.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.3731, allocations: 127.8 kB / 414.4 MB, free: 26.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.3732, allocations: 71.98 kB / 414.5 MB, free: 26.64 MB / 318.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.001114/0.3744, allocations: 0.7856 MB / 415.3 MB, free: 25.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/0.3747, allocations: 193.7 kB / 415.5 MB, free: 25.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.3781, allocations: 2.391 MB / 417.9 MB, free: 23.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/0.3781, allocations: 19.98 kB / 417.9 MB, free: 23.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3781, allocations: 4 kB / 417.9 MB, free: 23.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.3781, allocations: 11.92 kB / 417.9 MB, free: 23.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007118/0.3853, allocations: 5.282 MB / 423.2 MB, free: 17.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.3853, allocations: 4 kB / 423.2 MB, free: 17.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009767/0.3863, allocations: 251.6 kB / 423.4 MB, free: 17.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009759/0.3873, allocations: 465.2 kB / 423.9 MB, free: 17.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.132e-05/0.3873, allocations: 39.98 kB / 423.9 MB, free: 17.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005414/0.3928, allocations: 7.326 MB / 431.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3928, allocations: 4 kB / 431.3 MB, free: 9.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004584/0.3974, allocations: 3.579 MB / 434.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/0.3983, allocations: 450.6 kB / 435.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.3986, allocations: 39.92 kB / 435.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.3997, allocations: 100 kB / 435.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.3999, allocations: 116.7 kB / 435.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.4, allocations: 40.86 kB / 435.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001447/0.4014, allocations: 1.294 MB / 436.9 MB, free: 3.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4014, allocations: 4 kB / 436.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00168/0.4031, allocations: 0.5439 MB / 437.4 MB, free: 3.027 MB / 318.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.005162/0.4083, allocations: 4.251 MB / 441.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005383/0.4137, allocations: 2.979 MB / 444.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.4137, allocations: 4 kB / 444.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002513/0.4162, allocations: 1.503 MB / 446.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.4184, allocations: 459.3 kB / 446.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03285/0.4513, allocations: 22.75 MB / 469.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00213/0.4535, allocations: 2.014 MB / 471.4 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001574/0.4551, allocations: 427.6 kB / 471.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/0.4566, allocations: 0.9874 MB / 472.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4566, allocations: 0 / 472.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/0.5566, allocations: 47.84 MB / 0.5084 GB, free: 13.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.95, allocations: 12.39 kB / 0.5084 GB, free: 13.59 MB / 414.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