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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001874/0.001874, allocations: 117 kB / 21.18 MB, free: 0.6289 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.0024/0.0024, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.369/1.369, allocations: 230.5 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] 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=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_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=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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "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.001868/0.001868, allocations: 67.84 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2414, allocations: 53.32 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01534/0.2567, allocations: 12.99 MB / 445.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008884/0.2656, allocations: 4.296 MB / 449.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/0.268, allocations: 75.69 kB / 449.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.271, allocations: 1.025 MB / 450.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.2751, allocations: 1.235 MB / 451.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2766, allocations: 0.5266 MB / 452.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00623/0.2828, allocations: 4.649 MB / 456.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003136/0.286, allocations: 2.069 MB / 458.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.2901, allocations: 2.14 MB / 461.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004584/0.2947, allocations: 2.627 MB / 463.7 MB, free: 7.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.2962, allocations: 0.5508 MB / 464.3 MB, free: 7.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.2984, allocations: 0.6561 MB / 464.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002009/0.3004, allocations: 1.543 MB / 466.5 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003791/0.3042, allocations: 2.485 MB / 468.9 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00968/0.3139, allocations: 7.459 MB / 476.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3139, allocations: 0 / 476.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3139, allocations: 0 / 476.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000247/0.3142, allocations: 4 kB / 476.4 MB, free: 10.82 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01228/0.3264, allocations: 4.827 MB / 481.2 MB, free: 5.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3265, allocations: 12.03 kB / 481.2 MB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.3283, allocations: 0.5526 MB / 481.8 MB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005822/0.3341, allocations: 2.6 MB / 484.4 MB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002574/0.3344, allocations: 267 kB / 484.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008716/0.3353, allocations: 363.9 kB / 485 MB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009727/0.345, allocations: 5.021 MB / 490 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.079e-05/0.3451, allocations: 15.89 kB / 490 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003557/0.3454, allocations: 140 kB / 490.2 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/0.3456, allocations: 187 kB / 490.4 MB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008728/0.3544, allocations: 4.298 MB / 494.7 MB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02857/0.3829, allocations: 14.76 MB / 0.4975 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005027/0.388, allocations: 4.061 MB / 0.5014 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003376/0.3914, allocations: 1.873 MB / 0.5033 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.3917, allocations: 139 kB / 0.5034 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/0.3917, allocations: 52.56 kB / 0.5035 GB, free: 2.797 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.047e-06/0.3917, allocations: 0 / 0.5035 GB, free: 2.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02125/0.413, allocations: 9.993 MB / 0.5132 GB, free: 8.695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.413, allocations: 77.39 kB / 0.5133 GB, free: 8.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/0.4171, allocations: 2.518 MB / 0.5158 GB, free: 6.066 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003574/0.4175, allocations: 61.7 kB / 0.5158 GB, free: 6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001358/0.4189, allocations: 1.658 MB / 0.5174 GB, free: 4.324 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008327/0.4197, allocations: 0.7708 MB / 0.5182 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006998/0.4204, allocations: 420.5 kB / 0.5186 GB, free: 3.129 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4205, allocations: 305.1 kB / 0.5189 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/0.4226, allocations: 1.297 MB / 0.5201 GB, free: 1.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/0.4251, allocations: 1.778 MB / 0.5219 GB, free: 15.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00469/0.4298, allocations: 3.215 MB / 0.525 GB, free: 12.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.4298, allocations: 4 kB / 0.525 GB, free: 12.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007422/0.4372, allocations: 4.076 MB / 0.529 GB, free: 8.059 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.4373, allocations: 11.98 kB / 0.529 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.4373, allocations: 20.45 kB / 0.529 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002807/0.4401, allocations: 0.8756 MB / 0.5299 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/0.4423, allocations: 0.5227 MB / 0.5304 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2184/0.6607, allocations: 9.473 MB / 0.5397 GB, free: 96.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.6629, allocations: 115.9 kB / 0.5398 GB, free: 96.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/0.6631, allocations: 91.22 kB / 0.5398 GB, free: 96.78 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.001951/0.6651, allocations: 1.215 MB / 0.541 GB, free: 96.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006292/0.6657, allocations: 296.1 kB / 0.5413 GB, free: 96.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005818/0.6715, allocations: 3.696 MB / 0.5449 GB, free: 94.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.6716, allocations: 20.62 kB / 0.5449 GB, free: 94.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.6716, allocations: 10.47 kB / 0.545 GB, free: 94.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/0.6716, allocations: 16.61 kB / 0.545 GB, free: 94.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.684, allocations: 8.002 MB / 0.5528 GB, free: 91.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.684, allocations: 8.312 kB / 0.5528 GB, free: 91.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.6855, allocations: 381.9 kB / 0.5532 GB, free: 91.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002639/0.6882, allocations: 0.9201 MB / 0.5541 GB, free: 91.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/0.6884, allocations: 60.14 kB / 0.5541 GB, free: 91.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008427/0.6968, allocations: 11.11 MB / 0.565 GB, free: 81.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6968, allocations: 7.938 kB / 0.565 GB, free: 81.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006655/0.7034, allocations: 5.504 MB / 0.5703 GB, free: 75.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/0.705, allocations: 0.6391 MB / 0.571 GB, free: 75.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004279/0.7054, allocations: 55.92 kB / 0.571 GB, free: 75.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.7067, allocations: 115.9 kB / 0.5711 GB, free: 75.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003546/0.7071, allocations: 181.7 kB / 0.5713 GB, free: 74.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.7072, allocations: 59.98 kB / 0.5714 GB, free: 74.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002162/0.7094, allocations: 1.735 MB / 0.5731 GB, free: 73.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7094, allocations: 0 / 0.5731 GB, free: 73.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002471/0.7119, allocations: 0.8011 MB / 0.5738 GB, free: 72.3 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.0006/0.7125, allocations: 249.7 kB / 0.5741 GB, free: 72.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004882/0.7173, allocations: 3.765 MB / 0.5778 GB, free: 68.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.7173, allocations: 4.25 kB / 0.5778 GB, free: 68.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003112/0.7205, allocations: 2.387 MB / 0.5801 GB, free: 65.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/0.724, allocations: 0.7971 MB / 0.5809 GB, free: 65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.7347, allocations: 7.912 MB / 0.5886 GB, free: 57.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/0.7364, allocations: 2.731 MB / 0.5913 GB, free: 54.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008873/0.7373, allocations: 191.4 kB / 0.5914 GB, free: 54.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7373, allocations: 0 / 0.5914 GB, free: 54.11 MB / 446.1 MB Notification: Performance of Templates: time 0.1496/0.8869, allocations: 142.7 MB / 0.7308 GB, free: 7.371 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 16.711292736697942]