Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 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.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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 117.2 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001698/0.001698, allocations: 208.8 kB / 19.41 MB, free: 3.645 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.429/1.429, allocations: 227.7 MB / 247.9 MB, free: 10.15 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.001933/0.001933, allocations: 63.91 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.233, allocations: 50.54 MB / 410.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01515/0.2481, allocations: 12.93 MB / 423.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008341/0.2565, allocations: 4.265 MB / 427.4 MB, free: 168 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.2589, allocations: 79.69 kB / 427.5 MB, free: 88 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002397/0.2613, allocations: 1.021 MB / 428.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.2643, allocations: 1.239 MB / 429.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.2653, allocations: 0.5149 MB / 430.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005007/0.2703, allocations: 4.671 MB / 434.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003255/0.2736, allocations: 2.687 MB / 437.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003442/0.277, allocations: 2.14 MB / 439.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003235/0.2802, allocations: 2.565 MB / 442.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007369/0.281, allocations: 0.5547 MB / 442.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.2821, allocations: 0.6522 MB / 443.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.2835, allocations: 1.535 MB / 445.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002655/0.2862, allocations: 2.489 MB / 447.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007812/0.294, allocations: 7.455 MB / 455 MB, free: 4.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.294, allocations: 3.984 kB / 455 MB, free: 4.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.294, allocations: 0 / 455 MB, free: 4.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001257/0.2941, allocations: 4 kB / 455 MB, free: 4.414 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.009403/0.3035, allocations: 4.823 MB / 459.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3035, allocations: 8.031 kB / 459.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.3052, allocations: 0.5487 MB / 460.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004464/0.3096, allocations: 2.612 MB / 463 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.3099, allocations: 267 kB / 463.3 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005908/0.3104, allocations: 352 kB / 463.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008441/0.3189, allocations: 5.025 MB / 468.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.884e-05/0.319, allocations: 11.89 kB / 468.7 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003398/0.3193, allocations: 147.9 kB / 468.8 MB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/0.3195, allocations: 183 kB / 469 MB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007321/0.3268, allocations: 4.298 MB / 473.3 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02276/0.3496, allocations: 14.76 MB / 488 MB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.3541, allocations: 4.058 MB / 492.1 MB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/0.3573, allocations: 1.881 MB / 494 MB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.3576, allocations: 131.1 kB / 494.1 MB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.3576, allocations: 60.5 kB / 494.2 MB, free: 12.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.108e-06/0.3576, allocations: 0 / 494.2 MB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01959/0.3772, allocations: 9.997 MB / 0.4923 GB, free: 2.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.3773, allocations: 73.41 kB / 0.4924 GB, free: 2.195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003878/0.3811, allocations: 2.526 MB / 0.4949 GB, free: 15.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.3813, allocations: 61.7 kB / 0.4949 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.3827, allocations: 1.658 MB / 0.4966 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000731/0.3835, allocations: 0.7708 MB / 0.4973 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007179/0.3842, allocations: 416.5 kB / 0.4977 GB, free: 12.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3843, allocations: 309.1 kB / 0.498 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/0.3865, allocations: 1.297 MB / 0.4993 GB, free: 11.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002492/0.389, allocations: 1.775 MB / 0.501 GB, free: 9.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004683/0.3936, allocations: 3.211 MB / 0.5041 GB, free: 5.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.3937, allocations: 4 kB / 0.5041 GB, free: 5.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007269/0.4009, allocations: 4.069 MB / 0.5081 GB, free: 1.656 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.401, allocations: 16.41 kB / 0.5081 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.401, allocations: 12 kB / 0.5081 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/0.4038, allocations: 0.8833 MB / 0.509 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/0.4058, allocations: 0.5227 MB / 0.5095 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.4169, allocations: 9.491 MB / 0.5188 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.4188, allocations: 111.9 kB / 0.5189 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.4189, allocations: 87.98 kB / 0.519 GB, free: 6.105 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.002041/0.421, allocations: 1.223 MB / 0.5202 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/0.4214, allocations: 290.2 kB / 0.5204 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006366/0.4278, allocations: 3.691 MB / 0.524 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.4278, allocations: 24 kB / 0.5241 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.4278, allocations: 4 kB / 0.5241 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.4279, allocations: 11.95 kB / 0.5241 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.4412, allocations: 8.006 MB / 0.5319 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.4412, allocations: 4.281 kB / 0.5319 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.4429, allocations: 391.4 kB / 0.5323 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003058/0.4459, allocations: 0.933 MB / 0.5332 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.4461, allocations: 55.97 kB / 0.5332 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2134/0.6596, allocations: 11.09 MB / 0.5441 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6596, allocations: 7.562 kB / 0.5441 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008259/0.6678, allocations: 5.506 MB / 0.5495 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/0.6695, allocations: 0.6476 MB / 0.5501 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003443/0.6699, allocations: 50.94 kB / 0.5501 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.6712, allocations: 111.6 kB / 0.5502 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003908/0.6715, allocations: 181.6 kB / 0.5504 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.6717, allocations: 61.11 kB / 0.5505 GB, free: 118.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002023/0.6737, allocations: 1.739 MB / 0.5522 GB, free: 117.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6737, allocations: 0 / 0.5522 GB, free: 117.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001964/0.6757, allocations: 0.7972 MB / 0.553 GB, free: 117.4 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.0004997/0.6762, allocations: 258.3 kB / 0.5532 GB, free: 117.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004541/0.6807, allocations: 3.769 MB / 0.5569 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6807, allocations: 0 / 0.5569 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/0.6837, allocations: 2.392 MB / 0.5592 GB, free: 114 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/0.6867, allocations: 0.7812 MB / 0.56 GB, free: 113.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.6967, allocations: 7.868 MB / 0.5677 GB, free: 106.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.6986, allocations: 2.777 MB / 0.5704 GB, free: 103.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001883/0.7005, allocations: 0.6829 MB / 0.571 GB, free: 102.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.701, allocations: 179.4 kB / 0.5712 GB, free: 102.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/0.701, allocations: 7.609 kB / 0.5712 GB, free: 102.6 MB / 462.1 MB Notification: Performance of Templates: time 0.06054/0.7615, allocations: 45.02 MB / 0.6152 GB, free: 58.11 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches