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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 112.8 kB / 17.07 MB, free: 5.945 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.001175/0.001176, allocations: 194.8 kB / 18 MB, free: 5.039 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.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009843/0.0009843, allocations: 44.08 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3129, allocations: 49.44 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01456/0.3275, allocations: 12.86 MB / 413.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009081/0.3366, allocations: 4.183 MB / 417.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.3394, allocations: 83.62 kB / 417.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.3419, allocations: 1.002 MB / 418.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.3455, allocations: 1.231 MB / 420.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.3467, allocations: 0.5149 MB / 420.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005574/0.3523, allocations: 4.626 MB / 425.2 MB, free: 284 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00416/0.3564, allocations: 3.694 MB / 428.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004311/0.3608, allocations: 2.153 MB / 431.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.3652, allocations: 2.549 MB / 433.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001752/0.3669, allocations: 0.5547 MB / 434.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.3696, allocations: 0.6443 MB / 434.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.3717, allocations: 1.512 MB / 436.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004415/0.3762, allocations: 2.489 MB / 438.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008314/0.3845, allocations: 7.415 MB / 446.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3845, allocations: 0 / 446.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3846, allocations: 0 / 446.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001955/0.3848, allocations: 0 / 446.2 MB, free: 11.16 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.01035/0.3951, allocations: 4.703 MB / 451 MB, free: 6.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3952, allocations: 8.031 kB / 451 MB, free: 6.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.3965, allocations: 0.4917 MB / 451.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004152/0.4007, allocations: 2.567 MB / 454 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.401, allocations: 274.9 kB / 454.3 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005615/0.4016, allocations: 347.9 kB / 454.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008673/0.4102, allocations: 5.029 MB / 459.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-05/0.4104, allocations: 7.906 kB / 459.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/0.4107, allocations: 140 kB / 459.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/0.4109, allocations: 195 kB / 460 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00726/0.4182, allocations: 4.291 MB / 464.3 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02348/0.4417, allocations: 14.72 MB / 479 MB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004679/0.4464, allocations: 4.186 MB / 483.2 MB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003229/0.4497, allocations: 1.987 MB / 485.2 MB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.45, allocations: 131.1 kB / 485.3 MB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.4501, allocations: 64.5 kB / 485.4 MB, free: 3.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 3.827e-06/0.4501, allocations: 3.938 kB / 485.4 MB, free: 3.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02003/0.4701, allocations: 9.952 MB / 495.3 MB, free: 9.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.4702, allocations: 77.39 kB / 495.4 MB, free: 9.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/0.4742, allocations: 2.506 MB / 497.9 MB, free: 6.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002555/0.4745, allocations: 61.7 kB / 498 MB, free: 6.438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.4758, allocations: 1.615 MB / 499.6 MB, free: 4.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007824/0.4766, allocations: 0.7355 MB / 0.4886 GB, free: 4.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006932/0.4773, allocations: 420.2 kB / 0.489 GB, free: 3.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4774, allocations: 301.1 kB / 0.4893 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.4795, allocations: 1.301 MB / 0.4905 GB, free: 2.035 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.4819, allocations: 1.786 MB / 0.4923 GB, free: 60 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004578/0.4864, allocations: 3.208 MB / 0.4954 GB, free: 12.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.4865, allocations: 4 kB / 0.4954 GB, free: 12.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007051/0.4935, allocations: 4.071 MB / 0.4994 GB, free: 8.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.4936, allocations: 12 kB / 0.4994 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/0.4936, allocations: 12 kB / 0.4994 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/0.4966, allocations: 0.8759 MB / 0.5003 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.4989, allocations: 0.5305 MB / 0.5008 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.5097, allocations: 9.487 MB / 0.5101 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.5123, allocations: 107.9 kB / 0.5102 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000343/0.5127, allocations: 87.98 kB / 0.5103 GB, free: 13.03 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.002611/0.5153, allocations: 1.22 MB / 0.5114 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008309/0.5162, allocations: 276.8 kB / 0.5117 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006609/0.5228, allocations: 3.715 MB / 0.5153 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.5228, allocations: 24 kB / 0.5154 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/0.5229, allocations: 4 kB / 0.5154 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.5229, allocations: 15.95 kB / 0.5154 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.5383, allocations: 8.002 MB / 0.5232 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.5383, allocations: 4 kB / 0.5232 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.5401, allocations: 387.8 kB / 0.5236 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003114/0.5432, allocations: 0.9213 MB / 0.5245 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.5434, allocations: 55.97 kB / 0.5245 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.5555, allocations: 11.1 MB / 0.5354 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5555, allocations: 0 / 0.5354 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2387/0.7942, allocations: 5.512 MB / 0.5407 GB, free: 128.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/0.7958, allocations: 0.6313 MB / 0.5414 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000424/0.7963, allocations: 51.55 kB / 0.5414 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.7976, allocations: 118.4 kB / 0.5415 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.798, allocations: 182 kB / 0.5417 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.7981, allocations: 55.3 kB / 0.5417 GB, free: 128.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.8002, allocations: 1.728 MB / 0.5434 GB, free: 127.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8002, allocations: 1.062 kB / 0.5434 GB, free: 127.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002005/0.8022, allocations: 0.8032 MB / 0.5442 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.0004903/0.8027, allocations: 238.1 kB / 0.5444 GB, free: 127.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004998/0.8077, allocations: 3.895 MB / 0.5483 GB, free: 125.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.8077, allocations: 3.875 kB / 0.5483 GB, free: 125.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003267/0.811, allocations: 2.481 MB / 0.5507 GB, free: 124.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.8141, allocations: 0.778 MB / 0.5514 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.8241, allocations: 7.734 MB / 0.559 GB, free: 118.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/0.826, allocations: 2.775 MB / 0.5617 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002031/0.828, allocations: 0.6788 MB / 0.5624 GB, free: 115.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/0.8286, allocations: 179.4 kB / 0.5625 GB, free: 115.7 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.8286, allocations: 0 / 0.5625 GB, free: 115.7 MB / 462.1 MB Notification: Performance of Templates: time 0.06182/0.8904, allocations: 44.63 MB / 0.6061 GB, free: 71.62 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/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