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.001855/0.001855, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.002247/0.002247, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.509/1.509, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.0019/0.0019, allocations: 67.88 kB / 374.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1143, allocations: 53.32 MB / 427.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.215/0.3293, allocations: 12.99 MB / 440.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00744/0.3367, allocations: 4.289 MB / 445.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.3391, allocations: 80.75 kB / 445.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.3419, allocations: 1.033 MB / 446.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.346, allocations: 1.244 MB / 447.5 MB, free: 392 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.3476, allocations: 0.5295 MB / 448 MB, free: 44 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007173/0.3548, allocations: 4.686 MB / 452.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004304/0.3591, allocations: 2.689 MB / 455.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004997/0.3641, allocations: 2.169 MB / 457.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005287/0.3693, allocations: 2.637 MB / 460.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001676/0.371, allocations: 0.5511 MB / 460.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.3737, allocations: 0.6629 MB / 461.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002538/0.3762, allocations: 1.539 MB / 463 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005463/0.3817, allocations: 2.497 MB / 465.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.3929, allocations: 7.485 MB / 473 MB, free: 2.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.3929, allocations: 2.969 kB / 473 MB, free: 2.062 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3929, allocations: 4 kB / 473 MB, free: 2.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002789/0.3931, allocations: 0 / 473 MB, free: 2.059 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01376/0.4069, allocations: 4.838 MB / 477.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4069, allocations: 9.469 kB / 477.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.4091, allocations: 0.5493 MB / 478.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006409/0.4155, allocations: 2.608 MB / 481 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.4158, allocations: 263.6 kB / 481.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.4169, allocations: 371.8 kB / 481.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.4282, allocations: 5.064 MB / 486.7 MB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.261e-05/0.4283, allocations: 3.984 kB / 486.7 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000424/0.4287, allocations: 144 kB / 486.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002206/0.4289, allocations: 191.1 kB / 487 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009055/0.438, allocations: 4.314 MB / 491.3 MB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02929/0.4673, allocations: 15.11 MB / 0.4945 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005124/0.4724, allocations: 4.044 MB / 0.4985 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003491/0.4759, allocations: 1.885 MB / 0.5003 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/0.4762, allocations: 131.1 kB / 0.5005 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/0.4763, allocations: 56.94 kB / 0.5005 GB, free: 11.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.927e-06/0.4763, allocations: 0 / 0.5005 GB, free: 11.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02267/0.4989, allocations: 10 MB / 0.5103 GB, free: 1.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.499, allocations: 73.41 kB / 0.5103 GB, free: 1.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004416/0.5034, allocations: 2.518 MB / 0.5128 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003772/0.5038, allocations: 69.64 kB / 0.5129 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.5053, allocations: 1.67 MB / 0.5145 GB, free: 12.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009914/0.5063, allocations: 0.7592 MB / 0.5152 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000762/0.5071, allocations: 420.4 kB / 0.5156 GB, free: 11.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5072, allocations: 305.1 kB / 0.5159 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.5095, allocations: 1.301 MB / 0.5172 GB, free: 10.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/0.5122, allocations: 1.775 MB / 0.5189 GB, free: 8.062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005523/0.5177, allocations: 3.215 MB / 0.5221 GB, free: 4.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.5178, allocations: 7.938 kB / 0.5221 GB, free: 4.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008132/0.5259, allocations: 4.065 MB / 0.5261 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.5259, allocations: 12.47 kB / 0.5261 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.526, allocations: 16 kB / 0.5261 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/0.5289, allocations: 0.8794 MB / 0.5269 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/0.5312, allocations: 0.5266 MB / 0.5275 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.5434, allocations: 9.485 MB / 0.5367 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.5459, allocations: 115.8 kB / 0.5368 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/0.5462, allocations: 87.98 kB / 0.5369 GB, free: 5.016 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.002618/0.5489, allocations: 1.227 MB / 0.5381 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008206/0.5497, allocations: 294.1 kB / 0.5384 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00719/0.5569, allocations: 3.691 MB / 0.542 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.5569, allocations: 20 kB / 0.542 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/0.5569, allocations: 11.98 kB / 0.542 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/0.5569, allocations: 11.91 kB / 0.542 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.5742, allocations: 8.006 MB / 0.5499 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.5742, allocations: 4.344 kB / 0.5499 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/0.576, allocations: 391.4 kB / 0.5502 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003259/0.5793, allocations: 0.9369 MB / 0.5512 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003074/0.5796, allocations: 55.97 kB / 0.5512 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/0.593, allocations: 11.1 MB / 0.562 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.593, allocations: 4 kB / 0.5621 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009953/0.6029, allocations: 5.51 MB / 0.5674 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/0.6052, allocations: 0.6436 MB / 0.5681 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006636/0.6058, allocations: 48 kB / 0.5681 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.6074, allocations: 115.9 kB / 0.5682 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004802/0.6079, allocations: 185.7 kB / 0.5684 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.608, allocations: 59.98 kB / 0.5685 GB, free: 3.895 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00311/0.6112, allocations: 1.735 MB / 0.5701 GB, free: 2.148 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6112, allocations: 0 / 0.5701 GB, free: 2.148 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003479/0.6146, allocations: 0.8046 MB / 0.5709 GB, free: 1.344 MB / 478.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.0006551/0.6153, allocations: 236 kB / 0.5712 GB, free: 1.113 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006756/0.622, allocations: 3.777 MB / 0.5748 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.6221, allocations: 5.812 kB / 0.5749 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004394/0.6265, allocations: 2.374 MB / 0.5772 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/0.6306, allocations: 0.7954 MB / 0.5779 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.6466, allocations: 7.886 MB / 0.5856 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003356/0.65, allocations: 2.739 MB / 0.5883 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009954/0.651, allocations: 195.4 kB / 0.5885 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.084e-06/0.651, allocations: 0 / 0.5885 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.3249/0.9759, allocations: 143.1 MB / 0.7282 GB, free: 72.08 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_2/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_2/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: 17.55540813098196]