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.001281/0.001281, allocations: 119.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 206.7 kB / 19.41 MB, free: 3.664 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.416/1.416, allocations: 227.7 MB / 247.9 MB, free: 10.24 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.001973/0.001973, allocations: 59.91 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.251, allocations: 50.55 MB / 410.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01627/0.2673, allocations: 12.94 MB / 423.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008712/0.276, allocations: 4.268 MB / 427.5 MB, free: 160 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.2777, allocations: 83.62 kB / 427.6 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.2801, allocations: 1.025 MB / 428.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.2834, allocations: 1.231 MB / 429.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.2846, allocations: 0.5188 MB / 430.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005636/0.2902, allocations: 4.653 MB / 435 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003583/0.2938, allocations: 2.694 MB / 437.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003759/0.2976, allocations: 2.15 MB / 439.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003717/0.3013, allocations: 2.557 MB / 442.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000951/0.3023, allocations: 0.5547 MB / 442.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.3036, allocations: 0.66 MB / 443.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001625/0.3053, allocations: 1.527 MB / 445.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00334/0.3086, allocations: 2.489 MB / 447.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008691/0.3173, allocations: 7.459 MB / 455.1 MB, free: 4.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3173, allocations: 0 / 455.1 MB, free: 4.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3173, allocations: 8 kB / 455.1 MB, free: 4.402 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001438/0.3174, allocations: 0 / 455.1 MB, free: 4.402 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.01065/0.3281, allocations: 4.823 MB / 459.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3281, allocations: 8.031 kB / 459.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.3298, allocations: 0.5487 MB / 460.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005499/0.3353, allocations: 2.612 MB / 463.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/0.3356, allocations: 271 kB / 463.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000771/0.3364, allocations: 347.9 kB / 463.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009247/0.3456, allocations: 5.025 MB / 468.7 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.569e-05/0.3457, allocations: 7.891 kB / 468.7 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003748/0.346, allocations: 151.9 kB / 468.9 MB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/0.3462, allocations: 179.1 kB / 469 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008562/0.3548, allocations: 4.302 MB / 473.3 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02966/0.3845, allocations: 14.76 MB / 488.1 MB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/0.3896, allocations: 4.058 MB / 492.2 MB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003586/0.3931, allocations: 1.877 MB / 494 MB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.3934, allocations: 131.1 kB / 494.2 MB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/0.3935, allocations: 60.56 kB / 494.2 MB, free: 12.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.436e-06/0.3935, allocations: 0 / 494.2 MB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02202/0.4155, allocations: 9.989 MB / 0.4924 GB, free: 2.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.4156, allocations: 77.41 kB / 0.4925 GB, free: 2.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/0.4197, allocations: 2.522 MB / 0.4949 GB, free: 15.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004025/0.4201, allocations: 61.7 kB / 0.495 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.4216, allocations: 1.658 MB / 0.4966 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009059/0.4225, allocations: 0.7746 MB / 0.4974 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000755/0.4232, allocations: 420.5 kB / 0.4978 GB, free: 12.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4234, allocations: 301.1 kB / 0.4981 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/0.4256, allocations: 1.301 MB / 0.4993 GB, free: 11.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00271/0.4284, allocations: 1.778 MB / 0.5011 GB, free: 9.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005282/0.4336, allocations: 3.212 MB / 0.5042 GB, free: 5.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.4337, allocations: 4 kB / 0.5042 GB, free: 5.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007888/0.4415, allocations: 4.069 MB / 0.5082 GB, free: 1.656 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.4416, allocations: 11.94 kB / 0.5082 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/0.4416, allocations: 20 kB / 0.5082 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/0.4445, allocations: 0.8794 MB / 0.5091 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/0.4469, allocations: 0.5266 MB / 0.5096 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.4589, allocations: 9.472 MB / 0.5188 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.461, allocations: 123.9 kB / 0.5189 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/0.4613, allocations: 80 kB / 0.519 GB, free: 6.117 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.002282/0.4636, allocations: 1.215 MB / 0.5202 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007331/0.4644, allocations: 294.1 kB / 0.5205 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007096/0.4714, allocations: 3.695 MB / 0.5241 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.4715, allocations: 20 kB / 0.5241 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/0.4715, allocations: 8 kB / 0.5241 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/0.4715, allocations: 15.95 kB / 0.5241 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.4874, allocations: 8.01 MB / 0.532 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.4874, allocations: 11.97 kB / 0.532 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.4893, allocations: 379.5 kB / 0.5323 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/0.4925, allocations: 0.9328 MB / 0.5332 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/0.4928, allocations: 51.97 kB / 0.5333 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2013/0.6941, allocations: 11.1 MB / 0.5441 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.6941, allocations: 8.953 kB / 0.5441 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007822/0.7019, allocations: 5.505 MB / 0.5495 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/0.7036, allocations: 0.6416 MB / 0.5501 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005185/0.7041, allocations: 54.47 kB / 0.5502 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.7055, allocations: 115.6 kB / 0.5503 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/0.7059, allocations: 182.3 kB / 0.5505 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.706, allocations: 63.83 kB / 0.5505 GB, free: 118.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002251/0.7082, allocations: 1.733 MB / 0.5522 GB, free: 117.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7082, allocations: 0 / 0.5522 GB, free: 117.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002222/0.7105, allocations: 0.8002 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.0005377/0.711, allocations: 252 kB / 0.5533 GB, free: 117.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005188/0.7162, allocations: 3.77 MB / 0.5569 GB, free: 115.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.7162, allocations: 7.906 kB / 0.5569 GB, free: 115.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003206/0.7194, allocations: 2.385 MB / 0.5593 GB, free: 114 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.7226, allocations: 0.7926 MB / 0.5601 GB, free: 113.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.7328, allocations: 7.854 MB / 0.5677 GB, free: 106.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/0.7346, allocations: 2.774 MB / 0.5704 GB, free: 103.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001843/0.7365, allocations: 0.6829 MB / 0.5711 GB, free: 102.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.737, allocations: 183.4 kB / 0.5713 GB, free: 102.6 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.737, allocations: 3.609 kB / 0.5713 GB, free: 102.6 MB / 462.1 MB Notification: Performance of Templates: time 0.06006/0.7971, 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.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/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