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.001847/0.001847, allocations: 122 kB / 18.51 MB, free: 4.617 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.002272/0.002272, allocations: 211.4 kB / 21.46 MB, free: 1.668 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.557/1.557, allocations: 230.2 MB / 254.5 MB, free: 15.09 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.001952/0.001952, allocations: 67.88 kB / 373.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1035, allocations: 53.32 MB / 427.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.2087/0.3122, allocations: 12.99 MB / 440.2 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007614/0.3198, allocations: 4.29 MB / 444.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.3225, allocations: 79.75 kB / 444.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.3258, allocations: 1.031 MB / 445.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005668/0.3314, allocations: 1.239 MB / 446.8 MB, free: 388 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.3336, allocations: 0.5298 MB / 447.4 MB, free: 40 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01059/0.3442, allocations: 4.689 MB / 452 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007215/0.3514, allocations: 2.693 MB / 454.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006574/0.358, allocations: 2.159 MB / 456.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006388/0.3643, allocations: 2.644 MB / 459.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.3668, allocations: 0.5532 MB / 460.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004129/0.3709, allocations: 0.6557 MB / 460.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003649/0.3745, allocations: 1.539 MB / 462.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007782/0.3823, allocations: 2.501 MB / 464.8 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01502/0.3973, allocations: 7.483 MB / 472.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3973, allocations: 0 / 472.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3973, allocations: 0 / 472.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000265/0.3976, allocations: 0 / 472.3 MB, free: 2.059 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.01642/0.414, allocations: 4.841 MB / 477.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.4141, allocations: 13.34 kB / 477.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.4176, allocations: 0.5456 MB / 477.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007273/0.4248, allocations: 2.616 MB / 480.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002663/0.4251, allocations: 267.6 kB / 480.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.4264, allocations: 358 kB / 480.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.4377, allocations: 5.056 MB / 486 MB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.4379, allocations: 7.938 kB / 486 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000714/0.4386, allocations: 144 kB / 486.1 MB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002527/0.4388, allocations: 199.1 kB / 486.3 MB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.4489, allocations: 4.31 MB / 490.6 MB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04007/0.4889, allocations: 15.11 MB / 0.4939 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007761/0.4967, allocations: 4.051 MB / 0.4978 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005176/0.5019, allocations: 1.873 MB / 0.4997 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/0.5023, allocations: 135 kB / 0.4998 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/0.5024, allocations: 64.56 kB / 0.4998 GB, free: 11.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 6.031e-06/0.5024, allocations: 0 / 0.4998 GB, free: 11.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02826/0.5306, allocations: 9.997 MB / 0.5096 GB, free: 1.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.5307, allocations: 77.41 kB / 0.5097 GB, free: 1.129 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006213/0.5369, allocations: 2.526 MB / 0.5121 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004689/0.5374, allocations: 61.7 kB / 0.5122 GB, free: 14.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001996/0.5394, allocations: 1.666 MB / 0.5138 GB, free: 12.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/0.5406, allocations: 0.7591 MB / 0.5146 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.5417, allocations: 424.4 kB / 0.515 GB, free: 11.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.5418, allocations: 301.1 kB / 0.5153 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/0.5449, allocations: 1.297 MB / 0.5165 GB, free: 10.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/0.548, allocations: 1.79 MB / 0.5183 GB, free: 8.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005071/0.553, allocations: 3.211 MB / 0.5214 GB, free: 4.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.553, allocations: 4 kB / 0.5214 GB, free: 4.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007497/0.5605, allocations: 4.069 MB / 0.5254 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.5606, allocations: 12 kB / 0.5254 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.221e-05/0.5606, allocations: 12 kB / 0.5254 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002883/0.5635, allocations: 0.8768 MB / 0.5263 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.5657, allocations: 0.5304 MB / 0.5268 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.577, allocations: 9.481 MB / 0.536 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.5795, allocations: 119.9 kB / 0.5362 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.5797, allocations: 92 kB / 0.5363 GB, free: 5.023 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.002417/0.5822, allocations: 1.215 MB / 0.5374 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006946/0.5829, allocations: 294.1 kB / 0.5377 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006713/0.5896, allocations: 3.695 MB / 0.5413 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.5896, allocations: 23.94 kB / 0.5414 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.5896, allocations: 8 kB / 0.5414 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.5896, allocations: 19.83 kB / 0.5414 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.6053, allocations: 8.01 MB / 0.5492 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.6053, allocations: 4 kB / 0.5492 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/0.6072, allocations: 383.8 kB / 0.5496 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003273/0.6104, allocations: 0.9291 MB / 0.5505 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003612/0.6108, allocations: 59.97 kB / 0.5505 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/0.624, allocations: 11.11 MB / 0.5614 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.624, allocations: 4 kB / 0.5614 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009813/0.6338, allocations: 5.498 MB / 0.5668 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/0.6358, allocations: 0.6514 MB / 0.5674 GB, free: 4.312 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006535/0.6364, allocations: 51.98 kB / 0.5674 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.6379, allocations: 115.9 kB / 0.5675 GB, free: 4.148 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004906/0.6384, allocations: 181.7 kB / 0.5677 GB, free: 3.969 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/0.6386, allocations: 59.98 kB / 0.5678 GB, free: 3.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003058/0.6417, allocations: 1.739 MB / 0.5695 GB, free: 2.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6417, allocations: 0 / 0.5695 GB, free: 2.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003206/0.6449, allocations: 0.7968 MB / 0.5703 GB, free: 1.363 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.0006887/0.6455, allocations: 242.9 kB / 0.5705 GB, free: 1.125 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006896/0.6524, allocations: 3.767 MB / 0.5742 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.6524, allocations: 256 / 0.5742 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00448/0.6569, allocations: 2.389 MB / 0.5765 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/0.6616, allocations: 0.797 MB / 0.5773 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.6772, allocations: 7.887 MB / 0.585 GB, free: 2.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00317/0.6803, allocations: 2.786 MB / 0.5877 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002386/0.6827, allocations: 0.6868 MB / 0.5884 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006805/0.6834, allocations: 179.4 kB / 0.5885 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/0.6834, allocations: 0 / 0.5885 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.315/0.9984, allocations: 45.24 MB / 0.6327 GB, free: 163.9 MB / 0.5137 GB " [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.045256943441927]