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.001896/0.001896, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002493/0.002493, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.55/1.55, allocations: 230.3 MB / 258 MB, free: 8.207 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.002149/0.002149, allocations: 67.83 kB / 378.8 MB, free: 2.734 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2724, allocations: 53.37 MB / 432.1 MB, free: 7.07 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01602/0.2884, allocations: 13.03 MB / 445.2 MB, free: 9.988 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009084/0.2975, allocations: 4.291 MB / 449.5 MB, free: 5.688 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.2996, allocations: 99.38 kB / 449.6 MB, free: 5.59 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00333/0.3029, allocations: 1.029 MB / 450.6 MB, free: 4.555 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004505/0.3074, allocations: 1.255 MB / 451.9 MB, free: 3.293 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.309, allocations: 0.5537 MB / 452.4 MB, free: 2.738 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006633/0.3156, allocations: 4.688 MB / 457.1 MB, free: 14.03 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.004334/0.3199, allocations: 2.074 MB / 459.2 MB, free: 11.89 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.005143/0.3251, allocations: 2.194 MB / 461.4 MB, free: 9.699 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005573/0.3306, allocations: 2.647 MB / 464 MB, free: 7.043 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001915/0.3326, allocations: 0.5547 MB / 464.6 MB, free: 6.488 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.3351, allocations: 0.66 MB / 465.2 MB, free: 5.828 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002858/0.338, allocations: 1.547 MB / 466.8 MB, free: 4.277 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.005422/0.3434, allocations: 2.493 MB / 469.3 MB, free: 1.773 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01182/0.3552, allocations: 7.49 MB / 476.8 MB, free: 10.26 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3552, allocations: 0 / 476.8 MB, free: 10.26 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.293e-06/0.3552, allocations: 3.938 kB / 476.8 MB, free: 10.25 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 0.0002408/0.3555, allocations: 0 / 476.8 MB, free: 10.25 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.01301/0.3685, allocations: 4.756 MB / 481.5 MB, free: 5.441 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3685, allocations: 8.031 kB / 481.5 MB, free: 5.434 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.3703, allocations: 0.5526 MB / 482.1 MB, free: 4.879 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005154/0.3755, allocations: 2.544 MB / 484.6 MB, free: 2.266 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.3757, allocations: 271.4 kB / 484.9 MB, free: 2 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000638/0.3763, allocations: 355.9 kB / 485.2 MB, free: 1.652 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.009138/0.3855, allocations: 5.056 MB / 490.3 MB, free: 12.53 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.27e-05/0.3856, allocations: 4 kB / 490.3 MB, free: 12.53 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003536/0.3859, allocations: 148 kB / 490.4 MB, free: 12.38 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002154/0.3861, allocations: 195.1 kB / 490.6 MB, free: 12.19 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007976/0.3941, allocations: 4.31 MB / 494.9 MB, free: 7.875 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02773/0.4218, allocations: 14.94 MB / 0.4979 GB, free: 8.516 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004583/0.4264, allocations: 2.702 MB / 0.5006 GB, free: 5.848 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003407/0.4298, allocations: 1.866 MB / 0.5024 GB, free: 3.988 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/0.4301, allocations: 57.97 kB / 0.5024 GB, free: 3.93 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.062e-05/0.4302, allocations: 56.55 kB / 0.5025 GB, free: 3.867 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=198): time 3.577e-06/0.4302, allocations: 0 / 0.5025 GB, free: 3.867 MB / 414.1 MB
Notification: Performance of matching and sorting (n=218): time 0.02284/0.453, allocations: 9.619 MB / 0.5119 GB, free: 10.23 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.4531, allocations: 81.34 kB / 0.512 GB, free: 10.14 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004321/0.4574, allocations: 2.514 MB / 0.5144 GB, free: 7.605 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0004094/0.4578, allocations: 65.7 kB / 0.5145 GB, free: 7.535 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.4593, allocations: 1.67 MB / 0.5161 GB, free: 5.848 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0009331/0.4602, allocations: 0.7708 MB / 0.5169 GB, free: 5.07 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000748/0.461, allocations: 420.4 kB / 0.5173 GB, free: 4.652 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001331/0.4611, allocations: 305.1 kB / 0.5176 GB, free: 4.352 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/0.4634, allocations: 1.305 MB / 0.5188 GB, free: 3.043 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.4661, allocations: 1.778 MB / 0.5206 GB, free: 1.078 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005101/0.4712, allocations: 3.208 MB / 0.5237 GB, free: 13.68 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.4712, allocations: 4 kB / 0.5237 GB, free: 13.68 MB / 446.1 MB
Notification: Performance of matching and sorting (n=295) (initialization): time 0.007924/0.4791, allocations: 4.069 MB / 0.5277 GB, free: 9.586 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.4792, allocations: 15.94 kB / 0.5277 GB, free: 9.57 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-05/0.4792, allocations: 12 kB / 0.5277 GB, free: 9.559 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003043/0.4823, allocations: 0.8833 MB / 0.5286 GB, free: 8.664 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/0.4847, allocations: 0.5266 MB / 0.5291 GB, free: 8.137 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2642/0.7489, allocations: 9.159 MB / 0.538 GB, free: 96.4 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.7512, allocations: 120.1 kB / 0.5381 GB, free: 96.4 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/0.7515, allocations: 87 kB / 0.5382 GB, free: 96.4 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.002278/0.7538, allocations: 1.22 MB / 0.5394 GB, free: 96.29 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006558/0.7544, allocations: 294.9 kB / 0.5397 GB, free: 96.29 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006279/0.7607, allocations: 3.698 MB / 0.5433 GB, free: 95.14 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.7607, allocations: 21.53 kB / 0.5433 GB, free: 95.14 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.7608, allocations: 6.875 kB / 0.5433 GB, free: 95.14 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.7608, allocations: 12.34 kB / 0.5433 GB, free: 95.14 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/0.7725, allocations: 8.009 MB / 0.5512 GB, free: 92.07 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.7725, allocations: 0 / 0.5512 GB, free: 92.07 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.774, allocations: 392.3 kB / 0.5515 GB, free: 92.04 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/0.7767, allocations: 0.9216 MB / 0.5524 GB, free: 91.83 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/0.7769, allocations: 58.22 kB / 0.5525 GB, free: 91.8 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008998/0.7859, allocations: 10.69 MB / 0.5629 GB, free: 82.89 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7859, allocations: 4 kB / 0.5629 GB, free: 82.89 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007284/0.7932, allocations: 5.517 MB / 0.5683 GB, free: 77.46 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.002107/0.7953, allocations: 0.5795 MB / 0.5689 GB, free: 77.02 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005716/0.7958, allocations: 44.33 kB / 0.5689 GB, free: 76.97 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.7973, allocations: 115.9 kB / 0.569 GB, free: 76.86 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004286/0.7977, allocations: 189.6 kB / 0.5692 GB, free: 76.67 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.7978, allocations: 59.98 kB / 0.5693 GB, free: 76.61 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.002142/0.8, allocations: 1.739 MB / 0.571 GB, free: 74.86 MB / 446.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.8, allocations: 0 / 0.571 GB, free: 74.86 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.002562/0.8025, allocations: 0.8066 MB / 0.5718 GB, free: 74.06 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.000582/0.8031, allocations: 245.3 kB / 0.572 GB, free: 73.83 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.005225/0.8083, allocations: 3.614 MB / 0.5755 GB, free: 70.18 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.8083, allocations: 4.062 kB / 0.5755 GB, free: 70.17 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00313/0.8115, allocations: 2.31 MB / 0.5778 GB, free: 67.8 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003781/0.8153, allocations: 0.79 MB / 0.5786 GB, free: 67.03 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.827, allocations: 7.933 MB / 0.5863 GB, free: 59.07 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/0.8288, allocations: 2.786 MB / 0.589 GB, free: 56.26 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.00192/0.8308, allocations: 0.6868 MB / 0.5897 GB, free: 55.57 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.8313, allocations: 175.4 kB / 0.5899 GB, free: 55.39 MB / 446.1 MB
Notification: Performance of SimCode: time 1.724e-06/0.8313, allocations: 0 / 0.5899 GB, free: 55.39 MB / 446.1 MB
Notification: Performance of Templates: time 0.0645/0.8958, allocations: 46.71 MB / 0.6355 GB, free: 9.176 MB / 446.1 MB
"
[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/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_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: 7.978722581639886]