Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 198 kB / 18.73 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.366/1.366, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.89 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3577, allocations: 50.55 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01921/0.3769, allocations: 17.44 MB / 426.2 MB, free: 0 / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.3901, allocations: 5.945 MB / 432.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004308/0.3945, allocations: 123.5 kB / 432.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004763/0.3993, allocations: 1.402 MB / 433.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007345/0.4067, allocations: 1.825 MB / 435.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.4102, allocations: 1.083 MB / 436.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009326/0.4195, allocations: 6.338 MB / 442.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007155/0.4267, allocations: 5.391 MB / 448.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006328/0.4331, allocations: 2.975 MB / 451.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00672/0.4398, allocations: 3.464 MB / 454.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.4423, allocations: 0.7891 MB / 455.6 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.4458, allocations: 1.089 MB / 456.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00264/0.4485, allocations: 1.862 MB / 458.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007099/0.4556, allocations: 3.365 MB / 461.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.016/0.4716, allocations: 10.59 MB / 472.5 MB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.4717, allocations: 0 / 472.5 MB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4717, allocations: 0 / 472.5 MB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004567/0.4722, allocations: 4 kB / 472.5 MB, free: 1.551 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02315/0.4953, allocations: 6.695 MB / 479.2 MB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.4954, allocations: 12.02 kB / 479.2 MB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002515/0.4979, allocations: 0.6711 MB / 479.8 MB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006735/0.5047, allocations: 1.118 MB / 481 MB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.5149, allocations: 3.718 MB / 484.7 MB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005022/0.5154, allocations: 361.7 kB / 485 MB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002045/0.5175, allocations: 487.9 kB / 485.5 MB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01944/0.5369, allocations: 6.865 MB / 492.4 MB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002491/0.5372, allocations: 15.88 kB / 492.4 MB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001783/0.539, allocations: 196 kB / 492.6 MB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003286/0.5394, allocations: 241.8 kB / 492.8 MB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.5543, allocations: 5.933 MB / 498.7 MB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04144/0.5958, allocations: 20.79 MB / 0.5074 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.6065, allocations: 9.975 MB / 0.5171 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004181/0.6107, allocations: 2.481 MB / 0.5195 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01382/0.6245, allocations: 6.725 MB / 0.5261 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.176e-05/0.6246, allocations: 56.56 kB / 0.5261 GB, free: 13.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 4.758e-06/0.6246, allocations: 0 / 0.5261 GB, free: 13.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.0209/0.6455, allocations: 9.749 MB / 0.5357 GB, free: 3.348 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.6456, allocations: 81.34 kB / 0.5357 GB, free: 3.254 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005489/0.6511, allocations: 3.018 MB / 0.5387 GB, free: 228 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002993/0.6515, allocations: 65.7 kB / 0.5387 GB, free: 156 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2402/0.8917, allocations: 2.226 MB / 0.5409 GB, free: 121.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009953/0.8927, allocations: 0.7946 MB / 0.5417 GB, free: 121 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.8938, allocations: 466.8 kB / 0.5421 GB, free: 120.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.8938, allocations: 312.9 kB / 0.5424 GB, free: 120.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.896, allocations: 1.29 MB / 0.5437 GB, free: 120 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.8981, allocations: 1.92 MB / 0.5456 GB, free: 118.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/0.9016, allocations: 3.343 MB / 0.5488 GB, free: 116.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.9016, allocations: 3.938 kB / 0.5488 GB, free: 116.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006352/0.908, allocations: 4.258 MB / 0.553 GB, free: 115.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.908, allocations: 18.98 kB / 0.553 GB, free: 115.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.908, allocations: 15.31 kB / 0.553 GB, free: 115.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/0.9102, allocations: 0.781 MB / 0.5538 GB, free: 114.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.9123, allocations: 0.5531 MB / 0.5543 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008287/0.9206, allocations: 10.88 MB / 0.565 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.9228, allocations: 103.2 kB / 0.5651 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.9231, allocations: 110 kB / 0.5652 GB, free: 106.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * 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 {(3,25,77.8%), (1,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.002411/0.9255, allocations: 1.629 MB / 0.5668 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000633/0.9261, allocations: 333.6 kB / 0.5671 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005388/0.9315, allocations: 3.912 MB / 0.5709 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.9315, allocations: 28 kB / 0.5709 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.9316, allocations: 8 kB / 0.5709 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.9316, allocations: 11.97 kB / 0.5709 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.9429, allocations: 8.559 MB / 0.5793 GB, free: 91.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.943, allocations: 256 / 0.5793 GB, free: 91.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.9443, allocations: 351.5 kB / 0.5796 GB, free: 91.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/0.9469, allocations: 0.9338 MB / 0.5806 GB, free: 90.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.9471, allocations: 63.97 kB / 0.5806 GB, free: 90.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/0.9592, allocations: 15.76 MB / 0.596 GB, free: 74.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.9593, allocations: 8.094 kB / 0.596 GB, free: 74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008375/0.9676, allocations: 5.712 MB / 0.6016 GB, free: 68.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/0.9696, allocations: 0.7098 MB / 0.6023 GB, free: 67.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/0.9706, allocations: 51.98 kB / 0.6023 GB, free: 67.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/0.9728, allocations: 111.9 kB / 0.6024 GB, free: 67.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005072/0.9733, allocations: 189.7 kB / 0.6026 GB, free: 67.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/0.9736, allocations: 63.98 kB / 0.6027 GB, free: 67.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003927/0.9775, allocations: 2.079 MB / 0.6047 GB, free: 64.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.9775, allocations: 0 / 0.6047 GB, free: 64.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004149/0.9817, allocations: 0.9413 MB / 0.6056 GB, free: 64.04 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * 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,8,100.0%), (3,25,88.9%), (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.008799/0.9905, allocations: 6.433 MB / 0.6119 GB, free: 57.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005302/0.9958, allocations: 3.907 MB / 0.6157 GB, free: 53.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.9958, allocations: 0 / 0.6157 GB, free: 53.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003364/0.9992, allocations: 2.666 MB / 0.6183 GB, free: 50.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004957/1.004, allocations: 0.9157 MB / 0.6192 GB, free: 49.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05728/1.061, allocations: 33.86 MB / 0.6523 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004443/1.066, allocations: 3.438 MB / 0.6557 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002683/1.069, allocations: 0.7645 MB / 0.6564 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002595/1.071, allocations: 1.847 MB / 0.6582 GB, free: 9.109 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/1.071, allocations: 0 / 0.6582 GB, free: 9.109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1575/1.229, allocations: 85.77 MB / 0.742 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.46, allocations: 4.375 kB / 0.742 GB, free: 4.027 MB / 0.5294 GB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.csv --start-time 0 --stop-time 2.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_Transformer.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches