Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001738/0.001738, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 59.91 kB / 379 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2464, allocations: 53.41 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01527/0.2617, allocations: 11.37 MB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008639/0.2703, allocations: 4.05 MB / 447.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.2722, allocations: 103.3 kB / 448 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.2749, allocations: 0.9627 MB / 448.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003847/0.2788, allocations: 1.262 MB / 450.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.2801, allocations: 0.5305 MB / 450.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005779/0.2859, allocations: 4.692 MB / 455.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.2888, allocations: 1.999 MB / 457.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003811/0.2926, allocations: 2.209 MB / 459.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003784/0.2964, allocations: 2.545 MB / 462.2 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008746/0.2973, allocations: 0.5547 MB / 462.7 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.2986, allocations: 0.6522 MB / 463.4 MB, free: 7.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.3001, allocations: 1.55 MB / 464.9 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002484/0.3026, allocations: 2.019 MB / 466.9 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008027/0.3106, allocations: 7.533 MB / 474.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3106, allocations: 0 / 474.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3106, allocations: 0 / 474.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001255/0.3108, allocations: 0 / 474.5 MB, free: 12.29 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.009525/0.3203, allocations: 4.756 MB / 479.2 MB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3203, allocations: 11.98 kB / 479.2 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.3219, allocations: 0.5448 MB / 479.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005312/0.3272, allocations: 2.556 MB / 482.3 MB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.3275, allocations: 267.4 kB / 482.6 MB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005793/0.3281, allocations: 347.9 kB / 482.9 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008838/0.3369, allocations: 5.311 MB / 488.2 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.844e-05/0.337, allocations: 11.92 kB / 488.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003476/0.3373, allocations: 144 kB / 488.4 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002216/0.3376, allocations: 199.1 kB / 488.6 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007737/0.3453, allocations: 4.302 MB / 492.9 MB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02401/0.3693, allocations: 12.9 MB / 0.4939 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/0.3736, allocations: 2.688 MB / 0.4966 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/0.3769, allocations: 1.874 MB / 0.4984 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.3772, allocations: 53.97 kB / 0.4984 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.927e-05/0.3772, allocations: 56.56 kB / 0.4985 GB, free: 7.734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.177e-06/0.3772, allocations: 0 / 0.4985 GB, free: 7.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02048/0.3977, allocations: 9.593 MB / 0.5079 GB, free: 14.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.3978, allocations: 73.41 kB / 0.5079 GB, free: 14.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003502/0.4013, allocations: 2.203 MB / 0.5101 GB, free: 11.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002338/0.4015, allocations: 65.7 kB / 0.5101 GB, free: 11.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.4029, allocations: 1.68 MB / 0.5118 GB, free: 10.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007594/0.4036, allocations: 0.7708 MB / 0.5125 GB, free: 9.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007179/0.4044, allocations: 416.5 kB / 0.5129 GB, free: 8.844 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4045, allocations: 305.1 kB / 0.5132 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.4067, allocations: 1.297 MB / 0.5145 GB, free: 7.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/0.4093, allocations: 1.778 MB / 0.5162 GB, free: 5.277 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004933/0.4143, allocations: 3.215 MB / 0.5194 GB, free: 1.879 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.4143, allocations: 4 kB / 0.5194 GB, free: 1.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007396/0.4217, allocations: 4.042 MB / 0.5233 GB, free: 13.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.4217, allocations: 14.5 kB / 0.5233 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.4217, allocations: 12 kB / 0.5233 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/0.4245, allocations: 0.8757 MB / 0.5242 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/0.4267, allocations: 0.5304 MB / 0.5247 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.4383, allocations: 9.012 MB / 0.5335 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.4403, allocations: 119.9 kB / 0.5336 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.4405, allocations: 83.98 kB / 0.5337 GB, free: 2.852 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.002353/0.4429, allocations: 1.223 MB / 0.5349 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006336/0.4435, allocations: 258.4 kB / 0.5352 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1874/0.631, allocations: 3.672 MB / 0.5387 GB, free: 99.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.631, allocations: 25.38 kB / 0.5388 GB, free: 99.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.631, allocations: 9.203 kB / 0.5388 GB, free: 99.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.631, allocations: 13.7 kB / 0.5388 GB, free: 99.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.6425, allocations: 7.11 MB / 0.5457 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.6425, allocations: 7.562 kB / 0.5457 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.6439, allocations: 380.6 kB / 0.5461 GB, free: 97.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/0.6466, allocations: 0.9308 MB / 0.547 GB, free: 96.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.6467, allocations: 56.55 kB / 0.5471 GB, free: 96.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008325/0.655, allocations: 10.49 MB / 0.5573 GB, free: 88.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.655, allocations: 5.812 kB / 0.5573 GB, free: 88.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006726/0.6618, allocations: 5.48 MB / 0.5627 GB, free: 83.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/0.6633, allocations: 0.5384 MB / 0.5632 GB, free: 82.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/0.6637, allocations: 51.97 kB / 0.5632 GB, free: 82.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.6649, allocations: 111.9 kB / 0.5633 GB, free: 82.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/0.6653, allocations: 197.6 kB / 0.5635 GB, free: 82.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.6654, allocations: 59.98 kB / 0.5636 GB, free: 82.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.6672, allocations: 1.493 MB / 0.5651 GB, free: 80.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6672, allocations: 0 / 0.5651 GB, free: 80.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002082/0.6692, allocations: 0.7956 MB / 0.5658 GB, free: 80.12 MB / 446.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.0005066/0.6697, allocations: 236 kB / 0.5661 GB, free: 79.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004657/0.6744, allocations: 3.624 MB / 0.5696 GB, free: 76.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6744, allocations: 0 / 0.5696 GB, free: 76.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002975/0.6774, allocations: 2.313 MB / 0.5719 GB, free: 73.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.6801, allocations: 0.6332 MB / 0.5725 GB, free: 73.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.6903, allocations: 7.87 MB / 0.5802 GB, free: 65.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.692, allocations: 2.196 MB / 0.5823 GB, free: 63.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008358/0.6929, allocations: 175.4 kB / 0.5825 GB, free: 63 MB / 446.1 MB Notification: Performance of SimCode: time 1.713e-06/0.6929, allocations: 0 / 0.5825 GB, free: 63 MB / 446.1 MB Notification: Performance of Templates: time 0.1362/0.8291, allocations: 141.7 MB / 0.7208 GB, free: 1.242 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.272529082838446]