Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.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.001779/0.001779, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002304/0.002304, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.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_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_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 43.92 kB / 378.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3104, allocations: 53.36 MB / 431.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01629/0.3267, allocations: 13 MB / 444.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008526/0.3352, allocations: 4.292 MB / 448.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.3369, allocations: 99.38 kB / 449 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.3393, allocations: 1.029 MB / 450.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.3426, allocations: 1.247 MB / 451.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.3438, allocations: 0.5305 MB / 451.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006367/0.3502, allocations: 4.657 MB / 456.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003109/0.3533, allocations: 2.07 MB / 458.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004131/0.3575, allocations: 2.183 MB / 460.7 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004669/0.3621, allocations: 2.631 MB / 463.4 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.3632, allocations: 0.5547 MB / 463.9 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.3648, allocations: 0.66 MB / 464.6 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.3664, allocations: 1.539 MB / 466.1 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003354/0.3698, allocations: 2.489 MB / 468.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009352/0.3791, allocations: 7.463 MB / 476.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.3792, allocations: 0 / 476.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3792, allocations: 3.938 kB / 476.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000195/0.3793, allocations: 4 kB / 476.1 MB, free: 10.24 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.0119/0.3912, allocations: 4.744 MB / 480.8 MB, free: 5.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3913, allocations: 8.031 kB / 480.8 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.3931, allocations: 0.5487 MB / 481.4 MB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005269/0.3983, allocations: 2.552 MB / 483.9 MB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.3986, allocations: 259.1 kB / 484.2 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005971/0.3992, allocations: 355.9 kB / 484.5 MB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009035/0.4082, allocations: 5.025 MB / 489.6 MB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-05/0.4083, allocations: 11.89 kB / 489.6 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/0.4086, allocations: 144 kB / 489.7 MB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000191/0.4088, allocations: 183 kB / 489.9 MB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007716/0.4165, allocations: 4.298 MB / 494.2 MB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02634/0.4429, allocations: 14.59 MB / 0.4969 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/0.4472, allocations: 2.702 MB / 0.4995 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/0.4506, allocations: 1.881 MB / 0.5013 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.4508, allocations: 57.94 kB / 0.5014 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.4509, allocations: 56.56 kB / 0.5014 GB, free: 4.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.516e-06/0.4509, allocations: 0 / 0.5014 GB, free: 4.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02131/0.4722, allocations: 9.613 MB / 0.5108 GB, free: 10.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.4723, allocations: 81.34 kB / 0.5109 GB, free: 10.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/0.4764, allocations: 2.514 MB / 0.5134 GB, free: 8.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002707/0.4767, allocations: 61.7 kB / 0.5134 GB, free: 8.012 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.4782, allocations: 1.662 MB / 0.5151 GB, free: 6.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007937/0.479, allocations: 0.763 MB / 0.5158 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007249/0.4797, allocations: 416.5 kB / 0.5162 GB, free: 5.148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4798, allocations: 309.1 kB / 0.5165 GB, free: 4.844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.482, allocations: 1.297 MB / 0.5178 GB, free: 3.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/0.4857, allocations: 1.778 MB / 0.5195 GB, free: 1.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007689/0.4934, allocations: 3.216 MB / 0.5226 GB, free: 14.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/0.4934, allocations: 7.938 kB / 0.5226 GB, free: 14.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01264/0.506, allocations: 4.069 MB / 0.5266 GB, free: 10.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.5061, allocations: 8 kB / 0.5266 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.139e-05/0.5061, allocations: 12.47 kB / 0.5266 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004596/0.5107, allocations: 0.89 MB / 0.5275 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004136/0.5148, allocations: 0.5227 MB / 0.528 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2391/0.754, allocations: 9.171 MB / 0.537 GB, free: 96.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.7562, allocations: 117.6 kB / 0.5371 GB, free: 96.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/0.7565, allocations: 90.05 kB / 0.5372 GB, free: 96.36 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.002445/0.7589, allocations: 1.216 MB / 0.5384 GB, free: 96.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006552/0.7596, allocations: 287.6 kB / 0.5386 GB, free: 96.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005927/0.7655, allocations: 3.699 MB / 0.5422 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.7655, allocations: 27.94 kB / 0.5423 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.7655, allocations: 6.375 kB / 0.5423 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.668e-05/0.7656, allocations: 10.41 kB / 0.5423 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.777, allocations: 7.997 MB / 0.5501 GB, free: 92.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.777, allocations: 6.094 kB / 0.5501 GB, free: 92.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/0.7785, allocations: 388.3 kB / 0.5505 GB, free: 92.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002724/0.7812, allocations: 0.9288 MB / 0.5514 GB, free: 91.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.7813, allocations: 47.7 kB / 0.5514 GB, free: 91.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008567/0.7899, allocations: 10.69 MB / 0.5619 GB, free: 83.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.7899, allocations: 4 kB / 0.5619 GB, free: 83.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006865/0.7968, allocations: 5.506 MB / 0.5672 GB, free: 77.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/0.7983, allocations: 0.5773 MB / 0.5678 GB, free: 77.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/0.7987, allocations: 55.16 kB / 0.5679 GB, free: 77.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.8001, allocations: 119.8 kB / 0.568 GB, free: 77.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003548/0.8004, allocations: 185.7 kB / 0.5681 GB, free: 77.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.8005, allocations: 55.98 kB / 0.5682 GB, free: 76.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002007/0.8025, allocations: 1.743 MB / 0.5699 GB, free: 75.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8025, allocations: 0 / 0.5699 GB, free: 75.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002027/0.8046, allocations: 0.8007 MB / 0.5707 GB, free: 74.43 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.0004759/0.805, allocations: 239.7 kB / 0.5709 GB, free: 74.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004578/0.8096, allocations: 3.622 MB / 0.5744 GB, free: 70.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8096, allocations: 4.062 kB / 0.5745 GB, free: 70.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002923/0.8126, allocations: 2.314 MB / 0.5767 GB, free: 68.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.8155, allocations: 0.7929 MB / 0.5775 GB, free: 67.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009769/0.8253, allocations: 7.898 MB / 0.5852 GB, free: 59.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/0.8271, allocations: 2.785 MB / 0.5879 GB, free: 56.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001732/0.8288, allocations: 0.679 MB / 0.5886 GB, free: 55.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.8293, allocations: 183.4 kB / 0.5888 GB, free: 55.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.8293, allocations: 0 / 0.5888 GB, free: 55.8 MB / 446.1 MB Notification: Performance of Templates: time 0.06589/0.8952, allocations: 46.7 MB / 0.6344 GB, free: 9.695 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.041742800036445]