Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 47.92 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2531, allocations: 52.17 MB / 423.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01502/0.2682, allocations: 11.32 MB / 435.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008722/0.2769, allocations: 3.972 MB / 439.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.2789, allocations: 99.38 kB / 439.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002736/0.2816, allocations: 0.951 MB / 440.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.2857, allocations: 1.243 MB / 441.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.2871, allocations: 0.5149 MB / 442 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005703/0.2928, allocations: 4.626 MB / 446.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003023/0.2959, allocations: 2.011 MB / 448.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004028/0.2999, allocations: 2.185 MB / 450.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004202/0.3041, allocations: 2.53 MB / 453.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.3052, allocations: 0.5508 MB / 453.9 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.3068, allocations: 0.6405 MB / 454.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001544/0.3083, allocations: 1.539 MB / 456 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003072/0.3114, allocations: 2.007 MB / 458 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008727/0.3201, allocations: 7.49 MB / 465.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3201, allocations: 0 / 465.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3201, allocations: 0 / 465.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002219/0.3203, allocations: 0 / 465.5 MB, free: 4.586 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.01119/0.3315, allocations: 4.728 MB / 470.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3316, allocations: 12.03 kB / 470.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.3329, allocations: 0.5136 MB / 470.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005333/0.3382, allocations: 2.532 MB / 473.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.3385, allocations: 267 kB / 473.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005761/0.339, allocations: 355.9 kB / 473.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008354/0.3474, allocations: 5.284 MB / 479.2 MB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.992e-05/0.3475, allocations: 11.88 kB / 479.2 MB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003346/0.3478, allocations: 144 kB / 479.4 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/0.348, allocations: 179.1 kB / 479.5 MB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007195/0.3552, allocations: 4.287 MB / 483.8 MB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0221/0.3773, allocations: 12.86 MB / 496.7 MB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/0.3814, allocations: 2.692 MB / 499.4 MB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/0.3847, allocations: 1.873 MB / 0.4895 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/0.385, allocations: 53.97 kB / 0.4895 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.441e-05/0.385, allocations: 60.56 kB / 0.4896 GB, free: 240 kB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 4.318e-06/0.385, allocations: 0 / 0.4896 GB, free: 240 kB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.0197/0.4047, allocations: 9.594 MB / 0.499 GB, free: 6.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.4048, allocations: 73.41 kB / 0.499 GB, free: 6.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/0.408, allocations: 2.179 MB / 0.5012 GB, free: 4.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001967/0.4082, allocations: 69.7 kB / 0.5012 GB, free: 4.254 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.4095, allocations: 1.66 MB / 0.5029 GB, free: 2.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007146/0.4102, allocations: 0.7669 MB / 0.5036 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006789/0.4109, allocations: 420.4 kB / 0.504 GB, free: 1.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.411, allocations: 305.1 kB / 0.5043 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.4131, allocations: 1.305 MB / 0.5056 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/0.4156, allocations: 1.782 MB / 0.5073 GB, free: 13.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004696/0.4203, allocations: 3.208 MB / 0.5104 GB, free: 10.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.4203, allocations: 4 kB / 0.5105 GB, free: 10.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007136/0.4274, allocations: 4.041 MB / 0.5144 GB, free: 6.344 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.4275, allocations: 8 kB / 0.5144 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.4275, allocations: 16.47 kB / 0.5144 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/0.4302, allocations: 0.8815 MB / 0.5153 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.4323, allocations: 0.5227 MB / 0.5158 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.4433, allocations: 9.005 MB / 0.5246 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.4451, allocations: 123.7 kB / 0.5247 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.4453, allocations: 91.98 kB / 0.5248 GB, free: 11.39 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.002015/0.4473, allocations: 1.208 MB / 0.526 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/0.4478, allocations: 258.4 kB / 0.5262 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006742/0.4546, allocations: 3.673 MB / 0.5298 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/0.4546, allocations: 24 kB / 0.5298 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.4546, allocations: 8 kB / 0.5298 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.162e-05/0.4547, allocations: 15.89 kB / 0.5299 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2027/0.6574, allocations: 7.098 MB / 0.5368 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/0.6574, allocations: 2.531 kB / 0.5368 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/0.6592, allocations: 392.1 kB / 0.5372 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003209/0.6624, allocations: 0.9231 MB / 0.5381 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002498/0.6627, allocations: 58.5 kB / 0.5381 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008996/0.6717, allocations: 10.48 MB / 0.5484 GB, free: 98.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.6717, allocations: 7.844 kB / 0.5484 GB, free: 98.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006867/0.6785, allocations: 5.479 MB / 0.5537 GB, free: 96.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/0.6801, allocations: 0.5363 MB / 0.5542 GB, free: 96.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003425/0.6804, allocations: 50.95 kB / 0.5543 GB, free: 96.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.6817, allocations: 119.8 kB / 0.5544 GB, free: 96.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/0.682, allocations: 186.5 kB / 0.5546 GB, free: 96.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.6822, allocations: 61.92 kB / 0.5546 GB, free: 96.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001684/0.6839, allocations: 1.486 MB / 0.5561 GB, free: 95.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6839, allocations: 0 / 0.5561 GB, free: 95.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001938/0.6858, allocations: 0.7919 MB / 0.5569 GB, free: 94.7 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.0004732/0.6863, allocations: 247.8 kB / 0.5571 GB, free: 94.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004549/0.6908, allocations: 3.61 MB / 0.5606 GB, free: 91.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6908, allocations: 4 kB / 0.5606 GB, free: 91.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002865/0.6937, allocations: 2.32 MB / 0.5629 GB, free: 88.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.6963, allocations: 0.6238 MB / 0.5635 GB, free: 88.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009556/0.7058, allocations: 7.831 MB / 0.5711 GB, free: 80.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.7075, allocations: 2.187 MB / 0.5733 GB, free: 78.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/0.7083, allocations: 175.4 kB / 0.5735 GB, free: 78.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/0.7083, allocations: 4 kB / 0.5735 GB, free: 78.04 MB / 446.1 MB Notification: Performance of Templates: time 0.124/0.8322, allocations: 140.8 MB / 0.711 GB, free: 1.195 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.201441593002528]