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.001678/0.001678, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002276/0.002276, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.526/1.526, allocations: 230.3 MB / 258 MB, free: 8.238 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.001944/0.001944, allocations: 64.08 kB / 378.8 MB, free: 2.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2495, allocations: 53.37 MB / 432.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01578/0.2653, allocations: 13.05 MB / 445.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00923/0.2745, allocations: 4.307 MB / 449.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.2766, allocations: 99.38 kB / 449.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003158/0.2797, allocations: 1.025 MB / 450.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005143/0.2849, allocations: 1.258 MB / 451.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.2869, allocations: 0.5421 MB / 452.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007562/0.2945, allocations: 4.688 MB / 457.1 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004656/0.2992, allocations: 2.074 MB / 459.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004658/0.3038, allocations: 2.208 MB / 461.4 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005117/0.3089, allocations: 2.635 MB / 464.1 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002145/0.3111, allocations: 0.5547 MB / 464.6 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.314, allocations: 0.6639 MB / 465.3 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002933/0.3169, allocations: 1.543 MB / 466.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005148/0.3221, allocations: 2.497 MB / 469.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.3331, allocations: 7.482 MB / 476.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3331, allocations: 0 / 476.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3331, allocations: 0 / 476.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002893/0.3334, allocations: 0 / 476.8 MB, free: 10.24 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.01435/0.3477, allocations: 4.767 MB / 481.6 MB, free: 5.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3478, allocations: 8.031 kB / 481.6 MB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.3503, allocations: 0.5565 MB / 482.1 MB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006179/0.3565, allocations: 2.544 MB / 484.7 MB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.3568, allocations: 267.4 kB / 484.9 MB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/0.3583, allocations: 359.8 kB / 485.3 MB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.3707, allocations: 5.053 MB / 490.3 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.3708, allocations: 7.984 kB / 490.3 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007551/0.3716, allocations: 148 kB / 490.5 MB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002385/0.3718, allocations: 195 kB / 490.7 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009869/0.3817, allocations: 4.318 MB / 495 MB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/0.4131, allocations: 14.92 MB / 0.498 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005145/0.4182, allocations: 2.71 MB / 0.5006 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00435/0.4226, allocations: 1.87 MB / 0.5024 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.4229, allocations: 61.95 kB / 0.5025 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.917e-05/0.423, allocations: 52.56 kB / 0.5025 GB, free: 3.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.519e-06/0.423, allocations: 4 kB / 0.5025 GB, free: 3.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02337/0.4464, allocations: 9.616 MB / 0.5119 GB, free: 10.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.4464, allocations: 77.41 kB / 0.512 GB, free: 10.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00484/0.4513, allocations: 2.514 MB / 0.5145 GB, free: 7.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003882/0.4517, allocations: 61.7 kB / 0.5145 GB, free: 7.508 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.4534, allocations: 1.674 MB / 0.5162 GB, free: 5.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00114/0.4545, allocations: 0.7669 MB / 0.5169 GB, free: 5.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001417/0.4559, allocations: 424.4 kB / 0.5173 GB, free: 4.621 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4561, allocations: 305.1 kB / 0.5176 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/0.4586, allocations: 1.301 MB / 0.5189 GB, free: 3.016 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003236/0.4618, allocations: 1.778 MB / 0.5206 GB, free: 1.051 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007778/0.4696, allocations: 3.215 MB / 0.5238 GB, free: 13.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.757e-05/0.4697, allocations: 7.938 kB / 0.5238 GB, free: 13.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01308/0.4827, allocations: 4.069 MB / 0.5277 GB, free: 9.551 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.4828, allocations: 8 kB / 0.5277 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.267e-05/0.4828, allocations: 16 kB / 0.5278 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0047/0.4875, allocations: 0.8791 MB / 0.5286 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/0.4913, allocations: 0.5266 MB / 0.5291 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2578/0.7492, allocations: 9.162 MB / 0.5381 GB, free: 96.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.7516, allocations: 120.1 kB / 0.5382 GB, free: 96.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/0.7519, allocations: 84.89 kB / 0.5383 GB, free: 96.42 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.002242/0.7541, allocations: 1.227 MB / 0.5395 GB, free: 96.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007431/0.7548, allocations: 289 kB / 0.5397 GB, free: 96.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006541/0.7614, allocations: 3.691 MB / 0.5434 GB, free: 95.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.7614, allocations: 22 kB / 0.5434 GB, free: 95.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/0.7614, allocations: 11.5 kB / 0.5434 GB, free: 95.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.459e-05/0.7615, allocations: 10.03 kB / 0.5434 GB, free: 95.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.7772, allocations: 8.013 MB / 0.5512 GB, free: 92.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.7772, allocations: 3.75 kB / 0.5512 GB, free: 92.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/0.7793, allocations: 382 kB / 0.5516 GB, free: 92.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003899/0.7832, allocations: 0.922 MB / 0.5525 GB, free: 91.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003653/0.7836, allocations: 62.16 kB / 0.5525 GB, free: 91.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/0.7964, allocations: 10.69 MB / 0.563 GB, free: 82.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.7964, allocations: 11.88 kB / 0.563 GB, free: 82.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/0.8071, allocations: 5.507 MB / 0.5684 GB, free: 77.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/0.8092, allocations: 0.5791 MB / 0.5689 GB, free: 77.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000607/0.8098, allocations: 55.92 kB / 0.569 GB, free: 76.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.8114, allocations: 115.9 kB / 0.5691 GB, free: 76.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003921/0.8118, allocations: 189.6 kB / 0.5693 GB, free: 76.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.812, allocations: 63.98 kB / 0.5693 GB, free: 76.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002033/0.814, allocations: 1.739 MB / 0.571 GB, free: 74.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.814, allocations: 0 / 0.571 GB, free: 74.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002272/0.8163, allocations: 0.7988 MB / 0.5718 GB, free: 74.05 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.0006339/0.8169, allocations: 237.9 kB / 0.572 GB, free: 73.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005162/0.8221, allocations: 3.614 MB / 0.5756 GB, free: 70.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8221, allocations: 4 kB / 0.5756 GB, free: 70.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003209/0.8253, allocations: 2.314 MB / 0.5778 GB, free: 67.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/0.8293, allocations: 0.7876 MB / 0.5786 GB, free: 67.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.8411, allocations: 7.926 MB / 0.5863 GB, free: 59.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/0.8439, allocations: 2.786 MB / 0.5891 GB, free: 56.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00224/0.8461, allocations: 0.6829 MB / 0.5897 GB, free: 55.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007761/0.8469, allocations: 179.4 kB / 0.5899 GB, free: 55.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/0.8469, allocations: 0 / 0.5899 GB, free: 55.4 MB / 446.1 MB Notification: Performance of Templates: time 0.06242/0.9093, allocations: 46.72 MB / 0.6355 GB, free: 9.164 MB / 446.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/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: 8.196717856451869]