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.001248/0.001248, allocations: 107 kB / 16.62 MB, free: 6.812 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.001326/0.001326, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.307/1.307, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 51.55 kB / 300.3 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08364/0.08472, allocations: 49.45 MB / 349.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01276/0.0975, allocations: 12.67 MB / 362.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006851/0.1044, allocations: 4.182 MB / 366.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.1061, allocations: 75.69 kB / 366.6 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.1087, allocations: 0.8552 MB / 367.5 MB, free: 2.777 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.112, allocations: 1.15 MB / 368.6 MB, free: 1.621 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.1138, allocations: 0.7746 MB / 369.4 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1492/0.263, allocations: 4.004 MB / 373.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004933/0.268, allocations: 3.226 MB / 376.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/0.2717, allocations: 1.72 MB / 378.4 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004825/0.2766, allocations: 2.045 MB / 380.4 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001748/0.2783, allocations: 0.4955 MB / 380.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.2812, allocations: 0.7007 MB / 381.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.2827, allocations: 1.098 MB / 382.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003899/0.2867, allocations: 2.071 MB / 384.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006805/0.2935, allocations: 6.526 MB / 391.3 MB, free: 4.508 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2935, allocations: 0 / 391.3 MB, free: 4.508 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2935, allocations: 4 kB / 391.3 MB, free: 4.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001171/0.2936, allocations: 0 / 391.3 MB, free: 4.504 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01055/0.3042, allocations: 4.297 MB / 395.6 MB, free: 1.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3042, allocations: 14.2 kB / 395.6 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006097/0.3049, allocations: 442.9 kB / 396 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003996/0.3089, allocations: 0.8134 MB / 396.9 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.3127, allocations: 2.278 MB / 399.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.3129, allocations: 233.2 kB / 399.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004395/0.3133, allocations: 314.1 kB / 399.7 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00683/0.3201, allocations: 4.227 MB / 403.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.558e-05/0.3202, allocations: 4 kB / 403.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/0.3205, allocations: 126.4 kB / 404 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/0.3207, allocations: 150.3 kB / 404.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005637/0.3263, allocations: 3.607 MB / 407.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01767/0.344, allocations: 13.18 MB / 421 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006133/0.3502, allocations: 6.898 MB / 427.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/0.3522, allocations: 1.366 MB / 429.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005697/0.3579, allocations: 3.745 MB / 433 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.358, allocations: 51.56 kB / 433 MB, free: 13.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.286e-06/0.358, allocations: 0 / 433 MB, free: 13.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.009854/0.3679, allocations: 5.38 MB / 438.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3679, allocations: 68.39 kB / 438.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.3703, allocations: 1.701 MB / 440.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.055e-05/0.3704, allocations: 49.7 kB / 440.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008084/0.3712, allocations: 1.405 MB / 441.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.3715, allocations: 431.6 kB / 442 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/0.3719, allocations: 283.3 kB / 442.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.372, allocations: 301.1 kB / 442.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.373, allocations: 0.6403 MB / 443.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.3743, allocations: 1.12 MB / 444.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.3766, allocations: 1.867 MB / 446.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.3767, allocations: 7.938 kB / 446.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003476/0.3801, allocations: 2.326 MB / 448.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3802, allocations: 8 kB / 448.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.3802, allocations: 19.98 kB / 448.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.3808, allocations: 265.6 kB / 448.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.3821, allocations: 360.2 kB / 449.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.3872, allocations: 6.205 MB / 455.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.3886, allocations: 79.86 kB / 455.5 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.3887, allocations: 64 kB / 455.6 MB, free: 5.82 MB / 366.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.001738/0.3904, allocations: 1.001 MB / 456.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/0.3908, allocations: 181.8 kB / 456.7 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/0.3945, allocations: 2.131 MB / 458.9 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3945, allocations: 12 kB / 458.9 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/0.3945, allocations: 8 kB / 458.9 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.3945, allocations: 3.984 kB / 458.9 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007447/0.402, allocations: 4.828 MB / 463.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.402, allocations: 3.938 kB / 463.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/0.4027, allocations: 172 kB / 463.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.4038, allocations: 461.5 kB / 464.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.526e-05/0.404, allocations: 35.98 kB / 464.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009357/0.4133, allocations: 11.04 MB / 475.4 MB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4133, allocations: 96 / 475.4 MB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/0.418, allocations: 3.009 MB / 478.4 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009335/0.4189, allocations: 406.7 kB / 478.8 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004789/0.4194, allocations: 31.98 kB / 478.9 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.4205, allocations: 67.95 kB / 478.9 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.4207, allocations: 100.7 kB / 479 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/0.4208, allocations: 35.98 kB / 479.1 MB, free: 13.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001962/0.4228, allocations: 1.17 MB / 480.2 MB, free: 12.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4228, allocations: 4 kB / 480.2 MB, free: 12.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002106/0.4249, allocations: 0.5352 MB / 480.8 MB, free: 11.62 MB / 398.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.004784/0.4297, allocations: 3.605 MB / 484.4 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004202/0.4339, allocations: 2.421 MB / 486.8 MB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.434, allocations: 3.938 kB / 486.8 MB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.4362, allocations: 1.518 MB / 488.3 MB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/0.4394, allocations: 0.5093 MB / 488.8 MB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04273/0.4821, allocations: 22.25 MB / 0.4991 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.4845, allocations: 2.277 MB / 0.5013 GB, free: 9.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001296/0.4858, allocations: 387.7 kB / 0.5017 GB, free: 8.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/0.4871, allocations: 1.101 MB / 0.5028 GB, free: 7.746 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4871, allocations: 0 / 0.5028 GB, free: 7.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8524/1.34, allocations: 48.91 MB / 0.5505 GB, free: 148.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/1.34, allocations: 275.9 kB / 0.5508 GB, free: 148.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.327/4.667, allocations: 0 / 0.5508 GB, free: 148.4 MB / 446.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