Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 112.8 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.00172, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009897/0.0009898, allocations: 48.06 kB / 350.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2469, allocations: 49.43 MB / 400.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01527/0.2622, allocations: 12.87 MB / 413.1 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009542/0.2718, allocations: 4.178 MB / 417.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.2744, allocations: 79.62 kB / 417.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.2775, allocations: 1.006 MB / 418.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.282, allocations: 1.231 MB / 419.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.2836, allocations: 0.511 MB / 420.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00593/0.2895, allocations: 4.633 MB / 424.8 MB, free: 332 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005513/0.2951, allocations: 3.701 MB / 428.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003725/0.2988, allocations: 2.142 MB / 430.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/0.303, allocations: 2.557 MB / 433.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001425/0.3044, allocations: 0.5508 MB / 433.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.3064, allocations: 0.6443 MB / 434.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002026/0.3084, allocations: 1.512 MB / 435.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003352/0.3118, allocations: 2.489 MB / 438.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007342/0.3191, allocations: 7.431 MB / 445.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3192, allocations: 0 / 445.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3192, allocations: 0 / 445.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001506/0.3193, allocations: 3.938 kB / 445.8 MB, free: 11.18 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009487/0.3288, allocations: 4.807 MB / 450.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3289, allocations: 12.03 kB / 450.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006393/0.3295, allocations: 0.502 MB / 451.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.3308, allocations: 0.5136 MB / 451.6 MB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/0.3354, allocations: 2.585 MB / 454.2 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.3356, allocations: 267.1 kB / 454.5 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005833/0.3362, allocations: 355.9 kB / 454.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008764/0.345, allocations: 5.025 MB / 459.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.875e-05/0.3451, allocations: 11.95 kB / 459.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003569/0.3455, allocations: 144 kB / 460 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/0.3457, allocations: 187 kB / 460.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008066/0.3537, allocations: 4.294 MB / 464.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02428/0.3781, allocations: 14.76 MB / 479.2 MB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004416/0.3825, allocations: 4.194 MB / 483.4 MB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003197/0.3857, allocations: 1.987 MB / 485.4 MB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.386, allocations: 135.1 kB / 485.5 MB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.3861, allocations: 53.03 kB / 485.6 MB, free: 2.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 4.258e-06/0.3861, allocations: 0 / 485.6 MB, free: 2.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.0208/0.4069, allocations: 10.02 MB / 495.6 MB, free: 8.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.407, allocations: 73.41 kB / 495.7 MB, free: 8.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004543/0.4116, allocations: 2.51 MB / 498.2 MB, free: 5.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.4118, allocations: 61.7 kB / 498.3 MB, free: 5.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.413, allocations: 1.654 MB / 499.9 MB, free: 4.035 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000642/0.4137, allocations: 0.7708 MB / 0.4889 GB, free: 3.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007291/0.4144, allocations: 424.4 kB / 0.4894 GB, free: 2.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.4145, allocations: 301.1 kB / 0.4896 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.4166, allocations: 1.297 MB / 0.4909 GB, free: 1.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/0.419, allocations: 1.782 MB / 0.4926 GB, free: 15.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004569/0.4236, allocations: 3.208 MB / 0.4958 GB, free: 11.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.4237, allocations: 4 kB / 0.4958 GB, free: 11.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007032/0.4307, allocations: 4.085 MB / 0.4998 GB, free: 7.766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.4307, allocations: 12.09 kB / 0.4998 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/0.4308, allocations: 16 kB / 0.4998 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002816/0.4336, allocations: 0.8755 MB / 0.5007 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.4358, allocations: 0.5304 MB / 0.5012 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.4463, allocations: 9.488 MB / 0.5104 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/0.4485, allocations: 123.9 kB / 0.5106 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/0.4488, allocations: 83.98 kB / 0.5106 GB, free: 12.21 MB / 446.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.002613/0.4515, allocations: 1.215 MB / 0.5118 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008916/0.4524, allocations: 298.1 kB / 0.5121 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006686/0.4591, allocations: 3.707 MB / 0.5157 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.4591, allocations: 20 kB / 0.5157 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/0.4591, allocations: 8 kB / 0.5158 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.4592, allocations: 15.95 kB / 0.5158 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/0.4756, allocations: 8.006 MB / 0.5236 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.4757, allocations: 8.031 kB / 0.5236 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.4774, allocations: 383.5 kB / 0.524 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/0.4805, allocations: 0.9291 MB / 0.5249 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/0.4807, allocations: 59.91 kB / 0.5249 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.4921, allocations: 11.1 MB / 0.5358 GB, free: 1.734 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.4922, allocations: 8 kB / 0.5358 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2109/0.703, allocations: 5.521 MB / 0.5412 GB, free: 128.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/0.7046, allocations: 0.6373 MB / 0.5418 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/0.7049, allocations: 51.77 kB / 0.5418 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.7063, allocations: 120.7 kB / 0.542 GB, free: 128 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000343/0.7066, allocations: 182.9 kB / 0.5421 GB, free: 128 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.7067, allocations: 62.94 kB / 0.5422 GB, free: 128 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001968/0.7087, allocations: 1.722 MB / 0.5439 GB, free: 127.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7087, allocations: 0 / 0.5439 GB, free: 127.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001992/0.7107, allocations: 0.8029 MB / 0.5447 GB, free: 127.3 MB / 462.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.006978/0.7177, allocations: 6.209 MB / 0.5507 GB, free: 124.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004845/0.7226, allocations: 3.899 MB / 0.5545 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.7226, allocations: 4.75 kB / 0.5545 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003121/0.7258, allocations: 2.481 MB / 0.557 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/0.7291, allocations: 0.7882 MB / 0.5577 GB, free: 119.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03406/0.7632, allocations: 29.59 MB / 0.5866 GB, free: 90.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.7651, allocations: 2.777 MB / 0.5893 GB, free: 87.49 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001709/0.7668, allocations: 0.6827 MB / 0.59 GB, free: 86.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/0.7683, allocations: 1.405 MB / 0.5914 GB, free: 85.39 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7683, allocations: 0 / 0.5914 GB, free: 85.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/0.8771, allocations: 73.57 MB / 0.6632 GB, free: 12.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15.08, allocations: 0 / 0.6632 GB, free: 12.54 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches