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.001272/0.001272, allocations: 106 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.001365/0.001365, 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.322/1.322, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 60.28 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.1011, allocations: 50.54 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.01653/0.1177, allocations: 13.44 MB / 371 MB, free: 476 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2055/0.3233, allocations: 4.496 MB / 375.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.3254, allocations: 80.5 kB / 375.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.3285, allocations: 0.9864 MB / 376.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005732/0.3343, allocations: 1.251 MB / 377.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.3375, allocations: 0.8867 MB / 378.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006343/0.3438, allocations: 3.91 MB / 382.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005229/0.3491, allocations: 3.233 MB / 385.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003495/0.3526, allocations: 1.843 MB / 387.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/0.3569, allocations: 2.175 MB / 389.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001922/0.3588, allocations: 0.5023 MB / 390.4 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.3622, allocations: 0.7316 MB / 391.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001801/0.364, allocations: 1.109 MB / 392.2 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004729/0.3688, allocations: 2.083 MB / 394.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007366/0.3761, allocations: 6.596 MB / 400.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/0.3762, allocations: 7.297 kB / 400.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3762, allocations: 0 / 400.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001588/0.3764, allocations: 0 / 400.9 MB, free: 13.7 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.01154/0.3879, allocations: 4.333 MB / 405.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.388, allocations: 8.031 kB / 405.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006872/0.3887, allocations: 445.9 kB / 405.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004416/0.3931, allocations: 0.8056 MB / 406.5 MB, free: 9.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005468/0.3986, allocations: 2.338 MB / 408.8 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/0.3989, allocations: 236.6 kB / 409.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009557/0.3999, allocations: 315.8 kB / 409.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.4099, allocations: 4.222 MB / 413.6 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.4101, allocations: 4 kB / 413.6 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00064/0.4107, allocations: 128 kB / 413.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/0.4109, allocations: 150.3 kB / 413.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007379/0.4183, allocations: 3.611 MB / 417.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02173/0.44, allocations: 13.27 MB / 430.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007273/0.4474, allocations: 7.167 MB / 437.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003077/0.4505, allocations: 1.578 MB / 439.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008205/0.4587, allocations: 4.218 MB / 443.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.4588, allocations: 43.56 kB / 443.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 4.479e-06/0.4588, allocations: 0 / 443.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01162/0.4704, allocations: 5.555 MB / 449.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.4705, allocations: 64.41 kB / 449.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.4733, allocations: 1.722 MB / 451.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.4734, allocations: 49.69 kB / 451.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009826/0.4744, allocations: 1.413 MB / 452.6 MB, free: 9.531 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.4748, allocations: 426.3 kB / 453 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004733/0.4753, allocations: 287.3 kB / 453.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.4754, allocations: 305.1 kB / 453.6 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.4765, allocations: 0.6559 MB / 454.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.478, allocations: 1.121 MB / 455.3 MB, free: 6.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.4806, allocations: 1.894 MB / 457.2 MB, free: 4.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.4807, allocations: 4 kB / 457.2 MB, free: 4.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004055/0.4847, allocations: 2.405 MB / 459.6 MB, free: 2.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.4848, allocations: 19.88 kB / 459.7 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.4848, allocations: 12 kB / 459.7 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008115/0.4856, allocations: 327.4 kB / 460 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.4869, allocations: 351.4 kB / 460.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006409/0.4933, allocations: 6.619 MB / 467 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.4951, allocations: 83.8 kB / 467 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/0.4953, allocations: 67.98 kB / 467.1 MB, free: 10.12 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.001969/0.4973, allocations: 1.009 MB / 468.1 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004418/0.4978, allocations: 181.8 kB / 468.3 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/0.5018, allocations: 2.213 MB / 470.5 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.5018, allocations: 12 kB / 470.5 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/0.5019, allocations: 12.12 kB / 470.5 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.5019, allocations: 3.984 kB / 470.5 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008551/0.5104, allocations: 4.951 MB / 475.5 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.5105, allocations: 7.984 kB / 475.5 MB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/0.5112, allocations: 159.8 kB / 475.6 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.5127, allocations: 0.496 MB / 476.1 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.5128, allocations: 35.98 kB / 476.2 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.5243, allocations: 11.47 MB / 487.6 MB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.5243, allocations: 4.031 kB / 487.7 MB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005496/0.5298, allocations: 3.095 MB / 490.7 MB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.5309, allocations: 414.7 kB / 491.2 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004806/0.5314, allocations: 31.98 kB / 491.2 MB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.5325, allocations: 67.95 kB / 491.2 MB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.5328, allocations: 96.73 kB / 491.3 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.788e-05/0.5329, allocations: 43.98 kB / 491.4 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00203/0.535, allocations: 1.178 MB / 492.6 MB, free: 15.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.535, allocations: 4 kB / 492.6 MB, free: 15.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002253/0.5372, allocations: 0.5548 MB / 493.1 MB, free: 15.11 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.005467/0.5427, allocations: 3.72 MB / 496.8 MB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004722/0.5474, allocations: 2.439 MB / 499.3 MB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.5475, allocations: 0 / 499.3 MB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.5499, allocations: 1.563 MB / 0.4891 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.5526, allocations: 0.5146 MB / 0.4896 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03329/0.586, allocations: 21.26 MB / 0.5104 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002022/0.588, allocations: 2.285 MB / 0.5126 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001472/0.5895, allocations: 379.9 kB / 0.513 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/0.591, allocations: 1.108 MB / 0.5141 GB, free: 12.01 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.591, allocations: 8 kB / 0.5141 GB, free: 12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2478/0.8388, allocations: 49.78 MB / 0.5627 GB, free: 130.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.12, allocations: 9.359 kB / 0.5627 GB, free: 130.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 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.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches