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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001741/0.001741, allocations: 116.7 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.002169/0.002169, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.435/1.435, allocations: 230.5 MB / 255.4 MB, free: 15.2 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.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_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=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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.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.001882/0.001882, allocations: 75.83 kB / 374.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1049, allocations: 53.32 MB / 428.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.2137/0.3186, allocations: 12.97 MB / 441.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007716/0.3263, allocations: 4.281 MB / 445.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002575/0.3289, allocations: 79.19 kB / 445.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003147/0.332, allocations: 1.022 MB / 446.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.3368, allocations: 1.239 MB / 447.7 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.3384, allocations: 0.5186 MB / 448.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007302/0.3458, allocations: 4.644 MB / 452.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004665/0.3504, allocations: 2.698 MB / 455.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006004/0.3564, allocations: 2.14 MB / 457.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006797/0.3632, allocations: 2.63 MB / 460.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002487/0.3657, allocations: 0.5518 MB / 460.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.3694, allocations: 0.6562 MB / 461.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003496/0.3728, allocations: 1.54 MB / 463.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006525/0.3794, allocations: 2.485 MB / 465.6 MB, free: 7.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.391, allocations: 7.47 MB / 473 MB, free: 2.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.391, allocations: 1.625 kB / 473 MB, free: 2.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.391, allocations: 3.938 kB / 473 MB, free: 2.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002244/0.3912, allocations: 0 / 473 MB, free: 2.016 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.01374/0.405, allocations: 4.821 MB / 477.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.405, allocations: 9.469 kB / 477.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.4072, allocations: 0.5555 MB / 478.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005825/0.413, allocations: 2.602 MB / 481 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.4132, allocations: 271 kB / 481.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008951/0.4141, allocations: 351.9 kB / 481.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.425, allocations: 5.029 MB / 486.7 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.978e-05/0.4251, allocations: 15.94 kB / 486.7 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004142/0.4255, allocations: 144.7 kB / 486.8 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002098/0.4257, allocations: 179.1 kB / 487 MB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00911/0.4348, allocations: 4.294 MB / 491.3 MB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03028/0.4651, allocations: 14.76 MB / 0.4942 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005338/0.4704, allocations: 4.062 MB / 0.4981 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003354/0.4738, allocations: 1.877 MB / 0.5 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.4741, allocations: 131.1 kB / 0.5001 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.578e-05/0.4741, allocations: 60.55 kB / 0.5002 GB, free: 11.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.499e-06/0.4741, allocations: 0 / 0.5002 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02172/0.4959, allocations: 9.993 MB / 0.5099 GB, free: 1.684 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.4959, allocations: 77.41 kB / 0.51 GB, free: 1.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004139/0.5001, allocations: 2.518 MB / 0.5125 GB, free: 15.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.5003, allocations: 65.7 kB / 0.5125 GB, free: 14.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.5017, allocations: 1.662 MB / 0.5141 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007931/0.5025, allocations: 0.7668 MB / 0.5149 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007263/0.5032, allocations: 412.5 kB / 0.5153 GB, free: 12.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5033, allocations: 305.1 kB / 0.5156 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.5056, allocations: 1.305 MB / 0.5168 GB, free: 10.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002734/0.5083, allocations: 1.775 MB / 0.5186 GB, free: 8.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004967/0.5133, allocations: 3.215 MB / 0.5217 GB, free: 5.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.5133, allocations: 8 kB / 0.5217 GB, free: 5.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007571/0.5209, allocations: 4.069 MB / 0.5257 GB, free: 1.051 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.5209, allocations: 8 kB / 0.5257 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/0.5209, allocations: 16 kB / 0.5257 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/0.5238, allocations: 0.8774 MB / 0.5266 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.526, allocations: 0.5265 MB / 0.5271 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.538, allocations: 9.473 MB / 0.5363 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/0.5405, allocations: 127.8 kB / 0.5365 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.5408, allocations: 80 kB / 0.5365 GB, free: 5.516 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.002588/0.5434, allocations: 1.216 MB / 0.5377 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007352/0.5441, allocations: 294.1 kB / 0.538 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007024/0.5511, allocations: 3.699 MB / 0.5416 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.5512, allocations: 23.98 kB / 0.5416 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.5512, allocations: 8 kB / 0.5417 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.5512, allocations: 7.969 kB / 0.5417 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.5668, allocations: 8.014 MB / 0.5495 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.5668, allocations: 4 kB / 0.5495 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/0.5685, allocations: 387.8 kB / 0.5499 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003187/0.5717, allocations: 0.9251 MB / 0.5508 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.5719, allocations: 59.98 kB / 0.5508 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/0.5851, allocations: 11.1 MB / 0.5617 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.5851, allocations: 3.938 kB / 0.5617 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009578/0.5947, allocations: 5.506 MB / 0.567 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/0.5966, allocations: 0.6436 MB / 0.5677 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005846/0.5972, allocations: 51.98 kB / 0.5677 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.5987, allocations: 115.9 kB / 0.5678 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004896/0.5992, allocations: 177.7 kB / 0.568 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/0.5993, allocations: 63.98 kB / 0.5681 GB, free: 4.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002832/0.6022, allocations: 1.739 MB / 0.5698 GB, free: 2.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6022, allocations: 4 kB / 0.5698 GB, free: 2.656 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002998/0.6052, allocations: 0.8007 MB / 0.5705 GB, free: 1.855 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.0006509/0.6058, allocations: 240.3 kB / 0.5708 GB, free: 1.621 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006573/0.6124, allocations: 3.771 MB / 0.5745 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6124, allocations: 192 / 0.5745 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004181/0.6166, allocations: 2.39 MB / 0.5768 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003988/0.6206, allocations: 0.7917 MB / 0.5776 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.6349, allocations: 7.869 MB / 0.5852 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/0.6377, allocations: 2.731 MB / 0.5879 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.6387, allocations: 191.4 kB / 0.5881 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of SimCode: time 1.143e-06/0.6387, allocations: 0 / 0.5881 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.3255/0.9643, allocations: 142.7 MB / 0.7275 GB, free: 72.9 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.581797593971714]