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.001513/0.001513, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001767/0.001767, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 55.44 kB / 307.1 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1152, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01669/0.1319, allocations: 13.44 MB / 371 MB, free: 484 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2194/0.3514, allocations: 4.501 MB / 375.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.3538, allocations: 78.56 kB / 375.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.3568, allocations: 0.9914 MB / 376.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004012/0.3608, allocations: 1.244 MB / 377.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.3629, allocations: 0.883 MB / 378.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.3672, allocations: 3.92 MB / 382.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/0.3706, allocations: 3.231 MB / 385.9 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.3734, allocations: 1.837 MB / 387.7 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003471/0.3768, allocations: 2.181 MB / 389.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009793/0.3778, allocations: 0.4984 MB / 390.4 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.3797, allocations: 0.7291 MB / 391.1 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008382/0.3806, allocations: 1.118 MB / 392.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.3827, allocations: 2.08 MB / 394.3 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006368/0.3891, allocations: 6.59 MB / 400.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3891, allocations: 2.656 kB / 400.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3891, allocations: 0 / 400.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001608/0.3893, allocations: 0 / 400.9 MB, free: 13.47 MB / 318.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.01304/0.4024, allocations: 4.329 MB / 405.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4024, allocations: 16.02 kB / 405.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009329/0.4034, allocations: 458 kB / 405.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004628/0.408, allocations: 0.7959 MB / 406.5 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005098/0.4131, allocations: 2.338 MB / 408.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.4134, allocations: 237.3 kB / 409.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009504/0.4143, allocations: 315.8 kB / 409.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.4245, allocations: 4.216 MB / 413.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.4247, allocations: 7.984 kB / 413.6 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006347/0.4253, allocations: 127 kB / 413.7 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.4255, allocations: 150.3 kB / 413.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007052/0.4326, allocations: 3.617 MB / 417.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02311/0.4557, allocations: 13.27 MB / 430.8 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008401/0.4641, allocations: 7.159 MB / 437.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002895/0.467, allocations: 1.579 MB / 439.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007099/0.4742, allocations: 4.215 MB / 443.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.4742, allocations: 55.5 kB / 443.8 MB, free: 2.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.116e-06/0.4743, allocations: 0 / 443.8 MB, free: 2.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01142/0.4857, allocations: 5.551 MB / 449.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.4858, allocations: 64.41 kB / 449.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.4888, allocations: 1.726 MB / 451.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.4889, allocations: 49.7 kB / 451.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.4899, allocations: 1.416 MB / 452.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003586/0.4903, allocations: 426.5 kB / 453 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004651/0.4908, allocations: 283.3 kB / 453.3 MB, free: 8.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.4909, allocations: 305.1 kB / 453.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.4921, allocations: 0.652 MB / 454.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.4935, allocations: 1.125 MB / 455.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/0.4962, allocations: 1.894 MB / 457.2 MB, free: 4.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.4962, allocations: 4 kB / 457.2 MB, free: 4.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004179/0.5004, allocations: 2.409 MB / 459.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.5005, allocations: 15.94 kB / 459.7 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.5005, allocations: 15.94 kB / 459.7 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009186/0.5014, allocations: 319.5 kB / 460 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.5027, allocations: 347.4 kB / 460.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006592/0.5093, allocations: 6.626 MB / 467 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.5113, allocations: 79.8 kB / 467 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003118/0.5116, allocations: 68 kB / 467.1 MB, free: 9.93 MB / 382.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.002731/0.5144, allocations: 1.005 MB / 468.1 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005637/0.5149, allocations: 185.8 kB / 468.3 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/0.5194, allocations: 2.221 MB / 470.5 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.5194, allocations: 12 kB / 470.5 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.049e-05/0.5195, allocations: 8 kB / 470.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.5195, allocations: 7.969 kB / 470.5 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.5296, allocations: 4.938 MB / 475.5 MB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.5296, allocations: 4 kB / 475.5 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007555/0.5304, allocations: 159.8 kB / 475.6 MB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/0.5318, allocations: 0.4997 MB / 476.1 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.5319, allocations: 43.97 kB / 476.2 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/0.5435, allocations: 11.47 MB / 487.6 MB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.556e-05/0.5436, allocations: 4.031 kB / 487.6 MB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005956/0.5495, allocations: 3.092 MB / 490.7 MB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.5509, allocations: 410.7 kB / 491.1 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006506/0.5515, allocations: 31.98 kB / 491.2 MB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.5528, allocations: 67.95 kB / 491.2 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.5532, allocations: 103.4 kB / 491.3 MB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-05/0.5533, allocations: 39.98 kB / 491.4 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002447/0.5557, allocations: 1.176 MB / 492.6 MB, free: 15.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5557, allocations: 0 / 492.6 MB, free: 15.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002929/0.5587, allocations: 0.5548 MB / 493.1 MB, free: 14.94 MB / 414.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.005944/0.5646, allocations: 3.722 MB / 496.8 MB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005036/0.5697, allocations: 2.451 MB / 499.3 MB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.5697, allocations: 3.938 kB / 499.3 MB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002508/0.5723, allocations: 1.561 MB / 0.4891 GB, free: 6.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/0.5757, allocations: 0.5099 MB / 0.4896 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04185/0.6175, allocations: 21.26 MB / 0.5104 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003541/0.6211, allocations: 2.285 MB / 0.5126 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001803/0.623, allocations: 379.9 kB / 0.513 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/0.6248, allocations: 1.112 MB / 0.5141 GB, free: 11.82 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6248, allocations: 0 / 0.5141 GB, free: 11.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3483/0.9732, allocations: 49.79 MB / 0.5627 GB, free: 127.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.77, allocations: 22.98 kB / 0.5627 GB, free: 127.3 MB / 446.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.0.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