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.0009242/0.0009243, allocations: 94.77 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 203.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.7 MB / 247.5 MB, free: 11.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002413/0.0002412, allocations: 8 kB / 308.4 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09598, allocations: 51.52 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01241/0.1084, allocations: 12.18 MB / 372.1 MB, free: 1.047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1687/0.2772, allocations: 4.166 MB / 376.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.2793, allocations: 72.75 kB / 376.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.2818, allocations: 0.8483 MB / 377.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.2854, allocations: 1.08 MB / 378.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.2875, allocations: 482.2 kB / 378.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007654/0.2951, allocations: 5.324 MB / 384.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003666/0.2988, allocations: 3.03 MB / 387.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003867/0.3027, allocations: 1.59 MB / 388.7 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/0.3064, allocations: 2.178 MB / 390.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007507/0.3072, allocations: 242.4 kB / 391.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.3087, allocations: 353.6 kB / 391.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.3098, allocations: 1.148 MB / 392.6 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002707/0.3125, allocations: 2.085 MB / 394.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004947/0.3175, allocations: 6.018 MB / 400.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3175, allocations: 0 / 400.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3175, allocations: 3.938 kB / 400.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001795/0.3177, allocations: 2.906 kB / 400.7 MB, free: 14.43 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.008582/0.3263, allocations: 3.967 MB / 404.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3263, allocations: 8.031 kB / 404.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.3283, allocations: 0.5385 MB / 405.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/0.3327, allocations: 2.517 MB / 407.7 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.3329, allocations: 265.9 kB / 408 MB, free: 8.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006054/0.3335, allocations: 355.2 kB / 408.3 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008759/0.3423, allocations: 5.045 MB / 413.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.032e-05/0.3424, allocations: 11.92 kB / 413.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.3427, allocations: 147.1 kB / 413.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/0.3429, allocations: 179 kB / 413.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007601/0.3505, allocations: 4.326 MB / 418 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02327/0.3738, allocations: 14.99 MB / 433 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004487/0.3783, allocations: 4.202 MB / 437.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/0.3815, allocations: 2.005 MB / 439.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/0.3818, allocations: 135 kB / 439.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.3818, allocations: 56.56 kB / 439.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.647e-06/0.3819, allocations: 0 / 439.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.01956/0.4014, allocations: 10.07 MB / 449.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.4015, allocations: 73.41 kB / 449.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003706/0.4052, allocations: 2.518 MB / 452.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002933/0.4055, allocations: 69.7 kB / 452.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.4067, allocations: 1.617 MB / 453.8 MB, free: 9.727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006651/0.4073, allocations: 0.7263 MB / 454.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.4076, allocations: 198.3 kB / 454.7 MB, free: 8.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.4077, allocations: 305.1 kB / 455 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.4097, allocations: 1.312 MB / 456.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002287/0.412, allocations: 1.786 MB / 458.1 MB, free: 5.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004381/0.4164, allocations: 3.247 MB / 461.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.4165, allocations: 4 kB / 461.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006996/0.4235, allocations: 4.098 MB / 465.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.4235, allocations: 12 kB / 465.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.4236, allocations: 12 kB / 465.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/0.4264, allocations: 0.8847 MB / 466.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.4286, allocations: 0.5266 MB / 466.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009539/0.4381, allocations: 8.77 MB / 475.6 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.4405, allocations: 123.8 kB / 475.8 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/0.4408, allocations: 87.98 kB / 475.8 MB, free: 2.844 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.002282/0.4431, allocations: 1.223 MB / 477.1 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/0.4437, allocations: 284.5 kB / 477.3 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006332/0.45, allocations: 3.735 MB / 481.1 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.4501, allocations: 24 kB / 481.1 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/0.4501, allocations: 4 kB / 481.1 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/0.4501, allocations: 11.95 kB / 481.1 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.4644, allocations: 8.114 MB / 489.2 MB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.4644, allocations: 4 kB / 489.2 MB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.466, allocations: 395.8 kB / 489.6 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/0.4691, allocations: 0.9327 MB / 490.5 MB, free: 4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/0.4693, allocations: 59.97 kB / 490.6 MB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.4801, allocations: 10.22 MB / 0.4891 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4801, allocations: 4 kB / 0.4891 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009182/0.4893, allocations: 5.546 MB / 0.4945 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/0.4911, allocations: 0.6304 MB / 0.4951 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004682/0.4916, allocations: 51.98 kB / 0.4952 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.493, allocations: 127.9 kB / 0.4953 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004296/0.4934, allocations: 177.7 kB / 0.4955 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.4936, allocations: 67.98 kB / 0.4955 GB, free: 2.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002755/0.4963, allocations: 1.735 MB / 0.4972 GB, free: 0.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4964, allocations: 0 / 0.4972 GB, free: 0.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003405/0.4998, allocations: 0.7969 MB / 0.498 GB, free: 15.95 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.0007154/0.5005, allocations: 237.2 kB / 0.4982 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006802/0.5073, allocations: 3.904 MB / 0.502 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/0.5074, allocations: 4.188 kB / 0.502 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004349/0.5117, allocations: 2.495 MB / 0.5045 GB, free: 9.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005648/0.5174, allocations: 0.7568 MB / 0.5052 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/0.5334, allocations: 9.524 MB / 0.5145 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002783/0.5362, allocations: 2.731 MB / 0.5172 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.5373, allocations: 191.4 kB / 0.5174 GB, free: 11.9 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5373, allocations: 0 / 0.5174 GB, free: 11.9 MB / 446.1 MB Notification: Performance of Templates: time 0.3428/0.8801, allocations: 141.6 MB / 0.6556 GB, free: 27.93 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/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