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.001508/0.001508, allocations: 108.6 kB / 17.69 MB, free: 5.445 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.001751/0.001751, allocations: 191 kB / 18.63 MB, free: 4.512 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.451/1.451, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 47.45 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1152, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01486/0.1301, allocations: 12.86 MB / 364.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008367/0.1385, allocations: 4.187 MB / 368.6 MB, free: 2.578 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.1412, allocations: 83.62 kB / 368.6 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.1451, allocations: 0.9665 MB / 369.6 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005075/0.1502, allocations: 1.173 MB / 370.8 MB, free: 352 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2051/0.3553, allocations: 0.5065 MB / 371.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00796/0.3633, allocations: 4.636 MB / 375.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007368/0.3707, allocations: 3.688 MB / 379.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006597/0.3774, allocations: 2.115 MB / 381.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007397/0.3848, allocations: 2.56 MB / 384.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003066/0.3879, allocations: 0.5514 MB / 384.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004619/0.3926, allocations: 0.6438 MB / 385.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00464/0.3973, allocations: 1.518 MB / 387 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008076/0.4054, allocations: 2.482 MB / 389.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01254/0.418, allocations: 7.413 MB / 396.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.4181, allocations: 0 / 396.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4181, allocations: 0 / 396.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003311/0.4184, allocations: 0 / 396.9 MB, free: 3.32 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.01659/0.435, allocations: 4.704 MB / 401.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.4351, allocations: 8.031 kB / 401.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.4381, allocations: 0.4956 MB / 402.1 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008512/0.4467, allocations: 2.567 MB / 404.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003924/0.4471, allocations: 266.4 kB / 404.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001675/0.4488, allocations: 351.4 kB / 405.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.4634, allocations: 5.03 MB / 410.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/0.4637, allocations: 7.906 kB / 410.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00112/0.4648, allocations: 147.1 kB / 410.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000217/0.465, allocations: 183 kB / 410.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.475, allocations: 4.294 MB / 414.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0308/0.5059, allocations: 14.72 MB / 429.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006157/0.5121, allocations: 4.189 MB / 433.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003838/0.5159, allocations: 1.994 MB / 435.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00039/0.5164, allocations: 139 kB / 436 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.38e-05/0.5165, allocations: 58.81 kB / 436 MB, free: 12.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.869e-06/0.5165, allocations: 0 / 436 MB, free: 12.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02314/0.5396, allocations: 9.933 MB / 446 MB, free: 2.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.5397, allocations: 77.41 kB / 446 MB, free: 2.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/0.5445, allocations: 2.506 MB / 448.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003074/0.5448, allocations: 65.7 kB / 448.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.5461, allocations: 1.622 MB / 450.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007954/0.5469, allocations: 0.722 MB / 450.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009486/0.5478, allocations: 420.2 kB / 451.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.548, allocations: 301.1 kB / 451.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.5502, allocations: 1.308 MB / 453 MB, free: 11.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002608/0.5528, allocations: 1.777 MB / 454.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004933/0.5578, allocations: 3.207 MB / 457.9 MB, free: 6.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.935e-05/0.5578, allocations: 8 kB / 458 MB, free: 6.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008271/0.5661, allocations: 4.075 MB / 462 MB, free: 1.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.5662, allocations: 8 kB / 462 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/0.5662, allocations: 16 kB / 462 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002915/0.5691, allocations: 0.8784 MB / 462.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.5715, allocations: 0.5304 MB / 463.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.5829, allocations: 9.477 MB / 472.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/0.5855, allocations: 123.9 kB / 473.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005057/0.586, allocations: 87.98 kB / 473.1 MB, free: 6.438 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.002991/0.589, allocations: 1.212 MB / 474.4 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009436/0.59, allocations: 272.7 kB / 474.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007606/0.5976, allocations: 3.724 MB / 478.3 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.5977, allocations: 20 kB / 478.4 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/0.5977, allocations: 8 kB / 478.4 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-05/0.5977, allocations: 11.95 kB / 478.4 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/0.6162, allocations: 8.003 MB / 486.4 MB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.6163, allocations: 4 kB / 486.4 MB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.6181, allocations: 387.8 kB / 486.8 MB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003496/0.6216, allocations: 0.9368 MB / 487.7 MB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004266/0.622, allocations: 55.97 kB / 487.8 MB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.6348, allocations: 11.1 MB / 498.9 MB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.6349, allocations: 7.938 kB / 498.9 MB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009797/0.6447, allocations: 5.508 MB / 0.4926 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002225/0.6469, allocations: 0.6265 MB / 0.4932 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009651/0.6479, allocations: 51.98 kB / 0.4932 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/0.6501, allocations: 115.9 kB / 0.4933 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005618/0.6506, allocations: 181.7 kB / 0.4935 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/0.6509, allocations: 59.98 kB / 0.4936 GB, free: 5.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003549/0.6544, allocations: 1.727 MB / 0.4952 GB, free: 3.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6545, allocations: 4 kB / 0.4952 GB, free: 3.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003539/0.658, allocations: 0.8046 MB / 0.496 GB, free: 2.863 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.0006817/0.6587, allocations: 233.7 kB / 0.4963 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006682/0.6654, allocations: 3.901 MB / 0.5001 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.6654, allocations: 4.062 kB / 0.5001 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004221/0.6697, allocations: 2.468 MB / 0.5025 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004704/0.6744, allocations: 0.7889 MB / 0.5032 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.6902, allocations: 7.744 MB / 0.5108 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/0.694, allocations: 2.773 MB / 0.5135 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002455/0.6965, allocations: 0.6866 MB / 0.5142 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008166/0.6973, allocations: 179.4 kB / 0.5144 GB, free: 15.88 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6974, allocations: 0 / 0.5144 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Templates: time 0.2451/0.9424, allocations: 43.75 MB / 0.5571 GB, free: 139.1 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 -s cvode -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