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.001155/0.001155, allocations: 88.08 kB / 16.65 MB, free: 6.598 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.001396/0.001396, allocations: 177 kB / 17.56 MB, free: 6.203 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.435/1.435, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.0002764, allocations: 4 kB / 301.5 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1065, allocations: 50.41 MB / 352 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01289/0.1194, allocations: 12.04 MB / 364 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008375/0.1279, allocations: 4.158 MB / 368.2 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.1305, allocations: 71.69 kB / 368.2 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.1337, allocations: 0.8435 MB / 369.1 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.1384, allocations: 1.147 MB / 370.2 MB, free: 1.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.141, allocations: 0.786 MB / 371 MB, free: 476 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2133/0.3543, allocations: 4.119 MB / 375.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00499/0.3593, allocations: 2.667 MB / 377.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003283/0.3627, allocations: 1.267 MB / 379.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003766/0.3664, allocations: 1.658 MB / 380.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.3677, allocations: 202.1 kB / 380.9 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.3702, allocations: 410.9 kB / 381.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.3713, allocations: 0.7521 MB / 382.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002609/0.3739, allocations: 1.71 MB / 383.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006173/0.3801, allocations: 6.165 MB / 389.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3801, allocations: 0 / 389.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3801, allocations: 0 / 389.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001795/0.3803, allocations: 3.281 kB / 389.9 MB, free: 6.121 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.01/0.3903, allocations: 3.659 MB / 393.6 MB, free: 3.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3904, allocations: 8.25 kB / 393.6 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000753/0.3911, allocations: 454.5 kB / 394.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004113/0.3952, allocations: 0.8037 MB / 394.9 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.3985, allocations: 2.277 MB / 397.1 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.3986, allocations: 238.3 kB / 397.4 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004078/0.3991, allocations: 313.1 kB / 397.7 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006864/0.4059, allocations: 4.234 MB / 401.9 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-05/0.406, allocations: 4 kB / 401.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002903/0.4063, allocations: 127.9 kB / 402 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.4065, allocations: 150.3 kB / 402.2 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006125/0.4126, allocations: 3.628 MB / 405.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01926/0.4319, allocations: 13.24 MB / 419 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006537/0.4384, allocations: 6.909 MB / 426 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.4406, allocations: 1.385 MB / 427.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006055/0.4467, allocations: 3.757 MB / 431.1 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.4467, allocations: 55.03 kB / 431.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.076e-06/0.4468, allocations: 0 / 431.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01093/0.4577, allocations: 5.444 MB / 436.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.4578, allocations: 68.41 kB / 436.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.4609, allocations: 1.705 MB / 438.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.985e-05/0.461, allocations: 49.7 kB / 438.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.462, allocations: 1.405 MB / 439.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/0.4624, allocations: 431.8 kB / 440.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.4626, allocations: 129.6 kB / 440.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4627, allocations: 304.6 kB / 440.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.4639, allocations: 0.6559 MB / 441.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.4653, allocations: 1.12 MB / 442.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/0.4681, allocations: 1.886 MB / 444.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.4681, allocations: 7.938 kB / 444.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00394/0.4721, allocations: 2.339 MB / 446.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.4721, allocations: 8 kB / 446.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.4721, allocations: 16 kB / 446.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00073/0.4729, allocations: 271.5 kB / 447 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.4742, allocations: 359.4 kB / 447.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005282/0.4795, allocations: 5.7 MB / 453 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.4809, allocations: 84.05 kB / 453.1 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.4811, allocations: 68 kB / 453.2 MB, free: 8.902 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.002061/0.4832, allocations: 0.9969 MB / 454.2 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/0.4836, allocations: 181.8 kB / 454.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.4876, allocations: 2.154 MB / 456.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.4876, allocations: 12 kB / 456.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/0.4876, allocations: 8 kB / 456.5 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.4876, allocations: 7.969 kB / 456.5 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0093/0.497, allocations: 4.841 MB / 461.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/0.497, allocations: 4 kB / 461.4 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007759/0.4978, allocations: 176 kB / 461.5 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.499, allocations: 448 kB / 462 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4992, allocations: 35.98 kB / 462 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00964/0.5088, allocations: 10.1 MB / 472.1 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.5089, allocations: 7.969 kB / 472.1 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/0.514, allocations: 3.032 MB / 475.1 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.5152, allocations: 407 kB / 475.5 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005875/0.5158, allocations: 28 kB / 475.6 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.517, allocations: 79.88 kB / 475.7 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/0.5173, allocations: 96.8 kB / 475.7 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.5175, allocations: 39.98 kB / 475.8 MB, free: 1.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002432/0.5199, allocations: 1.174 MB / 477 MB, free: 140 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.5199, allocations: 0 / 477 MB, free: 140 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.00308/0.523, allocations: 0.543 MB / 477.5 MB, free: 15.59 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.005822/0.5288, allocations: 3.632 MB / 481.1 MB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003707/0.5326, allocations: 2.1 MB / 483.2 MB, free: 9.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.5326, allocations: 4 kB / 483.2 MB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.535, allocations: 1.531 MB / 484.8 MB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/0.5385, allocations: 488.9 kB / 485.2 MB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04646/0.585, allocations: 22.44 MB / 0.4958 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002939/0.588, allocations: 2.285 MB / 0.498 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001722/0.5897, allocations: 387.7 kB / 0.4984 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/0.5914, allocations: 1.1 MB / 0.4995 GB, free: 11.82 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5915, allocations: 0 / 0.4995 GB, free: 11.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2775/0.869, allocations: 47.26 MB / 0.5456 GB, free: 146.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.8692, allocations: 278.3 kB / 0.5459 GB, free: 146.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/3.758, allocations: 0 / 0.5459 GB, free: 146.5 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