Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 59.91 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3215, allocations: 50.53 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01931/0.3409, allocations: 14.27 MB / 423 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009976/0.3509, allocations: 4.687 MB / 427.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.3533, allocations: 83.69 kB / 427.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003124/0.3565, allocations: 1.017 MB / 428.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004831/0.3614, allocations: 1.285 MB / 430.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.364, allocations: 0.946 MB / 431.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006102/0.3701, allocations: 4.121 MB / 435.2 MB, free: 7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004394/0.3745, allocations: 3.237 MB / 438.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.3779, allocations: 1.896 MB / 440.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004282/0.3822, allocations: 2.219 MB / 442.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.3834, allocations: 0.5078 MB / 443 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.3854, allocations: 0.7341 MB / 443.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.387, allocations: 1.118 MB / 444.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003311/0.3903, allocations: 2.147 MB / 447 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009416/0.3997, allocations: 6.766 MB / 453.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3998, allocations: 0 / 453.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3998, allocations: 0 / 453.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002092/0.4, allocations: 4 kB / 453.8 MB, free: 4.246 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01333/0.4133, allocations: 4.518 MB / 458.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4134, allocations: 8.031 kB / 458.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009539/0.4144, allocations: 459.8 kB / 458.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/0.4191, allocations: 0.8417 MB / 459.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006469/0.4256, allocations: 2.48 MB / 462.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.4259, allocations: 239.5 kB / 462.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009988/0.427, allocations: 331.9 kB / 462.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008888/0.4359, allocations: 4.267 MB / 466.9 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.436, allocations: 11.92 kB / 466.9 MB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003956/0.4364, allocations: 128 kB / 467.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.4366, allocations: 146.4 kB / 467.2 MB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007445/0.4441, allocations: 3.601 MB / 470.8 MB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02705/0.4711, allocations: 13.83 MB / 484.6 MB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007851/0.479, allocations: 6.66 MB / 491.3 MB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.4818, allocations: 1.402 MB / 492.7 MB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007859/0.4897, allocations: 3.886 MB / 496.6 MB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.4898, allocations: 51.88 kB / 496.6 MB, free: 7.797 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.356e-06/0.4898, allocations: 4 kB / 496.6 MB, free: 7.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01311/0.5029, allocations: 5.919 MB / 0.4908 GB, free: 1.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.503, allocations: 76.66 kB / 0.4909 GB, free: 1.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004407/0.5074, allocations: 1.805 MB / 0.4926 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.5076, allocations: 53.64 kB / 0.4927 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.5091, allocations: 1.49 MB / 0.4941 GB, free: 14.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004896/0.5096, allocations: 0.4919 MB / 0.4946 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005295/0.5102, allocations: 315.4 kB / 0.4949 GB, free: 13.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5103, allocations: 309.1 kB / 0.4952 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.5115, allocations: 0.6754 MB / 0.4959 GB, free: 12.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.5133, allocations: 1.201 MB / 0.497 GB, free: 11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/0.5164, allocations: 2.003 MB / 0.499 GB, free: 8.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.5164, allocations: 4 kB / 0.499 GB, free: 8.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004714/0.5211, allocations: 2.559 MB / 0.5015 GB, free: 6.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.5212, allocations: 12 kB / 0.5015 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.5212, allocations: 19.94 kB / 0.5015 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.5222, allocations: 360.2 kB / 0.5019 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.5236, allocations: 379.4 kB / 0.5022 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008621/0.5323, allocations: 8.408 MB / 0.5104 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.5338, allocations: 75.92 kB / 0.5105 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.534, allocations: 75.98 kB / 0.5106 GB, free: 12.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001948/0.5359, allocations: 1.009 MB / 0.5116 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.5363, allocations: 198.7 kB / 0.5118 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004147/0.5405, allocations: 2.298 MB / 0.514 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.5405, allocations: 12 kB / 0.514 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.5405, allocations: 8 kB / 0.514 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.5405, allocations: 11.95 kB / 0.514 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008644/0.5492, allocations: 5.083 MB / 0.519 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5492, allocations: 4 kB / 0.519 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008377/0.5501, allocations: 180 kB / 0.5192 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.5516, allocations: 0.5276 MB / 0.5197 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.5517, allocations: 39.98 kB / 0.5197 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/0.5663, allocations: 13.25 MB / 0.5327 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5663, allocations: 4 kB / 0.5327 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/0.572, allocations: 3.234 MB / 0.5358 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009664/0.573, allocations: 435.6 kB / 0.5362 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.5733, allocations: 35.98 kB / 0.5363 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/0.5741, allocations: 71.89 kB / 0.5363 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.5744, allocations: 101.2 kB / 0.5364 GB, free: 0.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.357e-05/0.5745, allocations: 40 kB / 0.5365 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2254/0.8, allocations: 1.234 MB / 0.5377 GB, free: 121.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8, allocations: 0.7188 kB / 0.5377 GB, free: 121.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004286/0.8043, allocations: 0.581 MB / 0.5383 GB, free: 121.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.005854/0.8102, allocations: 3.836 MB / 0.542 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003293/0.8135, allocations: 2.37 MB / 0.5443 GB, free: 119.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.8136, allocations: 0 / 0.5443 GB, free: 119.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002026/0.8156, allocations: 1.749 MB / 0.546 GB, free: 118.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.8181, allocations: 0.5495 MB / 0.5466 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/0.8418, allocations: 20.27 MB / 0.5664 GB, free: 103.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/0.8435, allocations: 2.316 MB / 0.5686 GB, free: 101.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001211/0.8447, allocations: 405.2 kB / 0.569 GB, free: 101 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.8458, allocations: 1.136 MB / 0.5701 GB, free: 99.84 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.8458, allocations: 0 / 0.5701 GB, free: 99.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/0.946, allocations: 53.8 MB / 0.6226 GB, free: 46.56 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.8, allocations: 448 / 0.6226 GB, free: 46.56 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches