Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",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.001559/0.001559, allocations: 109.2 kB / 16.92 MB, free: 5.762 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.001642/0.001642, allocations: 191.3 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.87/2.87, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 47.42 kB / 300.7 MB, free: 5.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1468, allocations: 49.44 MB / 350.2 MB, free: 4.223 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.4249/0.5718, allocations: 24.75 MB / 374.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02893/0.6009, allocations: 7.35 MB / 382.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01045/0.6114, allocations: 186.9 kB / 382.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03457/0.646, allocations: 8.783 MB / 391.3 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01835/0.6644, allocations: 2.913 MB / 394.2 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009699/0.6741, allocations: 1.711 MB / 395.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02885/0.703, allocations: 10.64 MB / 406.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06644/0.7695, allocations: 21.92 MB / 428.4 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01861/0.7883, allocations: 5.689 MB / 434.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02017/0.8085, allocations: 6.277 MB / 440.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009284/0.8179, allocations: 1.668 MB / 442.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01546/0.8335, allocations: 2.046 MB / 444.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01047/0.8441, allocations: 3.161 MB / 447.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02636/0.8705, allocations: 6.098 MB / 453.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05521/0.9258, allocations: 22.22 MB / 475.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.515e-05/0.9259, allocations: 0 / 475.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.19e-06/0.9259, allocations: 3.938 kB / 475.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008224/0.9268, allocations: 0 / 475.6 MB, free: 8.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.08667/1.013, allocations: 12.78 MB / 488.4 MB, free: 11.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001002/1.014, allocations: 8.031 kB / 488.4 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01261/1.026, allocations: 1.56 MB / 490 MB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06993/1.096, allocations: 6.142 MB / 496.1 MB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02936/1.126, allocations: 6.729 MB / 0.491 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001588/1.127, allocations: 0.7103 MB / 0.4917 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008046/1.135, allocations: 0.9178 MB / 0.4926 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08687/1.222, allocations: 15.75 MB / 0.508 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001179/1.224, allocations: 19.89 kB / 0.508 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01302/1.237, allocations: 388 kB / 0.5084 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005467/1.242, allocations: 0.547 MB / 0.5089 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8108/2.053, allocations: 14.76 MB / 0.5233 GB, free: 115.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1498/2.203, allocations: 51.63 MB / 0.5738 GB, free: 81.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0305/2.234, allocations: 26.47 MB / 0.5996 GB, free: 56.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007882/2.242, allocations: 3.217 MB / 0.6028 GB, free: 52.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005832/2.242, allocations: 171.3 kB / 0.6029 GB, free: 52.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/2.242, allocations: 77.69 kB / 0.603 GB, free: 52.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 8.696e-06/2.242, allocations: 0 / 0.603 GB, free: 52.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=404): time 0.0553/2.298, allocations: 17.29 MB / 0.6199 GB, free: 35.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/2.298, allocations: 94.58 kB / 0.62 GB, free: 35.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008108/2.306, allocations: 3.692 MB / 0.6236 GB, free: 31.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001163/2.307, allocations: 85.7 kB / 0.6237 GB, free: 31.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002973/2.31, allocations: 3.987 MB / 0.6276 GB, free: 27.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002223/2.312, allocations: 1.37 MB / 0.6289 GB, free: 26.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002509/2.315, allocations: 1.14 MB / 0.63 GB, free: 24.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/2.315, allocations: 305.1 kB / 0.6303 GB, free: 24.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005471/2.321, allocations: 2.791 MB / 0.633 GB, free: 21.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0069/2.327, allocations: 4.963 MB / 0.6379 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/2.342, allocations: 8.302 MB / 0.646 GB, free: 6.562 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/2.342, allocations: 23.98 kB / 0.646 GB, free: 6.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02589/2.368, allocations: 9.095 MB / 0.6549 GB, free: 13.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/2.368, allocations: 39.94 kB / 0.6549 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/2.368, allocations: 71.98 kB / 0.655 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005251/2.374, allocations: 1.239 MB / 0.6562 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008181/2.382, allocations: 1.318 MB / 0.6575 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02624/2.408, allocations: 9.931 MB / 0.6672 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00813/2.416, allocations: 331.5 kB / 0.6675 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002104/2.419, allocations: 288 kB / 0.6678 GB, free: 80 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01388/2.432, allocations: 3.709 MB / 0.6714 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002542/2.435, allocations: 403 kB / 0.6718 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02372/2.459, allocations: 6.697 MB / 0.6783 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01724/2.476, allocations: 5.595 MB / 0.6838 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.17e-05/2.476, allocations: 8 kB / 0.6838 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001468/2.476, allocations: 19.92 kB / 0.6838 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5322/3.009, allocations: 16.1 MB / 0.6995 GB, free: 150.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.96e-05/3.009, allocations: 5.703 kB / 0.6995 GB, free: 150.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005631/3.014, allocations: 0.719 MB / 0.7002 GB, free: 150.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00682/3.021, allocations: 1.125 MB / 0.7013 GB, free: 150.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001924/3.023, allocations: 90.58 kB / 0.7014 GB, free: 150.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02439/3.048, allocations: 8.852 MB / 0.7101 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-05/3.048, allocations: 12.03 kB / 0.7101 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02969/3.078, allocations: 9.849 MB / 0.7197 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005232/3.083, allocations: 0.952 MB / 0.7206 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002092/3.085, allocations: 82.91 kB / 0.7207 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004974/3.09, allocations: 209.4 kB / 0.7209 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/3.092, allocations: 279.6 kB / 0.7212 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004409/3.092, allocations: 125.9 kB / 0.7213 GB, free: 143.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006761/3.099, allocations: 2.491 MB / 0.7237 GB, free: 142.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/3.099, allocations: 0 / 0.7237 GB, free: 142.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01163/3.11, allocations: 1.606 MB / 0.7253 GB, free: 142.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02551/3.136, allocations: 10.59 MB / 0.7356 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.05321/3.189, allocations: 13.66 MB / 0.749 GB, free: 128.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/3.189, allocations: 0 / 0.749 GB, free: 128.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009717/3.199, allocations: 3.396 MB / 0.7523 GB, free: 126 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009729/3.209, allocations: 0.9644 MB / 0.7532 GB, free: 125.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1801/3.389, allocations: 62.63 MB / 0.8144 GB, free: 60.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0213/3.41, allocations: 6.194 MB / 0.8205 GB, free: 54.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01251/3.423, allocations: 1.916 MB / 0.8223 GB, free: 52.44 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01071/3.434, allocations: 3.299 MB / 0.8255 GB, free: 49.14 MB / 478.1 MB Notification: Performance of SimCode: time 1.272e-06/3.434, allocations: 3.938 kB / 0.8255 GB, free: 49.13 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7261/4.16, allocations: 128.7 MB / 0.9512 GB, free: 91.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.17/23.33, allocations: 10.69 kB / 0.9512 GB, free: 91.26 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches