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.001957/0.001957, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002408/0.002408, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.49/1.49, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.002004/0.002004, allocations: 71.88 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2736, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01635/0.2899, allocations: 13.03 MB / 445.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009953/0.2999, allocations: 4.276 MB / 449.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/0.3025, allocations: 79.69 kB / 449.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.3054, allocations: 1.029 MB / 450.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.3095, allocations: 1.227 MB / 451.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.3108, allocations: 0.5421 MB / 452.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006114/0.317, allocations: 4.641 MB / 456.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003385/0.3203, allocations: 2.073 MB / 459 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004168/0.3245, allocations: 2.149 MB / 461.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004525/0.329, allocations: 2.623 MB / 463.8 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.3301, allocations: 0.5508 MB / 464.3 MB, free: 7.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.3317, allocations: 0.66 MB / 465 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.3333, allocations: 1.535 MB / 466.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003824/0.3371, allocations: 2.493 MB / 469 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009153/0.3463, allocations: 7.463 MB / 476.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3463, allocations: 3.938 kB / 476.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3463, allocations: 0 / 476.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000188/0.3465, allocations: 4 kB / 476.5 MB, free: 10.81 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.01217/0.3586, allocations: 4.819 MB / 481.3 MB, free: 5.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3587, allocations: 8.031 kB / 481.3 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.3606, allocations: 0.5487 MB / 481.8 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/0.3669, allocations: 2.612 MB / 484.5 MB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/0.3672, allocations: 263 kB / 484.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.3683, allocations: 355.9 kB / 485.1 MB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.3791, allocations: 5.036 MB / 490.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.62e-05/0.3792, allocations: 7.953 kB / 490.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004054/0.3796, allocations: 148 kB / 490.2 MB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/0.3798, allocations: 183 kB / 490.4 MB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008643/0.3884, allocations: 4.298 MB / 494.7 MB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/0.4163, allocations: 14.75 MB / 0.4975 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004997/0.4213, allocations: 4.061 MB / 0.5015 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003493/0.4248, allocations: 1.877 MB / 0.5033 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.4251, allocations: 131.1 kB / 0.5035 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.4251, allocations: 57.03 kB / 0.5035 GB, free: 2.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.637e-06/0.4251, allocations: 0 / 0.5035 GB, free: 2.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02131/0.4464, allocations: 9.993 MB / 0.5133 GB, free: 8.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.4465, allocations: 73.41 kB / 0.5133 GB, free: 8.613 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004337/0.4509, allocations: 2.526 MB / 0.5158 GB, free: 6.066 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.4511, allocations: 65.7 kB / 0.5159 GB, free: 5.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.4525, allocations: 1.654 MB / 0.5175 GB, free: 4.324 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008282/0.4534, allocations: 0.7746 MB / 0.5182 GB, free: 3.543 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007426/0.4541, allocations: 408.5 kB / 0.5186 GB, free: 3.137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4542, allocations: 309.1 kB / 0.5189 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.4564, allocations: 1.305 MB / 0.5202 GB, free: 1.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.4591, allocations: 1.775 MB / 0.5219 GB, free: 15.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004829/0.4639, allocations: 3.215 MB / 0.5251 GB, free: 12.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.4639, allocations: 7.938 kB / 0.5251 GB, free: 12.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007289/0.4712, allocations: 4.069 MB / 0.5291 GB, free: 8.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.4712, allocations: 14.97 kB / 0.5291 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.4712, allocations: 12.47 kB / 0.5291 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/0.4741, allocations: 0.8833 MB / 0.5299 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.4764, allocations: 0.5266 MB / 0.5305 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2332/0.7095, allocations: 9.462 MB / 0.5397 GB, free: 96.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.7117, allocations: 118.7 kB / 0.5398 GB, free: 96.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/0.7119, allocations: 93.67 kB / 0.5399 GB, free: 96.76 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.002106/0.714, allocations: 1.214 MB / 0.5411 GB, free: 96.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005983/0.7146, allocations: 292.8 kB / 0.5414 GB, free: 96.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005607/0.7202, allocations: 3.701 MB / 0.545 GB, free: 94.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.7202, allocations: 20.62 kB / 0.545 GB, free: 94.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.7202, allocations: 11.38 kB / 0.545 GB, free: 94.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.7202, allocations: 15.28 kB / 0.545 GB, free: 94.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.7317, allocations: 8.003 MB / 0.5528 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.7317, allocations: 3.812 kB / 0.5528 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.7333, allocations: 384.4 kB / 0.5532 GB, free: 91.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002762/0.736, allocations: 0.9254 MB / 0.5541 GB, free: 91.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/0.7362, allocations: 62.02 kB / 0.5542 GB, free: 91.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008785/0.745, allocations: 11.1 MB / 0.565 GB, free: 81.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.745, allocations: 4 kB / 0.565 GB, free: 81.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007164/0.7522, allocations: 5.498 MB / 0.5704 GB, free: 75.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/0.7538, allocations: 0.6511 MB / 0.571 GB, free: 75.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000518/0.7543, allocations: 51.98 kB / 0.5711 GB, free: 75.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.7558, allocations: 111.9 kB / 0.5712 GB, free: 75.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/0.7561, allocations: 181.7 kB / 0.5714 GB, free: 74.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.7562, allocations: 59.98 kB / 0.5714 GB, free: 74.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002031/0.7583, allocations: 1.743 MB / 0.5731 GB, free: 73.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7583, allocations: 0 / 0.5731 GB, free: 73.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002127/0.7604, allocations: 0.7968 MB / 0.5739 GB, free: 72.36 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.0005083/0.7609, allocations: 246.6 kB / 0.5741 GB, free: 72.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005009/0.7659, allocations: 3.772 MB / 0.5778 GB, free: 68.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7659, allocations: 0.75 kB / 0.5778 GB, free: 68.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003209/0.7691, allocations: 2.386 MB / 0.5801 GB, free: 65.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/0.7725, allocations: 0.7974 MB / 0.5809 GB, free: 65.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.7826, allocations: 7.911 MB / 0.5886 GB, free: 57.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/0.7845, allocations: 2.777 MB / 0.5914 GB, free: 54.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001872/0.7863, allocations: 0.6829 MB / 0.592 GB, free: 53.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.7869, allocations: 183.4 kB / 0.5922 GB, free: 53.44 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.7869, allocations: 0 / 0.5922 GB, free: 53.44 MB / 446.1 MB Notification: Performance of Templates: time 0.06246/0.8493, allocations: 45.9 MB / 0.637 GB, free: 8.09 MB / 446.1 MB " [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 -s cvode -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: 7.966037584934384]