Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 117.6 kB / 17.84 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 203.9 kB / 18.79 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.463/1.463, allocations: 230.4 MB / 250 MB, free: 9.051 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 71.88 kB / 367.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.267, allocations: 53.31 MB / 420.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0163/0.2833, allocations: 12.96 MB / 433.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009294/0.2926, allocations: 4.268 MB / 437.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.2944, allocations: 83.62 kB / 438 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.2967, allocations: 1.025 MB / 439.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002996/0.2997, allocations: 1.231 MB / 440.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3007, allocations: 0.5265 MB / 440.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005187/0.3059, allocations: 4.653 MB / 445.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.3093, allocations: 2.694 MB / 448.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.3131, allocations: 2.143 MB / 450.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004404/0.3175, allocations: 2.619 MB / 452.9 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007758/0.3183, allocations: 0.5547 MB / 453.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.3196, allocations: 0.6561 MB / 454.1 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.3212, allocations: 1.539 MB / 455.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002842/0.3241, allocations: 2.485 MB / 458.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007879/0.332, allocations: 7.463 MB / 465.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.332, allocations: 0 / 465.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.332, allocations: 0 / 465.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001362/0.3321, allocations: 4 kB / 465.6 MB, free: 11.21 MB / 382.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.009271/0.3414, allocations: 4.823 MB / 470.4 MB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3414, allocations: 15.97 kB / 470.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.343, allocations: 0.5448 MB / 471 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004395/0.3474, allocations: 2.616 MB / 473.6 MB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.3477, allocations: 259.1 kB / 473.9 MB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00054/0.3482, allocations: 355.9 kB / 474.2 MB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00849/0.3567, allocations: 5.021 MB / 479.2 MB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-05/0.3568, allocations: 15.83 kB / 479.3 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/0.3571, allocations: 144 kB / 479.4 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/0.3573, allocations: 191 kB / 479.6 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007427/0.3647, allocations: 4.291 MB / 483.9 MB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02315/0.3879, allocations: 14.77 MB / 498.6 MB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004773/0.3926, allocations: 4.054 MB / 0.4909 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003226/0.3958, allocations: 1.881 MB / 0.4928 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003112/0.3962, allocations: 131.1 kB / 0.4929 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.3962, allocations: 56.56 kB / 0.4929 GB, free: 3.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.489e-06/0.3962, allocations: 0 / 0.4929 GB, free: 3.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02013/0.4163, allocations: 9.993 MB / 0.5027 GB, free: 9.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.4164, allocations: 77.41 kB / 0.5028 GB, free: 8.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/0.4202, allocations: 2.522 MB / 0.5052 GB, free: 6.453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.4203, allocations: 61.7 kB / 0.5053 GB, free: 6.387 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.4216, allocations: 1.662 MB / 0.5069 GB, free: 4.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006434/0.4222, allocations: 0.7669 MB / 0.5077 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007006/0.4229, allocations: 416.5 kB / 0.5081 GB, free: 3.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4231, allocations: 301.1 kB / 0.5083 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.4251, allocations: 1.297 MB / 0.5096 GB, free: 1.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.4276, allocations: 1.786 MB / 0.5114 GB, free: 15.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/0.4323, allocations: 3.204 MB / 0.5145 GB, free: 12.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.4323, allocations: 4 kB / 0.5145 GB, free: 12.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007045/0.4394, allocations: 4.076 MB / 0.5185 GB, free: 8.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4394, allocations: 12 kB / 0.5185 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.4394, allocations: 15.94 kB / 0.5185 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/0.4422, allocations: 0.8759 MB / 0.5193 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.4443, allocations: 0.5227 MB / 0.5199 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.4561, allocations: 9.486 MB / 0.5291 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/0.4586, allocations: 115.9 kB / 0.5292 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/0.4591, allocations: 91.98 kB / 0.5293 GB, free: 12.91 MB / 462.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.003206/0.4623, allocations: 1.215 MB / 0.5305 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/0.4633, allocations: 290.2 kB / 0.5308 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007506/0.4708, allocations: 3.695 MB / 0.5344 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.4708, allocations: 20 kB / 0.5344 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.662e-05/0.4708, allocations: 11.94 kB / 0.5344 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.4709, allocations: 12.05 kB / 0.5344 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2293/0.7002, allocations: 8.011 MB / 0.5423 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/0.7002, allocations: 2.781 kB / 0.5423 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/0.7023, allocations: 383.8 kB / 0.5426 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/0.7053, allocations: 0.9265 MB / 0.5435 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/0.7055, allocations: 51.95 kB / 0.5436 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009045/0.7146, allocations: 11.1 MB / 0.5544 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7146, allocations: 7.156 kB / 0.5544 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006984/0.7216, allocations: 5.509 MB / 0.5598 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.7227, allocations: 0.6457 MB / 0.5604 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/0.723, allocations: 55.08 kB / 0.5605 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.7243, allocations: 115.4 kB / 0.5606 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004039/0.7247, allocations: 178 kB / 0.5608 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.7249, allocations: 63.08 kB / 0.5608 GB, free: 103.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002011/0.7269, allocations: 1.738 MB / 0.5625 GB, free: 102.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7269, allocations: 0 / 0.5625 GB, free: 102.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001963/0.7288, allocations: 0.7964 MB / 0.5633 GB, free: 102.6 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.0005131/0.7293, allocations: 245.1 kB / 0.5635 GB, free: 102.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00456/0.7339, allocations: 3.778 MB / 0.5672 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.7339, allocations: 0 / 0.5672 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002888/0.7368, allocations: 2.384 MB / 0.5696 GB, free: 98.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.7393, allocations: 0.798 MB / 0.5703 GB, free: 97.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00896/0.7483, allocations: 7.85 MB / 0.578 GB, free: 89.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.75, allocations: 2.781 MB / 0.5807 GB, free: 86.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001611/0.7516, allocations: 0.679 MB / 0.5814 GB, free: 85.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.7521, allocations: 187 kB / 0.5816 GB, free: 85.78 MB / 462.1 MB Notification: Performance of SimCode: time 1.303e-06/0.7521, allocations: 0 / 0.5816 GB, free: 85.78 MB / 462.1 MB Notification: Performance of Templates: time 0.07989/0.832, allocations: 45.26 MB / 0.6258 GB, free: 41.09 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches