Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 103.9 kB / 17.06 MB, free: 6.016 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.001302/0.001302, allocations: 195 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 43.94 kB / 350.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2997, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01599/0.3158, allocations: 12.8 MB / 413.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0096/0.3254, allocations: 4.255 MB / 417.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/0.3281, allocations: 79.69 kB / 417.4 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003561/0.3317, allocations: 0.9629 MB / 418.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004655/0.3365, allocations: 1.288 MB / 419.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.339, allocations: 0.8339 MB / 420.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005631/0.3447, allocations: 3.884 MB / 424.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005092/0.3498, allocations: 3.213 MB / 427.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003247/0.3531, allocations: 1.854 MB / 429.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/0.3567, allocations: 2.059 MB / 431.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.3579, allocations: 0.5 MB / 432 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.3601, allocations: 0.7028 MB / 432.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.3619, allocations: 1.11 MB / 433.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003667/0.3656, allocations: 2.073 MB / 435.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008091/0.3737, allocations: 6.594 MB / 442.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3738, allocations: 0 / 442.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3738, allocations: 0 / 442.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001978/0.374, allocations: 0 / 442.5 MB, free: 14.36 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.01349/0.3875, allocations: 4.304 MB / 446.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3875, allocations: 11.89 kB / 446.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00125/0.3888, allocations: 455.2 kB / 447.2 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/0.3937, allocations: 0.8085 MB / 448 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006005/0.3997, allocations: 2.376 MB / 450.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.3999, allocations: 238.2 kB / 450.6 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008967/0.4009, allocations: 315.9 kB / 450.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009414/0.4103, allocations: 4.227 MB / 455.2 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.4104, allocations: 0 / 455.2 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006778/0.4111, allocations: 132 kB / 455.3 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.4113, allocations: 146.3 kB / 455.4 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007496/0.4188, allocations: 3.609 MB / 459 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02341/0.4422, allocations: 13.01 MB / 472.1 MB, free: 220 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006984/0.4493, allocations: 6.9 MB / 479 MB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/0.4516, allocations: 1.348 MB / 480.3 MB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006939/0.4586, allocations: 3.723 MB / 484 MB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.4587, allocations: 43.56 kB / 484.1 MB, free: 3.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 2.835e-06/0.4587, allocations: 0 / 484.1 MB, free: 3.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01082/0.4695, allocations: 5.388 MB / 489.5 MB, free: 13.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.4696, allocations: 64.41 kB / 489.5 MB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002956/0.4726, allocations: 1.701 MB / 491.2 MB, free: 11.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.4727, allocations: 49.69 kB / 491.3 MB, free: 11.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009613/0.4737, allocations: 1.395 MB / 492.7 MB, free: 10.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.4741, allocations: 429.8 kB / 493.1 MB, free: 9.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004986/0.4746, allocations: 287.3 kB / 493.4 MB, free: 9.648 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.4747, allocations: 313 kB / 493.7 MB, free: 9.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.4758, allocations: 0.6403 MB / 494.3 MB, free: 8.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.4774, allocations: 1.109 MB / 495.4 MB, free: 7.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.4804, allocations: 1.878 MB / 497.3 MB, free: 5.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/0.4805, allocations: 4 kB / 497.3 MB, free: 5.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004509/0.485, allocations: 2.327 MB / 499.6 MB, free: 2.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.485, allocations: 12 kB / 499.6 MB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/0.4851, allocations: 15.94 kB / 499.7 MB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007979/0.4859, allocations: 266.8 kB / 499.9 MB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.4872, allocations: 359.4 kB / 0.4885 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006094/0.4933, allocations: 6.186 MB / 0.4946 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.4949, allocations: 84.14 kB / 0.4947 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.4952, allocations: 71.98 kB / 0.4947 GB, free: 11.53 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 (180): * Single equations (assignments): 176 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002178/0.4973, allocations: 0.9955 MB / 0.4957 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000537/0.4979, allocations: 181.8 kB / 0.4959 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/0.502, allocations: 2.131 MB / 0.498 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.502, allocations: 12 kB / 0.498 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/0.502, allocations: 12 kB / 0.498 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.502, allocations: 3.984 kB / 0.498 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008759/0.5108, allocations: 4.822 MB / 0.5027 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.5108, allocations: 0 / 0.5027 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.5116, allocations: 171.8 kB / 0.5029 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.5128, allocations: 455.8 kB / 0.5033 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.513, allocations: 39.92 kB / 0.5033 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.5233, allocations: 11.04 MB / 0.5141 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5233, allocations: 3.938 kB / 0.5141 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/0.5282, allocations: 3.006 MB / 0.5171 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009726/0.5292, allocations: 406.7 kB / 0.5174 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003935/0.5296, allocations: 35.98 kB / 0.5175 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.5306, allocations: 63.95 kB / 0.5175 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.5309, allocations: 104.7 kB / 0.5176 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.531, allocations: 35.98 kB / 0.5177 GB, free: 3.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002297/0.5333, allocations: 1.174 MB / 0.5188 GB, free: 1.855 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5333, allocations: 0 / 0.5188 GB, free: 1.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002361/0.5357, allocations: 0.5391 MB / 0.5193 GB, free: 1.316 MB / 446.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 (86): * Single equations (assignments): 81 * 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,5,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.005688/0.5414, allocations: 3.609 MB / 0.5229 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003418/0.5448, allocations: 2.08 MB / 0.5249 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5449, allocations: 0 / 0.5249 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002298/0.5472, allocations: 1.534 MB / 0.5264 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.5496, allocations: 0.5007 MB / 0.5269 GB, free: 9.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2437/0.7934, allocations: 18.98 MB / 0.5454 GB, free: 127 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/0.7952, allocations: 2.28 MB / 0.5476 GB, free: 125.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00126/0.7965, allocations: 386.9 kB / 0.548 GB, free: 125.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.7976, allocations: 1.094 MB / 0.5491 GB, free: 125 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7976, allocations: 0 / 0.5491 GB, free: 125 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08483/0.8825, allocations: 50.59 MB / 0.5985 GB, free: 77.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.61, allocations: 8.438 kB / 0.5985 GB, free: 77.66 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches