Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 47.91 kB / 378.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2864, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01596/0.3023, allocations: 11.33 MB / 443 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00887/0.3112, allocations: 4.039 MB / 447 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.3133, allocations: 103.3 kB / 447.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.316, allocations: 0.9588 MB / 448.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.3197, allocations: 1.255 MB / 449.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.321, allocations: 0.5227 MB / 449.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005864/0.3268, allocations: 4.66 MB / 454.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003336/0.3302, allocations: 2.07 MB / 456.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.3342, allocations: 2.203 MB / 458.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004232/0.3384, allocations: 2.627 MB / 461.4 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.3395, allocations: 0.5547 MB / 461.9 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.3411, allocations: 0.6521 MB / 462.6 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001558/0.3426, allocations: 1.535 MB / 464.1 MB, free: 6.062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002867/0.3455, allocations: 2.015 MB / 466.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009174/0.3547, allocations: 7.505 MB / 473.7 MB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.3547, allocations: 3.984 kB / 473.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3547, allocations: 4 kB / 473.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002217/0.3549, allocations: 0 / 473.7 MB, free: 12.5 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.01058/0.3655, allocations: 4.744 MB / 478.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3655, allocations: 8.031 kB / 478.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.3671, allocations: 0.5526 MB / 479 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005439/0.3726, allocations: 2.544 MB / 481.5 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.3728, allocations: 267 kB / 481.8 MB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006806/0.3735, allocations: 351.9 kB / 482.1 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00924/0.3827, allocations: 5.283 MB / 487.4 MB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.035e-05/0.3828, allocations: 11.95 kB / 487.4 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003362/0.3832, allocations: 144 kB / 487.5 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.3833, allocations: 183.1 kB / 487.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007379/0.3907, allocations: 4.287 MB / 492 MB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02554/0.4163, allocations: 12.86 MB / 0.493 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/0.4208, allocations: 2.696 MB / 0.4957 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003405/0.4242, allocations: 1.87 MB / 0.4975 GB, free: 8.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.4245, allocations: 57.95 kB / 0.4976 GB, free: 8.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.4246, allocations: 52.56 kB / 0.4976 GB, free: 8.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.709e-06/0.4246, allocations: 0 / 0.4976 GB, free: 8.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02136/0.4459, allocations: 9.591 MB / 0.507 GB, free: 14.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.446, allocations: 73.41 kB / 0.507 GB, free: 14.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004164/0.4502, allocations: 2.199 MB / 0.5092 GB, free: 12.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002284/0.4504, allocations: 61.7 kB / 0.5092 GB, free: 12.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.4518, allocations: 1.676 MB / 0.5109 GB, free: 10.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008069/0.4526, allocations: 0.763 MB / 0.5116 GB, free: 9.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008194/0.4534, allocations: 416.5 kB / 0.512 GB, free: 9.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4535, allocations: 305.1 kB / 0.5123 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/0.4558, allocations: 1.301 MB / 0.5136 GB, free: 7.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/0.4584, allocations: 1.782 MB / 0.5153 GB, free: 5.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004911/0.4633, allocations: 3.208 MB / 0.5185 GB, free: 2.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.4634, allocations: 4 kB / 0.5185 GB, free: 2.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007396/0.4708, allocations: 4.049 MB / 0.5224 GB, free: 14.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.4708, allocations: 10.81 kB / 0.5224 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/0.4708, allocations: 16 kB / 0.5224 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/0.4737, allocations: 0.8822 MB / 0.5233 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/0.476, allocations: 0.5227 MB / 0.5238 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.4874, allocations: 9.008 MB / 0.5326 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/0.4897, allocations: 119.8 kB / 0.5327 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/0.49, allocations: 91.98 kB / 0.5328 GB, free: 3.184 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.002406/0.4924, allocations: 1.212 MB / 0.534 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006714/0.493, allocations: 262.4 kB / 0.5342 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2545/0.7475, allocations: 3.67 MB / 0.5378 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.7476, allocations: 25.03 kB / 0.5379 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.7476, allocations: 7.688 kB / 0.5379 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/0.7476, allocations: 12.02 kB / 0.5379 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.7606, allocations: 7.105 MB / 0.5448 GB, free: 97.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.7606, allocations: 3.875 kB / 0.5448 GB, free: 97.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/0.7621, allocations: 386 kB / 0.5452 GB, free: 97.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/0.7648, allocations: 0.9218 MB / 0.5461 GB, free: 97.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/0.765, allocations: 51.2 kB / 0.5461 GB, free: 97.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008665/0.7736, allocations: 10.49 MB / 0.5564 GB, free: 89.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.7736, allocations: 4 kB / 0.5564 GB, free: 89.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007128/0.7807, allocations: 5.492 MB / 0.5617 GB, free: 83.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/0.7825, allocations: 0.5415 MB / 0.5623 GB, free: 83.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/0.7829, allocations: 55.97 kB / 0.5623 GB, free: 83.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.7842, allocations: 114.6 kB / 0.5624 GB, free: 83.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003906/0.7846, allocations: 185.6 kB / 0.5626 GB, free: 83.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.7847, allocations: 59.98 kB / 0.5627 GB, free: 82.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001849/0.7866, allocations: 1.493 MB / 0.5641 GB, free: 81.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7866, allocations: 0 / 0.5641 GB, free: 81.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0022/0.7888, allocations: 0.7935 MB / 0.5649 GB, free: 80.68 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.0005302/0.7893, allocations: 241.2 kB / 0.5651 GB, free: 80.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00475/0.794, allocations: 3.606 MB / 0.5687 GB, free: 76.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.794, allocations: 0 / 0.5687 GB, free: 76.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003006/0.797, allocations: 2.318 MB / 0.5709 GB, free: 74.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.7999, allocations: 0.6397 MB / 0.5715 GB, free: 73.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.8123, allocations: 7.838 MB / 0.5792 GB, free: 65.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002012/0.8143, allocations: 2.239 MB / 0.5814 GB, free: 63.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001972/0.8162, allocations: 0.6452 MB / 0.582 GB, free: 63.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/0.8167, allocations: 167.4 kB / 0.5822 GB, free: 62.89 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.8167, allocations: 0 / 0.5822 GB, free: 62.89 MB / 446.1 MB Notification: Performance of Templates: time 0.06158/0.8783, allocations: 45.86 MB / 0.627 GB, free: 17.65 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 8.030617590993643]