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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.001397/0.001397, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.449/1.449, allocations: 230.2 MB / 255.2 MB, free: 15.39 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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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=25000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.88 kB / 374.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.109, allocations: 53.31 MB / 427.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01546/0.1244, allocations: 12.99 MB / 440.8 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008996/0.1334, allocations: 4.276 MB / 445.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.1357, allocations: 79.69 kB / 445.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.139, allocations: 1.04 MB / 446.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004086/0.1431, allocations: 1.251 MB / 447.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.1446, allocations: 0.5305 MB / 448 MB, free: 220 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2047/0.3493, allocations: 4.677 MB / 452.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003879/0.3531, allocations: 2.691 MB / 455.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/0.3581, allocations: 2.158 MB / 457.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005566/0.3636, allocations: 2.637 MB / 460.2 MB, free: 8.895 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002254/0.3659, allocations: 0.5521 MB / 460.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.3692, allocations: 0.6535 MB / 461.4 MB, free: 8.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002604/0.3718, allocations: 1.549 MB / 462.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005518/0.3773, allocations: 2.493 MB / 465.4 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.3878, allocations: 7.484 MB / 472.9 MB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.3878, allocations: 0 / 472.9 MB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3878, allocations: 0 / 472.9 MB, free: 3.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002432/0.3881, allocations: 3.938 kB / 472.9 MB, free: 3.734 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.01314/0.4012, allocations: 4.835 MB / 477.8 MB, free: 496 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4012, allocations: 13.3 kB / 477.8 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002555/0.4038, allocations: 0.5498 MB / 478.3 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006822/0.4106, allocations: 2.605 MB / 480.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003667/0.411, allocations: 267.5 kB / 481.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.4124, allocations: 362.8 kB / 481.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.4266, allocations: 5.065 MB / 486.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.4267, allocations: 9.766 kB / 486.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/0.4278, allocations: 147.8 kB / 486.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002178/0.428, allocations: 188 kB / 486.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009659/0.4377, allocations: 4.314 MB / 491.3 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03355/0.4712, allocations: 15.1 MB / 0.4945 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0056/0.4768, allocations: 4.057 MB / 0.4985 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003738/0.4806, allocations: 1.87 MB / 0.5003 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.4809, allocations: 135.1 kB / 0.5004 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.481, allocations: 56.56 kB / 0.5005 GB, free: 2.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 4.017e-06/0.481, allocations: 5.219 kB / 0.5005 GB, free: 2.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02448/0.5055, allocations: 10.01 MB / 0.5102 GB, free: 8.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.5055, allocations: 73.41 kB / 0.5103 GB, free: 8.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005497/0.511, allocations: 2.518 MB / 0.5128 GB, free: 5.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000341/0.5114, allocations: 65.7 kB / 0.5128 GB, free: 5.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.513, allocations: 1.669 MB / 0.5145 GB, free: 4.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009132/0.5139, allocations: 0.7641 MB / 0.5152 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009731/0.5149, allocations: 420.4 kB / 0.5156 GB, free: 3.055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.515, allocations: 301.1 kB / 0.5159 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/0.5175, allocations: 1.305 MB / 0.5172 GB, free: 1.449 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/0.5203, allocations: 1.781 MB / 0.5189 GB, free: 15.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005341/0.5256, allocations: 3.21 MB / 0.522 GB, free: 12.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/0.5257, allocations: 7.938 kB / 0.5221 GB, free: 12.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008009/0.5337, allocations: 4.062 MB / 0.526 GB, free: 8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.5337, allocations: 12 kB / 0.526 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.5337, allocations: 12 kB / 0.526 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/0.5368, allocations: 0.8795 MB / 0.5269 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/0.5392, allocations: 0.5305 MB / 0.5274 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.5519, allocations: 9.482 MB / 0.5367 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/0.5546, allocations: 127 kB / 0.5368 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004762/0.5551, allocations: 87.98 kB / 0.5369 GB, free: 12.47 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.002895/0.558, allocations: 1.221 MB / 0.5381 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009325/0.5589, allocations: 290.2 kB / 0.5384 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007612/0.5665, allocations: 3.699 MB / 0.542 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.5666, allocations: 20 kB / 0.542 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-05/0.5666, allocations: 8 kB / 0.542 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.61e-05/0.5666, allocations: 15.89 kB / 0.542 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/0.5843, allocations: 8.01 MB / 0.5498 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.5843, allocations: 4 kB / 0.5498 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/0.5862, allocations: 387.8 kB / 0.5502 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003502/0.5897, allocations: 0.9252 MB / 0.5511 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000365/0.5901, allocations: 55.97 kB / 0.5512 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/0.6041, allocations: 11.1 MB / 0.562 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.6041, allocations: 4 kB / 0.562 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/0.6155, allocations: 5.506 MB / 0.5674 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002304/0.6178, allocations: 0.6475 MB / 0.568 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/0.6189, allocations: 44 kB / 0.5681 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/0.6211, allocations: 115.9 kB / 0.5682 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/0.6216, allocations: 181.7 kB / 0.5683 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/0.6218, allocations: 63.98 kB / 0.5684 GB, free: 11.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003829/0.6257, allocations: 1.735 MB / 0.5701 GB, free: 9.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6257, allocations: 4 kB / 0.5701 GB, free: 9.676 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004954/0.6306, allocations: 0.8007 MB / 0.5709 GB, free: 8.875 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.0009243/0.6316, allocations: 244.3 kB / 0.5711 GB, free: 8.633 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007931/0.6395, allocations: 3.771 MB / 0.5748 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.6395, allocations: 4 kB / 0.5748 GB, free: 4.777 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004678/0.6442, allocations: 2.382 MB / 0.5771 GB, free: 2.324 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0053/0.6495, allocations: 0.7988 MB / 0.5779 GB, free: 1.543 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/0.6668, allocations: 7.892 MB / 0.5856 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004121/0.6709, allocations: 2.731 MB / 0.5883 GB, free: 6.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.6721, allocations: 191.4 kB / 0.5885 GB, free: 6.652 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6721, allocations: 0 / 0.5885 GB, free: 6.652 MB / 494.1 MB Notification: Performance of Templates: time 0.3572/1.029, allocations: 143.1 MB / 0.7282 GB, free: 115.8 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.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.633273621089756]