Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_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.001894/0.001893, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.08 kB / 307.1 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 50.54 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01428/0.1183, allocations: 12.88 MB / 370.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2164/0.3347, allocations: 4.256 MB / 374.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.3375, allocations: 81.56 kB / 374.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.3403, allocations: 0.9731 MB / 375.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.3451, allocations: 1.185 MB / 377 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.3466, allocations: 0.5268 MB / 377.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005989/0.3526, allocations: 4.626 MB / 382.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004495/0.3572, allocations: 3.689 MB / 385.8 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00464/0.3618, allocations: 2.126 MB / 387.9 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005068/0.3669, allocations: 2.554 MB / 390.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002133/0.3691, allocations: 0.5526 MB / 391 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/0.3728, allocations: 0.6609 MB / 391.7 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002699/0.3755, allocations: 1.521 MB / 393.2 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008715/0.3842, allocations: 2.491 MB / 395.7 MB, free: 1.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.397, allocations: 7.369 MB / 403.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3971, allocations: 4 kB / 403.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3971, allocations: 3.938 kB / 403.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002706/0.3974, allocations: 0 / 403.1 MB, free: 11.89 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01396/0.4113, allocations: 4.699 MB / 407.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4114, allocations: 12.03 kB / 407.8 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007562/0.4121, allocations: 0.4985 MB / 408.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.4138, allocations: 0.5345 MB / 408.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005053/0.4189, allocations: 2.506 MB / 411.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.4191, allocations: 267 kB / 411.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000712/0.4198, allocations: 353.1 kB / 411.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.4301, allocations: 5.035 MB / 417 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.152e-05/0.4302, allocations: 7.906 kB / 417 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/0.4306, allocations: 146.2 kB / 417.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/0.4308, allocations: 183.1 kB / 417.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009348/0.4402, allocations: 4.294 MB / 421.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03671/0.4769, allocations: 14.9 MB / 436.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006046/0.483, allocations: 4.198 MB / 440.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004183/0.4873, allocations: 1.987 MB / 442.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/0.4878, allocations: 134.6 kB / 442.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.52e-05/0.4879, allocations: 60.55 kB / 442.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 7.344e-06/0.4879, allocations: 0 / 442.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02364/0.5116, allocations: 9.956 MB / 452.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.5117, allocations: 73.41 kB / 452.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00569/0.5174, allocations: 2.51 MB / 455.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003688/0.5178, allocations: 61.7 kB / 455.5 MB, free: 6.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.5194, allocations: 1.631 MB / 457.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008546/0.5202, allocations: 0.728 MB / 457.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000915/0.5212, allocations: 416.3 kB / 458.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5213, allocations: 309.1 kB / 458.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.5235, allocations: 1.297 MB / 459.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.5259, allocations: 1.782 MB / 461.6 MB, free: 332 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004949/0.5309, allocations: 3.212 MB / 464.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/0.531, allocations: 4 kB / 464.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008366/0.5393, allocations: 4.071 MB / 468.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.5394, allocations: 12 kB / 468.9 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.343e-05/0.5394, allocations: 12 kB / 468.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/0.5424, allocations: 0.9027 MB / 469.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.5447, allocations: 0.5188 MB / 470.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.5556, allocations: 9.486 MB / 479.8 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/0.5583, allocations: 123.8 kB / 480 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004275/0.5587, allocations: 88.09 kB / 480.1 MB, free: 13.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002561/0.5613, allocations: 1.219 MB / 481.3 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009099/0.5622, allocations: 276.7 kB / 481.5 MB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006994/0.5692, allocations: 3.719 MB / 485.3 MB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.5693, allocations: 20 kB / 485.3 MB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/0.5693, allocations: 8 kB / 485.3 MB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.5693, allocations: 7.969 kB / 485.3 MB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/0.5843, allocations: 8.094 MB / 493.4 MB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.5844, allocations: 4 kB / 493.4 MB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.5861, allocations: 387.8 kB / 493.8 MB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/0.5892, allocations: 0.9368 MB / 494.7 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/0.5894, allocations: 47.98 kB / 494.8 MB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.6007, allocations: 11.11 MB / 0.494 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.6007, allocations: 7.938 kB / 0.494 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009085/0.6098, allocations: 5.507 MB / 0.4994 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/0.6119, allocations: 0.6304 MB / 0.5 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/0.613, allocations: 51.98 kB / 0.5001 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002336/0.6153, allocations: 115.9 kB / 0.5002 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006055/0.616, allocations: 177.7 kB / 0.5003 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/0.6162, allocations: 63.98 kB / 0.5004 GB, free: 12.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004395/0.6206, allocations: 1.735 MB / 0.5021 GB, free: 10.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6206, allocations: 0 / 0.5021 GB, free: 10.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003798/0.6244, allocations: 0.8008 MB / 0.5029 GB, free: 9.586 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (175): * Single equations (assignments): 170 * 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,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0102/0.6347, allocations: 6.209 MB / 0.5089 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01149/0.6462, allocations: 5.705 MB / 0.5145 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.6462, allocations: 0 / 0.5145 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0042/0.6504, allocations: 2.488 MB / 0.5169 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/0.6552, allocations: 0.7978 MB / 0.5177 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2839/0.9392, allocations: 34.2 MB / 0.5511 GB, free: 130.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004507/0.9438, allocations: 2.783 MB / 0.5538 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003813/0.9476, allocations: 0.6817 MB / 0.5545 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003119/0.9508, allocations: 1.414 MB / 0.5559 GB, free: 128 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.9508, allocations: 0 / 0.5559 GB, free: 128 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/1.074, allocations: 74.92 MB / 0.629 GB, free: 58.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/12.18, allocations: 4.062 kB / 0.629 GB, free: 58.67 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.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_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches