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.001369/0.001369, allocations: 115.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 204.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 56.09 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2488, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01269/0.2615, allocations: 12.91 MB / 422.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007483/0.269, allocations: 4.249 MB / 427.1 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.271, allocations: 83.62 kB / 427.2 MB, free: 300 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002721/0.2738, allocations: 0.9717 MB / 428.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.2775, allocations: 1.176 MB / 429.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.2791, allocations: 0.5228 MB / 429.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005677/0.2848, allocations: 4.653 MB / 434.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004568/0.2894, allocations: 3.69 MB / 438.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003424/0.2928, allocations: 2.139 MB / 440.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.2964, allocations: 2.561 MB / 442.9 MB, free: 488 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.2977, allocations: 0.5508 MB / 443.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.3002, allocations: 0.6599 MB / 444.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.3019, allocations: 1.516 MB / 445.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003062/0.305, allocations: 2.489 MB / 448.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006817/0.3118, allocations: 7.442 MB / 455.6 MB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3118, allocations: 0 / 455.6 MB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3118, allocations: 4 kB / 455.6 MB, free: 3.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001566/0.312, allocations: 4 kB / 455.6 MB, free: 3.773 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.009747/0.3218, allocations: 4.707 MB / 460.3 MB, free: 14.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3218, allocations: 8.031 kB / 460.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.3234, allocations: 0.5268 MB / 460.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004989/0.3284, allocations: 2.598 MB / 463.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.3286, allocations: 267 kB / 463.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005575/0.3292, allocations: 347.9 kB / 464 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00908/0.3383, allocations: 5.033 MB / 469 MB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.712e-05/0.3384, allocations: 11.83 kB / 469 MB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.3388, allocations: 148 kB / 469.2 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/0.3389, allocations: 179.1 kB / 469.4 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007016/0.3459, allocations: 4.298 MB / 473.7 MB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02313/0.3691, allocations: 14.71 MB / 488.4 MB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/0.3734, allocations: 4.198 MB / 492.6 MB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/0.3764, allocations: 1.995 MB / 494.6 MB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/0.3767, allocations: 135.1 kB / 494.7 MB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.3768, allocations: 56.55 kB / 494.8 MB, free: 11.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.677e-06/0.3768, allocations: 0 / 494.8 MB, free: 11.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01907/0.3959, allocations: 9.967 MB / 0.4929 GB, free: 1.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3959, allocations: 73.41 kB / 0.493 GB, free: 1.531 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00395/0.3999, allocations: 2.51 MB / 0.4954 GB, free: 15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002373/0.4002, allocations: 61.7 kB / 0.4955 GB, free: 14.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.4013, allocations: 1.627 MB / 0.4971 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006983/0.402, allocations: 0.7315 MB / 0.4978 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007/0.4027, allocations: 420.4 kB / 0.4982 GB, free: 12.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.4028, allocations: 305.1 kB / 0.4985 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.4047, allocations: 1.297 MB / 0.4997 GB, free: 10.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.4068, allocations: 1.778 MB / 0.5015 GB, free: 8.559 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/0.4109, allocations: 3.208 MB / 0.5046 GB, free: 5.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.4109, allocations: 4 kB / 0.5046 GB, free: 5.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006737/0.4177, allocations: 4.071 MB / 0.5086 GB, free: 1.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.4177, allocations: 12 kB / 0.5086 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.4178, allocations: 12.47 kB / 0.5086 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/0.4206, allocations: 0.8872 MB / 0.5095 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/0.4228, allocations: 0.5188 MB / 0.51 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.4339, allocations: 9.481 MB / 0.5192 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.4361, allocations: 123.7 kB / 0.5194 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003928/0.4365, allocations: 87.94 kB / 0.5194 GB, free: 5.516 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.002524/0.4391, allocations: 1.227 MB / 0.5206 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008363/0.4399, allocations: 276.7 kB / 0.5209 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006734/0.4466, allocations: 3.711 MB / 0.5245 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.4467, allocations: 20 kB / 0.5245 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/0.4467, allocations: 8 kB / 0.5245 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.4468, allocations: 7.969 kB / 0.5246 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.4628, allocations: 8.021 MB / 0.5324 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.4628, allocations: 4 kB / 0.5324 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/0.4644, allocations: 387.8 kB / 0.5328 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003037/0.4675, allocations: 0.9291 MB / 0.5337 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/0.4677, allocations: 51.98 kB / 0.5337 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2188/0.6865, allocations: 11.09 MB / 0.5445 GB, free: 120.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6866, allocations: 4.781 kB / 0.5446 GB, free: 120.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007381/0.694, allocations: 5.516 MB / 0.5499 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/0.6955, allocations: 0.6298 MB / 0.5506 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/0.6959, allocations: 52.64 kB / 0.5506 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.6972, allocations: 113.9 kB / 0.5507 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/0.6976, allocations: 182.7 kB / 0.5509 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.6977, allocations: 62.22 kB / 0.5509 GB, free: 117.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002079/0.6998, allocations: 1.739 MB / 0.5526 GB, free: 117.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6998, allocations: 0 / 0.5526 GB, free: 117.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002063/0.7019, allocations: 0.8 MB / 0.5534 GB, free: 117.1 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.0005286/0.7024, allocations: 232.6 kB / 0.5536 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004785/0.7072, allocations: 3.899 MB / 0.5575 GB, free: 115.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.7072, allocations: 0 / 0.5575 GB, free: 115.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00296/0.7102, allocations: 2.477 MB / 0.5599 GB, free: 113.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.7134, allocations: 0.7949 MB / 0.5607 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.7238, allocations: 7.745 MB / 0.5682 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.7255, allocations: 2.735 MB / 0.5709 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009022/0.7264, allocations: 195.4 kB / 0.5711 GB, free: 102.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7264, allocations: 0 / 0.5711 GB, free: 102.5 MB / 462.1 MB Notification: Performance of Templates: time 0.1161/0.8425, allocations: 142.9 MB / 0.7107 GB, free: 7.543 MB / 0.4981 GB 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/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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches