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.001082/0.001083, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001363/0.001363, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.494/1.494, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 50.39 kB / 301.3 MB, free: 5.852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.09957, allocations: 49.45 MB / 350.7 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01515/0.1148, allocations: 12.86 MB / 363.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009828/0.1246, allocations: 4.187 MB / 367.8 MB, free: 3.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003032/0.1277, allocations: 79.69 kB / 367.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00359/0.1314, allocations: 0.9665 MB / 368.8 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004755/0.1362, allocations: 1.173 MB / 370 MB, free: 1.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.1382, allocations: 0.511 MB / 370.5 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1699/0.3081, allocations: 4.605 MB / 375.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004509/0.3127, allocations: 3.691 MB / 378.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004195/0.3169, allocations: 2.116 MB / 380.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004515/0.3214, allocations: 2.556 MB / 383.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001562/0.323, allocations: 0.5559 MB / 384 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.3253, allocations: 0.6389 MB / 384.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.3271, allocations: 1.518 MB / 386.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004147/0.3313, allocations: 2.487 MB / 388.7 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006661/0.3379, allocations: 7.348 MB / 396 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.338, allocations: 0 / 396 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.338, allocations: 0 / 396 MB, free: 3.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001977/0.3382, allocations: 0 / 396 MB, free: 3.074 MB / 302.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.0114/0.3496, allocations: 4.697 MB / 400.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3497, allocations: 8.875 kB / 400.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.3515, allocations: 0.4917 MB / 401.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005171/0.3567, allocations: 2.491 MB / 403.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/0.357, allocations: 267.1 kB / 404 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009814/0.358, allocations: 354.9 kB / 404.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.3695, allocations: 5.03 MB / 409.4 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.3696, allocations: 7.906 kB / 409.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005946/0.3702, allocations: 147.2 kB / 409.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.3704, allocations: 184.8 kB / 409.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009099/0.3795, allocations: 4.304 MB / 414 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02696/0.4065, allocations: 14.89 MB / 428.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005045/0.4116, allocations: 4.193 MB / 433.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003267/0.4149, allocations: 1.994 MB / 435.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.4153, allocations: 135.1 kB / 435.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.4153, allocations: 56.56 kB / 435.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.797e-06/0.4153, allocations: 0 / 435.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02107/0.4364, allocations: 9.947 MB / 445.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4365, allocations: 77.41 kB / 445.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/0.4406, allocations: 2.502 MB / 447.8 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004285/0.4411, allocations: 61.7 kB / 447.8 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.4424, allocations: 1.618 MB / 449.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009998/0.4434, allocations: 0.7329 MB / 450.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000767/0.4442, allocations: 420.2 kB / 450.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4443, allocations: 305.1 kB / 450.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/0.4464, allocations: 1.297 MB / 452.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/0.4489, allocations: 1.781 MB / 454 MB, free: 9.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004607/0.4535, allocations: 3.215 MB / 457.2 MB, free: 6.426 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.4535, allocations: 4 kB / 457.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007038/0.4606, allocations: 4.071 MB / 461.3 MB, free: 2.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.4606, allocations: 12 kB / 461.3 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.4607, allocations: 12.47 kB / 461.3 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002882/0.4635, allocations: 0.8918 MB / 462.2 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/0.4658, allocations: 0.5266 MB / 462.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.4764, allocations: 9.484 MB / 472.2 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.4788, allocations: 119.9 kB / 472.3 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000384/0.4792, allocations: 87.92 kB / 472.4 MB, free: 6.773 MB / 382.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.002384/0.4816, allocations: 1.208 MB / 473.6 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007465/0.4824, allocations: 276.7 kB / 473.9 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006412/0.4888, allocations: 3.722 MB / 477.6 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.4889, allocations: 20 kB / 477.6 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.4889, allocations: 8 kB / 477.6 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.4889, allocations: 11.95 kB / 477.6 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.5042, allocations: 8.076 MB / 485.7 MB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.5043, allocations: 8 kB / 485.7 MB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.506, allocations: 387.8 kB / 486.1 MB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/0.5091, allocations: 0.9407 MB / 487 MB, free: 8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002347/0.5093, allocations: 59.97 kB / 487.1 MB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.5209, allocations: 11.1 MB / 498.2 MB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.5209, allocations: 4 kB / 498.2 MB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008821/0.5298, allocations: 5.503 MB / 0.4919 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/0.5314, allocations: 0.6304 MB / 0.4925 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004769/0.5319, allocations: 51.98 kB / 0.4926 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.5333, allocations: 115.9 kB / 0.4927 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004364/0.5338, allocations: 181.7 kB / 0.4928 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.5339, allocations: 59.98 kB / 0.4929 GB, free: 5.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002779/0.5367, allocations: 1.731 MB / 0.4946 GB, free: 3.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5367, allocations: 0 / 0.4946 GB, free: 3.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002994/0.5397, allocations: 0.8046 MB / 0.4954 GB, free: 3.125 MB / 414.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.0006829/0.5404, allocations: 239.8 kB / 0.4956 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01075/0.5512, allocations: 5.713 MB / 0.5012 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.5512, allocations: 4 kB / 0.5012 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004037/0.5553, allocations: 2.475 MB / 0.5036 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/0.5592, allocations: 0.7801 MB / 0.5044 GB, free: 9.773 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.5729, allocations: 7.823 MB / 0.512 GB, free: 1.906 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/0.5755, allocations: 2.73 MB / 0.5147 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000946/0.5765, allocations: 187.4 kB / 0.5149 GB, free: 14.96 MB / 446.1 MB Notification: Performance of SimCode: time 9.81e-07/0.5765, allocations: 0 / 0.5149 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Templates: time 0.2796/0.8561, allocations: 141.6 MB / 0.6532 GB, free: 40.95 MB / 446.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/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