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.001373/0.001373, allocations: 110.2 kB / 17.07 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.001297/0.001297, allocations: 191 kB / 18 MB, free: 5.098 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.347/1.347, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001148, allocations: 43.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2991, allocations: 49.44 MB / 400.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01515/0.3143, allocations: 12.81 MB / 413.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00876/0.3232, allocations: 4.24 MB / 417.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.3257, allocations: 79.69 kB / 417.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.3286, allocations: 1.017 MB / 418.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004338/0.333, allocations: 1.313 MB / 419.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.335, allocations: 0.8492 MB / 420.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004727/0.3397, allocations: 3.874 MB / 424.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003594/0.3433, allocations: 3.224 MB / 427.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.3462, allocations: 1.846 MB / 429.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.3487, allocations: 2.067 MB / 431.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005632/0.3493, allocations: 0.4961 MB / 432.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.3505, allocations: 0.6951 MB / 432.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009628/0.3515, allocations: 1.11 MB / 433.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.3537, allocations: 2.077 MB / 436 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007192/0.3609, allocations: 6.615 MB / 442.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.361, allocations: 0 / 442.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.361, allocations: 0 / 442.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001398/0.3611, allocations: 0 / 442.6 MB, free: 14.28 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.01194/0.3731, allocations: 4.39 MB / 447 MB, free: 9.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.3731, allocations: 15.89 kB / 447 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006365/0.3738, allocations: 451.2 kB / 447.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004246/0.378, allocations: 0.8144 MB / 448.2 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004897/0.383, allocations: 2.4 MB / 450.6 MB, free: 6.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.3832, allocations: 238.2 kB / 450.9 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005695/0.3838, allocations: 308 kB / 451.2 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007745/0.3915, allocations: 4.234 MB / 455.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.991e-05/0.3916, allocations: 4 kB / 455.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/0.3919, allocations: 124 kB / 455.5 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.3921, allocations: 146.3 kB / 455.7 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006173/0.3983, allocations: 3.616 MB / 459.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02208/0.4204, allocations: 13.03 MB / 472.3 MB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007272/0.4277, allocations: 6.915 MB / 479.2 MB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/0.4299, allocations: 1.339 MB / 480.6 MB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006559/0.4365, allocations: 3.736 MB / 484.3 MB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.4365, allocations: 51.56 kB / 484.4 MB, free: 2.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 2.525e-06/0.4365, allocations: 0 / 484.4 MB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01105/0.4476, allocations: 5.424 MB / 489.8 MB, free: 13.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.4477, allocations: 64.41 kB / 489.8 MB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003017/0.4507, allocations: 1.709 MB / 491.6 MB, free: 11.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.679e-05/0.4508, allocations: 49.7 kB / 491.6 MB, free: 11.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.4519, allocations: 1.43 MB / 493 MB, free: 10.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.4523, allocations: 456.2 kB / 493.5 MB, free: 9.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/0.4528, allocations: 287.4 kB / 493.8 MB, free: 9.309 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4529, allocations: 305.1 kB / 494.1 MB, free: 9.008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.4541, allocations: 0.6403 MB / 494.7 MB, free: 8.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.4556, allocations: 1.117 MB / 495.8 MB, free: 7.051 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.4583, allocations: 1.874 MB / 497.7 MB, free: 4.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.4584, allocations: 4 kB / 497.7 MB, free: 4.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004072/0.4624, allocations: 2.324 MB / 0.4883 GB, free: 2.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.4625, allocations: 12 kB / 0.4883 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/0.4625, allocations: 19.94 kB / 0.4883 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007948/0.4633, allocations: 275.5 kB / 0.4886 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.4647, allocations: 359.4 kB / 0.4889 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006062/0.4707, allocations: 6.19 MB / 0.495 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.4724, allocations: 71.92 kB / 0.495 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.4726, allocations: 71.98 kB / 0.4951 GB, free: 11.19 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.002394/0.475, allocations: 1.005 MB / 0.4961 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/0.4756, allocations: 186.8 kB / 0.4963 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/0.48, allocations: 2.139 MB / 0.4984 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.4801, allocations: 12 kB / 0.4984 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/0.4801, allocations: 4.125 kB / 0.4984 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.4801, allocations: 3.984 kB / 0.4984 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.4915, allocations: 4.83 MB / 0.5031 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.4916, allocations: 4 kB / 0.5031 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/0.4924, allocations: 163.8 kB / 0.5033 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.4937, allocations: 459.9 kB / 0.5037 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.4938, allocations: 39.98 kB / 0.5037 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/0.5054, allocations: 11.04 MB / 0.5145 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5054, allocations: 3.938 kB / 0.5145 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005388/0.5108, allocations: 3.014 MB / 0.5175 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/0.5121, allocations: 411.8 kB / 0.5179 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006074/0.5127, allocations: 35.98 kB / 0.5179 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.5139, allocations: 59.95 kB / 0.5179 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/0.5142, allocations: 104.7 kB / 0.518 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.362e-05/0.5143, allocations: 35.98 kB / 0.5181 GB, free: 2.652 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002355/0.5167, allocations: 1.17 MB / 0.5192 GB, free: 1.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5167, allocations: 0 / 0.5192 GB, free: 1.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00269/0.5194, allocations: 0.5352 MB / 0.5197 GB, free: 0.9531 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.005585/0.525, allocations: 3.622 MB / 0.5233 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003643/0.5287, allocations: 2.093 MB / 0.5253 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.5287, allocations: 3.938 kB / 0.5253 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00247/0.5312, allocations: 1.538 MB / 0.5268 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.5342, allocations: 0.497 MB / 0.5273 GB, free: 8.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2563/0.7905, allocations: 19.07 MB / 0.5459 GB, free: 126.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.7922, allocations: 2.279 MB / 0.5482 GB, free: 125.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00104/0.7933, allocations: 391 kB / 0.5485 GB, free: 125.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.7944, allocations: 1.096 MB / 0.5496 GB, free: 124.6 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.7944, allocations: 0 / 0.5496 GB, free: 124.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08613/0.8806, allocations: 50.31 MB / 0.5987 GB, free: 77.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.55, allocations: 4.5 kB / 0.5988 GB, free: 77.09 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.csv","/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