Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.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.001794/0.001794, 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.002582/0.002582, allocations: 217.3 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.474/1.474, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.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.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.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.InductionMachines.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.002197/0.002197, allocations: 67.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3294, allocations: 53.31 MB / 432.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01687/0.3462, allocations: 13.01 MB / 445.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.3571, allocations: 4.276 MB / 449.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/0.3601, allocations: 83.62 kB / 449.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003518/0.3636, allocations: 1.029 MB / 450.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005259/0.3689, allocations: 1.231 MB / 451.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.3709, allocations: 0.5304 MB / 452.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007784/0.3787, allocations: 4.649 MB / 456.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003611/0.3823, allocations: 2.073 MB / 458.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004535/0.3868, allocations: 2.134 MB / 461.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005376/0.3922, allocations: 2.631 MB / 463.7 MB, free: 7.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001638/0.3938, allocations: 0.5508 MB / 464.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.396, allocations: 0.66 MB / 464.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002076/0.3981, allocations: 1.531 MB / 466.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005245/0.4033, allocations: 2.493 MB / 468.9 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.4151, allocations: 7.463 MB / 476.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4151, allocations: 3.938 kB / 476.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4151, allocations: 0 / 476.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002564/0.4154, allocations: 0 / 476.4 MB, free: 10.87 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.01397/0.4293, allocations: 4.819 MB / 481.2 MB, free: 5.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.4294, allocations: 16.02 kB / 481.2 MB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.4315, allocations: 0.5487 MB / 481.8 MB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007022/0.4386, allocations: 2.608 MB / 484.4 MB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002685/0.4388, allocations: 267 kB / 484.7 MB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008165/0.4397, allocations: 359.9 kB / 485 MB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.4499, allocations: 5.021 MB / 490 MB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.965e-05/0.45, allocations: 15.88 kB / 490 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003721/0.4504, allocations: 140 kB / 490.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002248/0.4506, allocations: 183 kB / 490.4 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008342/0.4589, allocations: 4.298 MB / 494.7 MB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02942/0.4884, allocations: 14.76 MB / 0.4975 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005172/0.4935, allocations: 4.065 MB / 0.5014 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/0.497, allocations: 1.881 MB / 0.5033 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/0.4973, allocations: 135 kB / 0.5034 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.4974, allocations: 56.56 kB / 0.5035 GB, free: 2.848 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.707e-06/0.4974, allocations: 0 / 0.5035 GB, free: 2.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02164/0.519, allocations: 9.985 MB / 0.5132 GB, free: 8.754 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.5191, allocations: 73.41 kB / 0.5133 GB, free: 8.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.5233, allocations: 2.518 MB / 0.5157 GB, free: 6.129 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003317/0.5236, allocations: 69.69 kB / 0.5158 GB, free: 6.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.5251, allocations: 1.658 MB / 0.5174 GB, free: 4.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009183/0.526, allocations: 0.7707 MB / 0.5182 GB, free: 3.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007646/0.5268, allocations: 416.5 kB / 0.5186 GB, free: 3.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5269, allocations: 305.1 kB / 0.5189 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.5292, allocations: 1.301 MB / 0.5201 GB, free: 1.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.5318, allocations: 1.775 MB / 0.5219 GB, free: 15.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004983/0.5368, allocations: 3.219 MB / 0.525 GB, free: 12.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.5368, allocations: 4 kB / 0.525 GB, free: 12.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007678/0.5444, allocations: 4.065 MB / 0.529 GB, free: 8.121 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.5445, allocations: 10.66 kB / 0.529 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.5445, allocations: 19.94 kB / 0.529 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003052/0.5476, allocations: 0.8838 MB / 0.5299 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.5502, allocations: 0.5188 MB / 0.5304 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.23/0.7802, allocations: 9.48 MB / 0.5397 GB, free: 96.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.7823, allocations: 124.2 kB / 0.5398 GB, free: 96.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.7824, allocations: 83.52 kB / 0.5398 GB, free: 96.91 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.001946/0.7844, allocations: 1.221 MB / 0.541 GB, free: 96.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005435/0.7849, allocations: 292.1 kB / 0.5413 GB, free: 96.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006147/0.7911, allocations: 3.7 MB / 0.5449 GB, free: 94.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.7911, allocations: 21.53 kB / 0.545 GB, free: 94.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.7911, allocations: 7.953 kB / 0.545 GB, free: 94.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.7911, allocations: 17.5 kB / 0.545 GB, free: 94.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.8037, allocations: 7.998 MB / 0.5528 GB, free: 91.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.8037, allocations: 0 / 0.5528 GB, free: 91.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/0.8052, allocations: 390.5 kB / 0.5532 GB, free: 91.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002744/0.808, allocations: 0.9223 MB / 0.5541 GB, free: 91.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.8081, allocations: 56.53 kB / 0.5541 GB, free: 91.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008615/0.8167, allocations: 11.11 MB / 0.565 GB, free: 81.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8167, allocations: 8 kB / 0.565 GB, free: 81.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007358/0.8241, allocations: 5.502 MB / 0.5703 GB, free: 75.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/0.8257, allocations: 0.6468 MB / 0.571 GB, free: 75.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004455/0.8262, allocations: 51.98 kB / 0.571 GB, free: 75.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.8275, allocations: 119.9 kB / 0.5711 GB, free: 75.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000361/0.8279, allocations: 181.7 kB / 0.5713 GB, free: 75.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.828, allocations: 63.98 kB / 0.5714 GB, free: 74.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001985/0.83, allocations: 1.739 MB / 0.5731 GB, free: 73.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.83, allocations: 0 / 0.5731 GB, free: 73.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002095/0.8321, allocations: 0.8011 MB / 0.5739 GB, free: 72.41 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.0005205/0.8326, allocations: 240.3 kB / 0.5741 GB, free: 72.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004871/0.8375, allocations: 3.773 MB / 0.5778 GB, free: 68.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.8375, allocations: 0 / 0.5778 GB, free: 68.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003123/0.8406, allocations: 2.39 MB / 0.5801 GB, free: 65.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/0.8442, allocations: 0.7865 MB / 0.5809 GB, free: 65.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.8546, allocations: 7.907 MB / 0.5886 GB, free: 57.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/0.8564, allocations: 2.781 MB / 0.5913 GB, free: 54.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001804/0.8582, allocations: 0.6829 MB / 0.592 GB, free: 53.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.8587, allocations: 183.1 kB / 0.5921 GB, free: 53.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8587, allocations: 0 / 0.5921 GB, free: 53.5 MB / 446.1 MB Notification: Performance of Templates: time 0.06203/0.9207, allocations: 45.9 MB / 0.637 GB, free: 8.148 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.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.128022137098014]