Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001365/0.001365, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001603/0.001603, allocations: 217 kB / 24.5 MB, free: 4.133 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.459/1.459, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.89 kB / 379.1 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2656, allocations: 53.41 MB / 432.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01673/0.2823, allocations: 13.04 MB / 445.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009423/0.2918, allocations: 4.287 MB / 449.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.294, allocations: 103.3 kB / 449.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.2972, allocations: 1.033 MB / 450.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.3019, allocations: 1.251 MB / 452.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.3037, allocations: 0.5461 MB / 452.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006918/0.3106, allocations: 4.692 MB / 457.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00383/0.3144, allocations: 2.078 MB / 459.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004198/0.3186, allocations: 2.194 MB / 461.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00448/0.3231, allocations: 2.639 MB / 464.3 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.3244, allocations: 0.5547 MB / 464.9 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.3262, allocations: 0.6639 MB / 465.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.3283, allocations: 1.539 MB / 467.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00358/0.3319, allocations: 2.501 MB / 469.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008848/0.3408, allocations: 7.486 MB / 477.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3408, allocations: 0 / 477.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3408, allocations: 3.938 kB / 477.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001498/0.3409, allocations: 0 / 477.1 MB, free: 9.938 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01069/0.3516, allocations: 4.763 MB / 481.8 MB, free: 5.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3517, allocations: 8.031 kB / 481.8 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.3533, allocations: 0.5487 MB / 482.4 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006061/0.3594, allocations: 2.552 MB / 484.9 MB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003525/0.3597, allocations: 263.4 kB / 485.2 MB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009565/0.3607, allocations: 359.9 kB / 485.6 MB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009783/0.3705, allocations: 5.056 MB / 490.6 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.563e-05/0.3706, allocations: 7.938 kB / 490.6 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003516/0.3709, allocations: 148 kB / 490.8 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002238/0.3711, allocations: 191.1 kB / 490.9 MB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00849/0.3796, allocations: 4.31 MB / 495.3 MB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02739/0.407, allocations: 14.94 MB / 0.4982 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.4115, allocations: 2.694 MB / 0.5009 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003364/0.4149, allocations: 1.877 MB / 0.5027 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/0.4152, allocations: 61.94 kB / 0.5028 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.4152, allocations: 56.56 kB / 0.5028 GB, free: 3.535 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.947e-06/0.4152, allocations: 0 / 0.5028 GB, free: 3.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02083/0.4361, allocations: 9.623 MB / 0.5122 GB, free: 9.898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.4361, allocations: 73.41 kB / 0.5123 GB, free: 9.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004115/0.4403, allocations: 2.518 MB / 0.5147 GB, free: 7.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002638/0.4405, allocations: 61.7 kB / 0.5148 GB, free: 7.207 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.442, allocations: 1.666 MB / 0.5164 GB, free: 5.523 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008108/0.4428, allocations: 0.7669 MB / 0.5172 GB, free: 4.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007347/0.4435, allocations: 420.4 kB / 0.5176 GB, free: 4.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4437, allocations: 309.1 kB / 0.5179 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.4459, allocations: 1.304 MB / 0.5191 GB, free: 2.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/0.4485, allocations: 1.778 MB / 0.5209 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004886/0.4534, allocations: 3.215 MB / 0.524 GB, free: 13.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.4534, allocations: 4 kB / 0.524 GB, free: 13.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007481/0.4609, allocations: 4.069 MB / 0.528 GB, free: 9.254 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.4609, allocations: 8 kB / 0.528 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.4609, allocations: 12 kB / 0.528 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002967/0.4639, allocations: 0.8796 MB / 0.5289 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/0.4661, allocations: 0.5265 MB / 0.5294 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1968/0.6629, allocations: 9.158 MB / 0.5383 GB, free: 96.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.6649, allocations: 120.9 kB / 0.5385 GB, free: 96.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002347/0.6651, allocations: 85.95 kB / 0.5385 GB, free: 96.34 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.001978/0.6671, allocations: 1.222 MB / 0.5397 GB, free: 96.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005766/0.6677, allocations: 291.7 kB / 0.54 GB, free: 96.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005776/0.6734, allocations: 3.705 MB / 0.5436 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.6735, allocations: 21.12 kB / 0.5436 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.6735, allocations: 8.719 kB / 0.5437 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.6735, allocations: 12.48 kB / 0.5437 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.6861, allocations: 8.004 MB / 0.5515 GB, free: 91.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.6861, allocations: 0 / 0.5515 GB, free: 91.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.6876, allocations: 384.9 kB / 0.5519 GB, free: 91.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002776/0.6904, allocations: 0.9393 MB / 0.5528 GB, free: 91.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/0.6906, allocations: 51.23 kB / 0.5528 GB, free: 91.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008751/0.6993, allocations: 10.7 MB / 0.5633 GB, free: 82.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6994, allocations: 0 / 0.5633 GB, free: 82.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006985/0.7063, allocations: 5.508 MB / 0.5686 GB, free: 76.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/0.708, allocations: 0.5765 MB / 0.5692 GB, free: 76.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000458/0.7084, allocations: 51.98 kB / 0.5693 GB, free: 76.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.7098, allocations: 111.9 kB / 0.5694 GB, free: 76.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/0.7102, allocations: 189.6 kB / 0.5695 GB, free: 76.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.7103, allocations: 59.98 kB / 0.5696 GB, free: 76.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002166/0.7125, allocations: 1.739 MB / 0.5713 GB, free: 74.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7125, allocations: 4 kB / 0.5713 GB, free: 74.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002243/0.7147, allocations: 0.8027 MB / 0.5721 GB, free: 73.57 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.0005031/0.7152, allocations: 238.2 kB / 0.5723 GB, free: 73.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004811/0.72, allocations: 3.624 MB / 0.5759 GB, free: 69.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7201, allocations: 4 kB / 0.5759 GB, free: 69.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003096/0.7231, allocations: 2.303 MB / 0.5781 GB, free: 67.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/0.7263, allocations: 0.7811 MB / 0.5789 GB, free: 66.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.7368, allocations: 7.945 MB / 0.5866 GB, free: 58.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/0.7386, allocations: 2.727 MB / 0.5893 GB, free: 55.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008838/0.7395, allocations: 191.4 kB / 0.5895 GB, free: 55.63 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7395, allocations: 0 / 0.5895 GB, free: 55.63 MB / 446.1 MB Notification: Performance of Templates: time 0.1485/0.888, allocations: 143.1 MB / 0.7292 GB, free: 8.477 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 17.950706843985245]