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: 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001203/0.001204, allocations: 117 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 70.38 kB / 306.5 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1114, allocations: 50.53 MB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01691/0.1284, allocations: 12.78 MB / 369.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2167/0.3451, allocations: 4.205 MB / 374 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.3483, allocations: 75.25 kB / 374 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003981/0.3523, allocations: 0.8626 MB / 374.9 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005012/0.3574, allocations: 1.073 MB / 376 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.3592, allocations: 475.9 kB / 376.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007163/0.3664, allocations: 4.633 MB / 381.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00492/0.3714, allocations: 3.695 MB / 384.8 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005254/0.3767, allocations: 2.14 MB / 386.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005782/0.3825, allocations: 2.629 MB / 389.5 MB, free: 3.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001981/0.3845, allocations: 0.5524 MB / 390.1 MB, free: 3.938 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003045/0.3875, allocations: 0.6553 MB / 390.7 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001912/0.3895, allocations: 1.524 MB / 392.3 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005174/0.3947, allocations: 2.488 MB / 394.8 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009494/0.4042, allocations: 7.373 MB / 402.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.4042, allocations: 0 / 402.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4043, allocations: 0 / 402.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003421/0.4046, allocations: 0 / 402.1 MB, free: 12.37 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.01411/0.4187, allocations: 4.717 MB / 406.8 MB, free: 7.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/0.4188, allocations: 8.031 kB / 406.8 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/0.4214, allocations: 0.5229 MB / 407.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0062/0.4276, allocations: 2.509 MB / 409.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.428, allocations: 265.4 kB / 410.1 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.4293, allocations: 359 kB / 410.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/0.4428, allocations: 5.029 MB / 415.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002197/0.443, allocations: 9.312 kB / 415.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001313/0.4443, allocations: 151.2 kB / 415.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000236/0.4446, allocations: 179.1 kB / 415.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.4549, allocations: 4.302 MB / 420.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0325/0.4874, allocations: 14.9 MB / 435.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005539/0.493, allocations: 4.186 MB / 439.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003721/0.4967, allocations: 2 MB / 441.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000386/0.4971, allocations: 134 kB / 441.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/0.4972, allocations: 56.56 kB / 441.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.488e-06/0.4972, allocations: 0 / 441.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.0237/0.5209, allocations: 9.954 MB / 451.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.5211, allocations: 73.41 kB / 451.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005724/0.5268, allocations: 2.51 MB / 454 MB, free: 7.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004931/0.5273, allocations: 61.7 kB / 454 MB, free: 7.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001488/0.5288, allocations: 1.628 MB / 455.6 MB, free: 6.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.5301, allocations: 0.7316 MB / 456.4 MB, free: 5.465 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/0.5315, allocations: 420.2 kB / 456.8 MB, free: 5.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5316, allocations: 301.1 kB / 457.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/0.5343, allocations: 1.301 MB / 458.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/0.537, allocations: 1.779 MB / 460.2 MB, free: 1.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005567/0.5426, allocations: 3.22 MB / 463.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/0.5426, allocations: 4 kB / 463.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009289/0.5519, allocations: 4.068 MB / 467.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.552, allocations: 19.97 kB / 467.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/0.552, allocations: 12 kB / 467.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00304/0.5551, allocations: 0.8813 MB / 468.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/0.5578, allocations: 0.5265 MB / 468.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.5704, allocations: 9.488 MB / 478.4 MB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/0.5731, allocations: 123.8 kB / 478.5 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005806/0.5737, allocations: 88 kB / 478.6 MB, free: 14.42 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.003497/0.5773, allocations: 1.211 MB / 479.8 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/0.5785, allocations: 280.7 kB / 480.1 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007573/0.5861, allocations: 3.719 MB / 483.8 MB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.5861, allocations: 20 kB / 483.8 MB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-05/0.5862, allocations: 8 kB / 483.8 MB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.5862, allocations: 11.95 kB / 483.8 MB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/0.6042, allocations: 8.078 MB / 491.9 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/0.6043, allocations: 12.22 kB / 491.9 MB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/0.606, allocations: 387.5 kB / 492.3 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003375/0.6094, allocations: 0.933 MB / 493.2 MB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003513/0.6098, allocations: 55.97 kB / 493.3 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.6233, allocations: 11.1 MB / 0.4926 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.6234, allocations: 4 kB / 0.4926 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/0.6339, allocations: 5.511 MB / 0.498 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002121/0.6361, allocations: 0.6304 MB / 0.4986 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/0.6372, allocations: 48 kB / 0.4986 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/0.6393, allocations: 115.9 kB / 0.4987 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005262/0.6398, allocations: 181.7 kB / 0.4989 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/0.64, allocations: 59.98 kB / 0.499 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00391/0.6439, allocations: 1.743 MB / 0.5007 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.644, allocations: 0 / 0.5007 GB, free: 11.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005427/0.6494, allocations: 0.7969 MB / 0.5014 GB, free: 10.75 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.001308/0.6507, allocations: 238.7 kB / 0.5017 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01209/0.6629, allocations: 5.707 MB / 0.5072 GB, free: 4.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.6629, allocations: 0 / 0.5072 GB, free: 4.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004395/0.6673, allocations: 2.48 MB / 0.5097 GB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/0.6724, allocations: 0.7918 MB / 0.5104 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.6912, allocations: 9.38 MB / 0.5196 GB, free: 7.973 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00486/0.6962, allocations: 2.774 MB / 0.5223 GB, free: 5.172 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003777/0.7, allocations: 0.6829 MB / 0.523 GB, free: 4.484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/0.7013, allocations: 179.4 kB / 0.5231 GB, free: 4.309 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/0.7013, allocations: 3.938 kB / 0.5231 GB, free: 4.305 MB / 446.1 MB Notification: Performance of Templates: time 0.3103/1.012, allocations: 46.33 MB / 0.5684 GB, free: 120.7 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches