Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001886/0.001887, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002109/0.002109, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.81 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2764, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0166/0.2931, allocations: 13.44 MB / 422.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00958/0.3027, allocations: 4.501 MB / 426.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.3056, allocations: 79.69 kB / 426.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003644/0.3093, allocations: 0.9892 MB / 427.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004316/0.3137, allocations: 1.254 MB / 429 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.3159, allocations: 0.8874 MB / 429.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005128/0.321, allocations: 3.911 MB / 433.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004275/0.3253, allocations: 3.236 MB / 437.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.3284, allocations: 1.842 MB / 438.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003819/0.3322, allocations: 2.195 MB / 441.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.3333, allocations: 0.5 MB / 441.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.3351, allocations: 0.7146 MB / 442.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.3365, allocations: 1.106 MB / 443.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.3391, allocations: 2.077 MB / 445.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008235/0.3474, allocations: 6.646 MB / 452.2 MB, free: 5.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.818e-05/0.3474, allocations: 4 kB / 452.2 MB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3474, allocations: 0 / 452.2 MB, free: 5.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001933/0.3476, allocations: 4 kB / 452.2 MB, free: 5.938 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01211/0.3597, allocations: 4.425 MB / 456.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3598, allocations: 12.03 kB / 456.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006788/0.3605, allocations: 451.2 kB / 457 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00444/0.3649, allocations: 0.8222 MB / 457.9 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/0.3695, allocations: 2.416 MB / 460.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.3698, allocations: 238.2 kB / 460.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005519/0.3703, allocations: 308 kB / 460.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007915/0.3782, allocations: 4.223 MB / 465 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.5e-05/0.3783, allocations: 4 kB / 465 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/0.3786, allocations: 124 kB / 465.2 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.3788, allocations: 154.3 kB / 465.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006632/0.3855, allocations: 3.612 MB / 468.9 MB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02138/0.4069, allocations: 13.13 MB / 482.1 MB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007833/0.4147, allocations: 7.176 MB / 489.2 MB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003042/0.4178, allocations: 1.62 MB / 490.9 MB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007148/0.425, allocations: 4.206 MB / 495.1 MB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.425, allocations: 47.56 kB / 495.1 MB, free: 9.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.535e-06/0.425, allocations: 0 / 495.1 MB, free: 9.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01175/0.4368, allocations: 5.608 MB / 0.489 GB, free: 3.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.4369, allocations: 64.41 kB / 0.489 GB, free: 3.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/0.4397, allocations: 1.715 MB / 0.4907 GB, free: 1.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.4398, allocations: 49.7 kB / 0.4908 GB, free: 1.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.4411, allocations: 1.454 MB / 0.4922 GB, free: 212 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/0.4415, allocations: 452.3 kB / 0.4926 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/0.4419, allocations: 283.5 kB / 0.4929 GB, free: 15.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4421, allocations: 301.1 kB / 0.4932 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.4432, allocations: 0.6598 MB / 0.4938 GB, free: 14.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.4448, allocations: 1.125 MB / 0.4949 GB, free: 13.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.4476, allocations: 1.898 MB / 0.4968 GB, free: 11.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.4476, allocations: 8 kB / 0.4968 GB, free: 11.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004315/0.4519, allocations: 2.41 MB / 0.4991 GB, free: 8.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.452, allocations: 12 kB / 0.4991 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-05/0.452, allocations: 16 kB / 0.4992 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008844/0.4529, allocations: 314.9 kB / 0.4995 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.4543, allocations: 351.5 kB / 0.4998 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00739/0.4617, allocations: 6.639 MB / 0.5063 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.4632, allocations: 71.91 kB / 0.5063 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.4634, allocations: 68 kB / 0.5064 GB, free: 0.7578 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001993/0.4654, allocations: 0.9931 MB / 0.5074 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/0.4658, allocations: 194.8 kB / 0.5076 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.47, allocations: 2.209 MB / 0.5097 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.47, allocations: 12 kB / 0.5097 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.47, allocations: 8 kB / 0.5097 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.4701, allocations: 11.97 kB / 0.5097 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00826/0.4783, allocations: 4.948 MB / 0.5146 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4784, allocations: 3.938 kB / 0.5146 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/0.4791, allocations: 164 kB / 0.5147 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.4804, allocations: 0.4916 MB / 0.5152 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-05/0.4805, allocations: 35.98 kB / 0.5153 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/0.4929, allocations: 11.48 MB / 0.5265 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.493, allocations: 4.031 kB / 0.5265 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005614/0.4986, allocations: 3.113 MB / 0.5295 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009021/0.4995, allocations: 423.7 kB / 0.5299 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.4999, allocations: 28 kB / 0.5299 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5009, allocations: 71.88 kB / 0.53 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.5012, allocations: 88.88 kB / 0.5301 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.864e-05/0.5013, allocations: 36.36 kB / 0.5301 GB, free: 7.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002177/0.5035, allocations: 1.19 MB / 0.5313 GB, free: 6.246 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5035, allocations: 4 kB / 0.5313 GB, free: 6.242 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002205/0.5057, allocations: 0.5468 MB / 0.5318 GB, free: 5.695 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005776/0.5115, allocations: 3.724 MB / 0.5355 GB, free: 1.875 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2018/0.7133, allocations: 2.125 MB / 0.5375 GB, free: 126.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.7133, allocations: 1.594 kB / 0.5375 GB, free: 126.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002839/0.7162, allocations: 1.558 MB / 0.5391 GB, free: 125.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.7187, allocations: 0.5075 MB / 0.5396 GB, free: 125.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02443/0.7431, allocations: 19.3 MB / 0.5584 GB, free: 114.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.7448, allocations: 2.293 MB / 0.5606 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001424/0.7462, allocations: 379.9 kB / 0.561 GB, free: 111.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/0.7474, allocations: 1.111 MB / 0.5621 GB, free: 110.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7474, allocations: 0 / 0.5621 GB, free: 110.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09383/0.8412, allocations: 50.89 MB / 0.6118 GB, free: 60.28 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.8, allocations: 11.98 kB / 0.6118 GB, free: 60.27 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches